# 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-tcp" version = "0.42.0" authors = ["Parity Technologies "] build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "TCP/IP transport protocol for libp2p" 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_tcp" path = "src/lib.rs" [dependencies.ant-libp2p-core] version = "0.42.1" [dependencies.async-io] version = "2.3.3" optional = true [dependencies.futures] version = "0.3.30" [dependencies.futures-timer] version = "3.0" [dependencies.if-watch] version = "3.2.0" [dependencies.libc] version = "0.2.155" [dependencies.libp2p-identity] version = "0.2.10" [dependencies.socket2] version = "0.5.7" features = ["all"] [dependencies.tokio] version = "1.38" features = ["net"] optional = true default-features = false [dependencies.tracing] version = "0.1.37" [dev-dependencies.async-std] version = "1.6.5" features = ["attributes"] [dev-dependencies.libp2p-identity] version = "0.2.10" features = ["rand"] [dev-dependencies.tokio] version = "1.38" features = ["full"] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] async-io = [ "dep:async-io", "if-watch/smol", ] tokio = [ "dep:tokio", "if-watch/tokio", ] [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"