@@ -12,18 +12,19 @@ anyhow = { version = "1.0", features = ["backtrace"] }
1212cargo_metadata = " 0.23"
1313chrono = " 0.4"
1414clap = { version = " 4.5" , features = [" cargo" , " derive" , " wrap_help" ] }
15- crates-index = { version = " 3.12" , features = [" git-https-reqwest" ] }
15+ crates-index = { version = " 3.12" , features = [" git-https-reqwest" ], optional = true }
1616crates_io_api = " 0.12.0"
1717curl = " 0.4"
1818elaborate = " 0.2"
1919env_logger = " 0.11"
20- home = " 0.5"
20+ home = { version = " 0.5" , optional = true }
2121log = " 0.4"
2222regex = " 1.12"
2323remain = " 0.2"
2424serde = " 1.0"
2525serde_json = " 1.0"
2626sha1_smol = { version = " 1.0" , features = [" std" ] }
27+ tame-index = { version = " 0.26" , features = [" sparse" ], optional = true }
2728tempfile = " 3.26"
2829termcolor = " 1.4"
2930toml = " 0.9"
@@ -55,15 +56,19 @@ tokio = "1.50"
5556elaborate = " 0.2"
5657
5758[features ]
58- default = [" on-disk-cache" , " lock -index" ]
59+ default = [" on-disk-cache" , " crates -index" ]
5960on-disk-cache = []
60- lock-index = [" libc" , " windows-sys" ]
61+ crates-index = [" dep:crates-index" , " dep:home" , " libc" , " windows-sys" ]
62+ tame-index = [" dep:tame-index" , " reqwest/blocking" ]
6163__mock_github = []
6264__real_github = []
6365
6466# smoelius: Old feature that was renamed.
6567cache-repositories = [" on-disk-cache" ]
6668
69+ # smoelius: Old feature that was renamed.
70+ lock-index = [" crates-index" ]
71+
6772# smoelius: Old feature that is no longer used.
6873ei = []
6974
0 commit comments