mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-24 14:28:42 +00:00
binstalk-registry: Use crates.io sparse index by default (#1314)
Fixed #1310 Also add rename `fetch_crate_cratesio` => `fetch_crate_cratesio_api` and put it behind a new feature `crates_io_api`. Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
parent
0a71b39c90
commit
b9adaa006f
3 changed files with 23 additions and 10 deletions
|
@ -35,9 +35,12 @@ url = "2.3.1"
|
|||
[dev-dependencies]
|
||||
tokio = { version = "1", features = ["rt-multi-thread", "macros"] }
|
||||
toml_edit = { version = "0.19.11", features = ["serde"] }
|
||||
binstalk-downloader = { version = "0.7.0", path = "../binstalk-downloader", default-features = false, features = ["rustls"] }
|
||||
|
||||
[features]
|
||||
git = ["simple-git"]
|
||||
|
||||
crates_io_api = []
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue