[package] name = "beetswap" version = "0.4.0" edition = "2021" license = "Apache-2.0" description = "Implementation of bitswap protocol for libp2p" authors = ["Eiger "] homepage = "https://www.eiger.co" readme = "README.md" rust-version = "1.75" repository = "https://github.com/eigerco/beetswap" # crates.io is limited to 5 keywords and 5 categories keywords = ["bitswap", "blockstore", "ipld", "cid"] # Must be one of categories = [ "asynchronous", "cryptography::cryptocurrencies", "network-programming", "wasm", ] [dependencies] asynchronous-codec = "0.7" blockstore = "0.7" bytes = "1" cid = "0.11" fnv = "1.0.5" futures-core = "0.3" futures-timer = "3" futures-util = "0.3" web-time = "1.1.0" libp2p-core = "0.42.0" libp2p-identity = "0.2.9" libp2p-swarm = "0.45.1" multihash-codetable = "0.1" quick-protobuf = "0.8" smallvec = "1" thiserror = "1" tracing = "0.1" unsigned-varint = "0.8" void = "1" # `time` is a dependency of a dependency but we need to specify it # for fixing rust-lang/rust#125319. time = { version = "0.3.36", default-features = false } [dev-dependencies] anyhow = "1.0" clap = { version = "4.4", features = ["derive"] } hex = "0.4" libp2p = { version = "0.54.0", features = [ "tokio", "tcp", "identify", "macros", "noise", "yamux", ] } libp2p-stream = "0.2.0-alpha" libp2p-swarm-test = "0.4.0" multihash = "0.19" multihash-codetable = { version = "0.1", features = ["digest", "sha2"] } tokio = { version = "1", features = ["rt", "macros", "time", "sync"] } tracing-appender = "0.2.2" tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } # needed for minimal-versions log = "0.4.18" [features] wasm-bindgen = ["futures-timer/wasm-bindgen"] [package.metadata.docs.rs] rustdoc-args = ["--cfg", "docsrs"]