# 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 = "2018" name = "libp2p-bitswap-next" version = "0.26.4" authors = [ "Darius C", "David Craven ", ] description = "Implementation of the ipfs bitswap protocol." readme = "README.md" license = "MIT OR Apache-2.0" repository = "https://github.com/dariusc93/rust-ipfs" resolver = "2" [dependencies.async-trait] version = "0.1.80" [dependencies.asynchronous-codec] version = "0.7" optional = true [dependencies.bytes] version = "1" [dependencies.fnv] version = "1.0.7" [dependencies.futures] version = "0.3.29" [dependencies.lazy_static] version = "1.4.0" [dependencies.libipld] version = "0.16.0" default-features = false [dependencies.libp2p] version = "0.53" features = ["request-response"] [dependencies.prometheus] version = "0.13.4" [dependencies.quick-protobuf] version = "0.8.1" optional = true [dependencies.quick-protobuf-codec] version = "0.3" optional = true [dependencies.thiserror] version = "1.0.60" [dependencies.tracing] version = "0.1.40" [dependencies.unsigned-varint] version = "0.8.0" features = [ "futures", "asynchronous_codec", ] [dev-dependencies.async-std] version = "1.12.0" features = ["attributes"] [dev-dependencies.env_logger] version = "0.11.3" [dev-dependencies.libipld] version = "0.16.0" features = ["dag-cbor"] default-features = false [dev-dependencies.libp2p] version = "0.53" features = [ "tcp", "noise", "yamux", "rsa", "ed25519", "async-std", ] [dev-dependencies.multihash] version = "0.18.0" features = [ "blake3", "sha2", ] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3.18" features = [ "env-filter", "tracing-log", ] [features] compat = [ "quick-protobuf", "quick-protobuf-codec", "asynchronous-codec", ] default = [] [target."cfg(target_arch = \"wasm32\")".dependencies.getrandom] version = "=0.2.14" features = ["js"]