# 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.0" name = "libp2p-request-response" version = "0.27.0" authors = ["Parity Technologies "] description = "Generic Request/Response Protocols" keywords = [ "peer-to-peer", "libp2p", "networking", ] categories = [ "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/libp2p/rust-libp2p" [package.metadata.docs.rs] all-features = true [dependencies.async-trait] version = "0.1" [dependencies.cbor4ii] version = "0.3.2" features = [ "serde1", "use_std", ] optional = true [dependencies.futures] version = "0.3.30" [dependencies.futures-bounded] version = "0.2.4" [dependencies.futures-timer] version = "3.0.3" [dependencies.libp2p-core] version = "0.42.0" [dependencies.libp2p-identity] version = "0.2.9" [dependencies.libp2p-swarm] version = "0.45.0" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" optional = true [dependencies.serde_json] version = "1.0.117" optional = true [dependencies.smallvec] version = "1.13.2" [dependencies.tracing] version = "0.1.37" [dependencies.void] version = "1.0.2" [dependencies.web-time] version = "1.1.0" [dev-dependencies.anyhow] version = "1.0.86" [dev-dependencies.async-std] version = "1.6.2" features = ["attributes"] [dev-dependencies.futures_ringbuf] version = "0.4.0" [dev-dependencies.libp2p-noise] version = "0.44.0" [dev-dependencies.libp2p-tcp] version = "0.42.0" features = ["async-io"] [dev-dependencies.libp2p-yamux] version = "0.45.2" [dev-dependencies.rand] version = "0.8" [dev-dependencies.serde] version = "1.0" features = ["derive"] [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] cbor = [ "dep:serde", "dep:cbor4ii", "libp2p-swarm/macros", ] json = [ "dep:serde", "dep:serde_json", "libp2p-swarm/macros", ] [lints.clippy] dbg_macro = "warn" manual_let_else = "warn" type_complexity = "allow" unnecessary_wraps = "warn" used_underscore_binding = "warn" [lints.clippy.pedantic] level = "allow" priority = -1 [lints.rust] unreachable_pub = "warn"