[[bench]]
harness = false
name = "sparse"
path = "benches/sparse.rs"
required-features = ["sparse"]
[dependencies.bytes]
optional = true
version = "1.7"
[dependencies.camino]
version = "1.1"
[dependencies.crossbeam-channel]
optional = true
version = "0.5"
[dependencies.gix]
default-features = false
features = []
optional = true
version = "0.66"
[dependencies.home]
version = "0.5"
[dependencies.http]
version = "1.1"
[dependencies.memchr]
version = "2.5"
[dependencies.rayon]
optional = true
version = "1.7"
[dependencies.reqwest]
default-features = false
features = ["blocking", "gzip", "http2"]
optional = true
version = "0.12.7"
[dependencies.semver]
features = ["serde"]
version = "1.0"
[dependencies.serde]
features = ["derive", "rc"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
default-features = false
features = ["std"]
optional = true
version = "0.10"
[dependencies.smol_str]
features = ["serde"]
version = "0.3"
[dependencies.thiserror]
version = "1.0"
[dependencies.tokio]
default-features = false
features = ["rt-multi-thread", "time"]
optional = true
version = "1.40"
[dependencies.toml-span]
version = "0.3"
[dependencies.twox-hash]
default-features = false
version = "1.6"
[dev-dependencies.cargo_metadata]
version = "0.18"
[dev-dependencies.rayon]
version = "1.7"
[dev-dependencies.tempfile]
version = "3.12"
[dev-dependencies.tiny-bench]
version = "0.4"
[features]
__git = []
__internal_all = ["git", "sparse", "local-builder"]
default = ["reqwest?/rustls-tls-webpki-roots"]
git = ["gix-reqwest"]
gix-curl = ["gix/blocking-http-transport-curl", "__git"]
gix-reqwest = ["gix/blocking-http-transport-reqwest", "dep:reqwest", "__git"]
local = ["dep:sha2", "dep:bytes"]
local-builder = ["local", "dep:reqwest"]
native-certs = ["reqwest?/rustls-tls-native-roots"]
sparse = ["dep:reqwest", "dep:tokio", "dep:rayon", "dep:crossbeam-channel"]
[lib]
name = "tame_index"
path = "src/lib.rs"
[package]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
description = "Provides access to local and remote cargo registry indices"
documentation = "https://docs.rs/tame-index"
edition = "2021"
homepage = "https://github.com/EmbarkStudios/tame-index"
license = "Apache-2.0 OR MIT"
name = "tame-index"
readme = "README.md"
repository = "https://github.com/EmbarkStudios/tame-index"
rust-version = "1.67.0"
version = "0.14.0"
[package.metadata.docs.rs]
features = ["__internal_all"]
rustdoc-args = ["--cfg", "docsrs"]
[profile.dev.package.sha2]
opt-level = 3
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[[test]]
name = "cache"
path = "tests/cache.rs"
[[test]]
name = "flock"
path = "tests/flock.rs"
[[test]]
name = "git"
path = "tests/git.rs"
[[test]]
name = "local"
path = "tests/local.rs"
[[test]]
name = "sparse"
path = "tests/sparse.rs"
[[test]]
name = "utils"
path = "tests/utils.rs"