# 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-core" version = "0.42.0" authors = ["Parity Technologies "] description = "Core traits and structs of libp2p" 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.either] version = "1.11" [dependencies.fnv] version = "1.0" [dependencies.futures] version = "0.3.30" features = [ "executor", "thread-pool", ] [dependencies.futures-timer] version = "3" [dependencies.libp2p-identity] version = "0.2.9" features = [ "peerid", "ed25519", ] [dependencies.multiaddr] version = "0.18.1" [dependencies.multihash] version = "0.19.1" [dependencies.multistream-select] version = "0.13.0" [dependencies.once_cell] version = "1.19.0" [dependencies.parking_lot] version = "0.12.3" [dependencies.pin-project] version = "1.1.5" [dependencies.quick-protobuf] version = "0.8" [dependencies.rand] version = "0.8" [dependencies.rw-stream-sink] version = "0.4.0" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.smallvec] version = "1.13.2" [dependencies.thiserror] version = "1.0" [dependencies.tracing] version = "0.1.37" [dependencies.unsigned-varint] version = "0.8.0" [dependencies.void] version = "1" [dependencies.web-time] version = "1.1.0" [dev-dependencies.async-std] version = "1.6.2" features = ["attributes"] [dev-dependencies.libp2p-identity] version = "0.2.9" features = [ "ed25519", "rand", ] [dev-dependencies.multihash] version = "0.19.1" features = ["arb"] [features] serde = [ "multihash/serde-codec", "dep:serde", "libp2p-identity/serde", ] [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"