binstalk-registry: Rm rate-limit for crates.io registry (#1299)

Fixed #1295

The 1 request per second rate-limit is too strict and it makes
`cargo-binstall` very slow when resolving many crates in parallel.

Relying on the rate-limit in `binstalk_downloader::remote::Client`
should be good enough.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2023-08-17 07:18:41 +10:00 committed by GitHub
parent 2215682e76
commit f0f0c2bd14
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 49 deletions

View file

@ -27,7 +27,7 @@ serde_json = "1.0.99"
sha2 = "0.10.7"
tempfile = "3.5.0"
thiserror = "1.0.40"
tokio = { version = "1.30.0", features = ["rt", "sync", "time"], default-features = false }
tokio = { version = "1.30.0", features = ["rt", "sync"], default-features = false }
tracing = "0.1.37"
url = "2.3.1"