# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.75" name = "blockstore" version = "0.7.0" authors = ["Eiger "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An IPLD blockstore capable of holding arbitrary data indexed by CID" homepage = "https://www.eiger.co" readme = "README.md" keywords = [ "bitswap", "blockstore", "ipld", "cid", ] categories = [ "asynchronous", "data-structures", ] license = "Apache-2.0" repository = "https://github.com/eigerco/blockstore" [package.metadata.cargo-udeps.ignore] development = ["multihash-codetable"] [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] targets = [ "x86_64-unknown-linux-gnu", "wasm32-unknown-unknown", ] [lib] name = "blockstore" path = "src/lib.rs" [dependencies.cid] version = "0.11.0" [dependencies.dashmap] version = "6.0.1" [dependencies.lru] version = "0.12.2" optional = true [dependencies.multihash] version = "0.19.1" [dependencies.thiserror] version = "1.0.40" [dev-dependencies.multihash-codetable] version = "0.1.1" features = [ "digest", "sha2", ] [dev-dependencies.rstest] version = "0.22.0" [dev-dependencies.tempfile] version = "3.10" [dev-dependencies.tokio] version = "1.29.0" features = [ "macros", "rt", "time", ] [features] indexeddb = [ "dep:js-sys", "dep:rexie", "dep:wasm-bindgen", ] lru = ["dep:lru"] redb = [ "dep:redb", "dep:tokio", ] sled = [ "dep:sled", "dep:tokio", ] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.redb] version = "2" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.sled] version = "0.34.7" optional = true [target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio] version = "1.29.0" features = [ "macros", "rt", "sync", ] optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3.68" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.rexie] version = "0.6.1" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2.91" optional = true [target.'cfg(target_arch = "wasm32")'.dev-dependencies.wasm-bindgen-test] version = "0.3.41"