[package] name = "beetle-bitswap-next" authors = ["Darius C", "dignifiedquire "] description = "Implementation of the bitswap protocol" version = "0.5.1" edition = "2021" license = "Apache-2.0/MIT" rust-version = "1.65" repository = "https://github.com/dariusc93/rust-ipfs" [dependencies] ahash = "0.8" anyhow = { version = "1", features = ["backtrace"] } async-broadcast = "0.5.1" async-channel = "1.8.0" async-stream = "0.3.5" async-trait = "0.1.68" asynchronous-codec = "0.6" bytes = "1.4" cid = "0.10" deadqueue = "0.2.4" derivative = "2.2" futures = "0.3.28" futures-util = "0.3.28" keyed_priority_queue = "0.4.1" libp2p = { workspace = true, features = ["ping"] } multihash = "0.18" names = { version = "0.14.0", default-features = false } num_enum = "0.6.1" once_cell = "1.15" rand = "0.8.5" smallvec = "1.10" thiserror = "1" tokio = { version = "1", features = ["rt-multi-thread", "sync"] } tokio-context = "0.1.3" tokio-stream = "0.1.14" tracing = "0.1.34" unsigned-varint = { version = "0.7.1", features = ["asynchronous_codec"] } wasm-timer = "0.2.5" quick-protobuf = { version = "0.8" } [dev-dependencies] criterion = "0.4" libp2p = { workspace = true, features = [ "yamux", "noise", "tcp", "tokio", ] } tokio = { version = "1", features = ["macros", "net", "rt"] } tokio-util = { version = "0.7", features = ["compat"] } tracing-subscriber = { version = "0.3.14", features = ["env-filter"] } [[bench]] name = "message" harness = false