# 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 = "beetswap" version = "0.4.0" authors = ["Eiger "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Implementation of bitswap protocol for libp2p" homepage = "https://www.eiger.co" readme = "README.md" keywords = [ "bitswap", "blockstore", "ipld", "cid", ] categories = [ "asynchronous", "cryptography::cryptocurrencies", "network-programming", "wasm", ] license = "Apache-2.0" repository = "https://github.com/eigerco/beetswap" [package.metadata.docs.rs] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "beetswap" path = "src/lib.rs" [[example]] name = "node" path = "examples/node.rs" [[test]] name = "bitswap" path = "tests/bitswap.rs" [dependencies.asynchronous-codec] version = "0.7" [dependencies.blockstore] version = "0.7" [dependencies.bytes] version = "1" [dependencies.cid] version = "0.11" [dependencies.fnv] version = "1.0.5" [dependencies.futures-core] version = "0.3" [dependencies.futures-timer] version = "3" [dependencies.futures-util] version = "0.3" [dependencies.libp2p-core] version = "0.42.0" [dependencies.libp2p-identity] version = "0.2.9" [dependencies.libp2p-swarm] version = "0.45.1" [dependencies.multihash-codetable] version = "0.1" [dependencies.quick-protobuf] version = "0.8" [dependencies.smallvec] version = "1" [dependencies.thiserror] version = "1" [dependencies.time] version = "0.3.36" default-features = false [dependencies.tracing] version = "0.1" [dependencies.unsigned-varint] version = "0.8" [dependencies.void] version = "1" [dependencies.web-time] version = "1.1.0" [dev-dependencies.anyhow] version = "1.0" [dev-dependencies.clap] version = "4.4" features = ["derive"] [dev-dependencies.hex] version = "0.4" [dev-dependencies.libp2p] version = "0.54.0" features = [ "tokio", "tcp", "identify", "macros", "noise", "yamux", ] [dev-dependencies.libp2p-stream] version = "0.2.0-alpha" [dev-dependencies.libp2p-swarm-test] version = "0.4.0" [dev-dependencies.log] version = "0.4.18" [dev-dependencies.multihash] version = "0.19" [dev-dependencies.multihash-codetable] version = "0.1" features = [ "digest", "sha2", ] [dev-dependencies.tokio] version = "1" features = [ "rt", "macros", "time", "sync", ] [dev-dependencies.tracing-appender] version = "0.2.2" [dev-dependencies.tracing-subscriber] version = "0.3.17" features = ["env-filter"] [features] wasm-bindgen = ["futures-timer/wasm-bindgen"]