# 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 = "ant-libp2p-kad" version = "0.47.1" authors = ["Parity Technologies "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Kademlia protocol for libp2p" readme = false 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 [lib] name = "ant_libp2p_kad" path = "src/lib.rs" [[test]] name = "client_mode" path = "tests/client_mode.rs" [dependencies.ant-libp2p-core] version = "0.42.1" [dependencies.ant-libp2p-swarm] version = "0.45.2" [dependencies.arrayvec] version = "0.7.4" [dependencies.asynchronous-codec] version = "0.7.0" [dependencies.bytes] version = "1" [dependencies.either] version = "1.11" [dependencies.fnv] version = "1.0" [dependencies.futures] version = "0.3.30" [dependencies.futures-bounded] version = "0.2.4" [dependencies.futures-timer] version = "3.0.3" [dependencies.libp2p-identity] version = "0.2.10" features = ["rand"] [dependencies.quick-protobuf] version = "0.8" [dependencies.quick-protobuf-codec] version = "0.3.1" [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" features = ["derive"] optional = true [dependencies.sha2] version = "0.10.8" [dependencies.smallvec] version = "1.13.2" [dependencies.thiserror] version = "2" [dependencies.tracing] version = "0.1.37" [dependencies.uint] version = "0.9" [dependencies.web-time] version = "1.1.0" [dev-dependencies.ant-libp2p-noise] version = "0.45.1" [dev-dependencies.ant-libp2p-yamux] version = "0.46.0" [dev-dependencies.async-std] version = "1.12.0" features = ["attributes"] [dev-dependencies.futures-timer] version = "3.0" [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] serde = [ "dep:serde", "bytes/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"