# 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-dcutr" version = "0.12.1" authors = ["Max Inden "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Direct connection upgrade through relay" readme = false keywords = [ "peer-to-peer", "libp2p", "networking", ] categories = [ "network-programming", "asynchronous", ] license = "MIT" repository = "https://github.com/maidsafe/ant-rust-libp2p" [package.metadata.docs.rs] all-features = true [lib] name = "ant_libp2p_dcutr" path = "src/lib.rs" [[test]] name = "lib" path = "tests/lib.rs" [dependencies.ant-libp2p-core] version = "0.42.1" [dependencies.ant-libp2p-swarm] version = "0.45.2" [dependencies.asynchronous-codec] version = "0.7.0" [dependencies.either] version = "1.11.0" [dependencies.futures] version = "0.3.30" [dependencies.futures-bounded] version = "0.2.4" [dependencies.futures-timer] version = "3.0" [dependencies.libp2p-identity] version = "0.2.10" [dependencies.lru] version = "0.12.3" [dependencies.quick-protobuf] version = "0.8" [dependencies.quick-protobuf-codec] version = "0.3.1" [dependencies.thiserror] version = "2" [dependencies.tracing] version = "0.1.37" [dependencies.web-time] version = "1.1.0" [dev-dependencies.ant-libp2p-identify] version = "0.46.0" [dev-dependencies.ant-libp2p-noise] version = "0.45.1" [dev-dependencies.ant-libp2p-ping] version = "0.45.1" [dev-dependencies.ant-libp2p-plaintext] version = "0.42.0" [dev-dependencies.ant-libp2p-relay] version = "0.18.1" [dev-dependencies.ant-libp2p-swarm] version = "0.45.2" features = ["macros"] [dev-dependencies.ant-libp2p-tcp] version = "0.42.0" features = ["async-io"] [dev-dependencies.ant-libp2p-yamux] version = "0.46.0" [dev-dependencies.clap] version = "4.5.6" features = ["derive"] [dev-dependencies.libp2p-dns] version = "0.42.0" features = ["async-std"] [dev-dependencies.rand] version = "0.8" [dev-dependencies.tokio] version = "1.38" features = [ "rt", "macros", ] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [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"