crates-index 3.3.0

Library for retrieving and interacting with the crates.io index
Documentation
[badges.maintenance]
status = "passively-maintained"

[dependencies.document-features]
optional = true
version = "0.2.0"

[dependencies.gix]
default-features = false
features = ["max-performance-safe", "blocking-network-client"]
optional = true
version = "0.67.0"

[dependencies.hex]
features = ["serde"]
version = "0.4.3"

[dependencies.home]
version = "0.5.4"

[dependencies.http]
optional = true
version = "1"

[dependencies.memchr]
version = "2.5.0"

[dependencies.rayon]
optional = true
version = "1.7.0"

[dependencies.rustc-hash]
version = "2.0.0"

[dependencies.semver]
version = "1.0.17"

[dependencies.serde]
features = ["rc"]
version = "1.0.160"

[dependencies.serde_derive]
version = "1.0.160"

[dependencies.serde_json]
version = "1.0.96"

[dependencies.smol_str]
features = ["serde"]
version = "0.3.2"

[dependencies.thiserror]
version = "2.0.0"

[dependencies.toml]
version = "0.8.0"

[dev-dependencies.bytesize]
version = "1.2.0"

[dev-dependencies.cap]
features = ["stats"]
version = "0.1.2"

[dev-dependencies.is_ci]
version = "1.1.1"

[dev-dependencies.parking_lot]
version = "0.12.1"

[dev-dependencies.reqwest]
features = ["blocking", "gzip"]
version = "0.12"

[dev-dependencies.serial_test]
version = "3.1.1"

[dev-dependencies.tempfile]
version = "3.5.0"

[dev-dependencies.ureq]
features = ["http-crate"]
version = "2.8.0"

[[example]]
name = "list_recent_versions"
path = "examples/list_recent_versions.rs"
required-features = ["sparse"]

[[example]]
name = "sparse_http_reqwest"
path = "examples/sparse_http_reqwest.rs"
required-features = ["sparse"]

[[example]]
name = "sparse_http_ureq"
path = "examples/sparse_http_ureq.rs"
required-features = ["sparse"]

[[example]]
name = "update_and_get_latest"
path = "examples/update_and_get_latest.rs"
required-features = ["git-https"]

[[example]]
name = "update_and_get_most_recent_version"
path = "examples/update_and_get_most_recent_version.rs"
required-features = ["git-https"]

[features]
default = ["sparse"]
git = ["dep:gix"]
git-https = ["git", "gix?/blocking-http-transport-curl"]
git-performance = ["git", "gix?/max-performance"]
parallel = ["dep:rayon"]
sparse = ["dep:http"]

[lib]
name = "crates_index"
path = "src/lib.rs"

[package]
authors = ["Corey Farwell <coreyf@rwell.org>", "Kornel <kornel@geekhood.net>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["development-tools", "database"]
description = "Library for retrieving and interacting with the crates.io index"
documentation = "https://docs.rs/crates-index/"
edition = "2021"
homepage = "https://crates.io/crates/crates-index"
include = ["src/**/*", "examples/*.rs", "LICENSE", "README.md", "CHANGELOG.md"]
keywords = ["packaging", "index", "dependencies", "crate", "meta"]
license = "Apache-2.0"
name = "crates-index"
readme = "README.md"
repository = "https://github.com/frewsxcv/rust-crates-index"
rust-version = "1.60"
version = "3.3.0"

[package.metadata.docs.rs]
features = ["sparse", "git", "git-https", "parallel", "document-features"]
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu"]