block[speedtest]: Use networkquality-rs#2248
Conversation
|
@snaeil feel free to provide your feedback! |
|
@bim9262 I am not yet familiar with the repo but overall looks good to me. Since the commit message is almost conventional I would how you deal with breaking changes here and whether there's a need to make this clear somewhere |
|
@snaeil , I assume you're refering to the addition of |
|
I've reached out in cloudflare/networkquality-rs#38 to see if it's possible for the crates to be published to crates.io instead of pulling directly from github. |
f3bdedb to
61c434d
Compare
The speedtest block was using speedtest-cli (https://github.com/sivel/speedtest-cli) which has been become archived and is no longer maintained. This commit replaces speedtest-cli with networkquality-rs (https://github.com/cloudflare/networkquality-rs). Resolves greshake#2245
|
@ammgws, I know that we generally don't like having git repos as a source for a crate. As this this crate won't be used as another source by another crate do you feel that changes the calculus? Another idea would be to fork the repo, then rename the crates to be prefixed by |
|
We've done it before but for projects maintained by us. In this case however, is there a rush to move on from speedtest-cli crate even if it's archived? It still works, right? Maybe by the time it actually becomes an issue then cloudflare has published crates for their repo 🤷 |
|
I guess it's only a problem in that if there is a CVE for any of the dependencies for |
The speedtest block was using speedtest-cli which has been become archived and is no longer maintained.
This commit replaces speedtest-cli with networkquality-rs.
Note that this requires
cmaketo be installed.I had to switch over to
rustlsas not doing so causes linking errors.The new version of
reqwestmoved torustls, so we'll move in that direction anyways.The nq crates are not published on crates.io so they are being checked out directly from github.
Resolves #2245