# 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-dns" version = "0.42.0" authors = ["Parity Technologies "] description = "DNS transport implementation for 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.async-std-resolver] version = "0.24" optional = true [dependencies.async-trait] version = "0.1.80" [dependencies.futures] version = "0.3.30" [dependencies.hickory-resolver] version = "0.24.1" features = ["system-config"] default-features = false [dependencies.libp2p-core] version = "0.42.0" [dependencies.libp2p-identity] version = "0.2.9" [dependencies.parking_lot] version = "0.12.3" [dependencies.smallvec] version = "1.13.2" [dependencies.tracing] version = "0.1.37" [dev-dependencies.async-std-crate] version = "1.6" package = "async-std" [dev-dependencies.libp2p-identity] version = "0.2.9" features = ["rand"] [dev-dependencies.tokio] version = "1.38" features = [ "rt", "time", ] default-features = false [dev-dependencies.tracing-subscriber] version = "0.3" features = ["env-filter"] [features] async-std = ["async-std-resolver"] tokio = ["hickory-resolver/tokio-runtime"] [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"