[package] name = "car-mirror" version = "0.1.0" description = "Rust implementation of the CAR Mirror protocol" keywords = [] categories = [] include = ["/src", "README.md", "LICENSE-APACHE", "LICENSE-MIT"] license = "Apache-2.0" readme = "README.md" edition = "2021" rust-version = "1.75" documentation = "https://docs.rs/car-mirror" repository = "https://github.com/fission-codes/rs-car-mirror/tree/main/car-mirror" authors = ["Philipp Krüger "] [lib] path = "src/lib.rs" doctest = true [dependencies] anyhow = { workspace = true } async-stream = { workspace = true } bytes = { workspace = true } data-encoding = "2.5.0" deterministic-bloom = "0.1" futures = { workspace = true } iroh-car = "0.4" libipld = { workspace = true } libipld-core = { workspace = true } proptest = { version = "1.1", optional = true } quick_cache = { version = "0.4", optional = true } roaring-graphs = { version = "0.12", optional = true } serde = "^1" serde_bytes = { workspace = true } serde_ipld_dagcbor = { workspace = true } thiserror = "1.0" tokio = { version = "^1", default-features = false } tracing = "0.1" wnfs-common = { workspace = true } [dev-dependencies] assert_matches = "1.5.0" async-std = { version = "1.11", features = ["attributes"] } car-mirror = { path = ".", features = ["quick_cache", "test_utils"] } proptest = "1.1" roaring-graphs = "0.12" serde_json = { workspace = true } test-log = { version = "0.2", default-features = false, features = ["trace"] } test-strategy = "0.3" testresult = "0.3" tokio-util = { version = "0.7.8", features = ["io"] } tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "parking_lot", "registry"] } wnfs-unixfs-file = { version = "0.2.0" } [features] default = [] test_utils = ["proptest", "roaring-graphs"] quick_cache = ["dep:quick_cache"] [package.metadata.docs.rs] all-features = true # defines the configuration attribute `docsrs` rustdoc-args = ["--cfg", "docsrs"]