64 lines
1.7 KiB
TOML
64 lines
1.7 KiB
TOML
# 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.56.1"
|
|
name = "libp2p-dns"
|
|
version = "0.32.1"
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
|
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"
|
|
resolver = "2"
|
|
[dependencies.async-std-resolver]
|
|
version = "0.21"
|
|
optional = true
|
|
|
|
[dependencies.futures]
|
|
version = "0.3.1"
|
|
|
|
[dependencies.libp2p-core]
|
|
version = "0.32.0"
|
|
default-features = false
|
|
|
|
[dependencies.log]
|
|
version = "0.4.1"
|
|
|
|
[dependencies.smallvec]
|
|
version = "1.6.1"
|
|
|
|
[dependencies.trust-dns-resolver]
|
|
version = "0.21"
|
|
features = ["system-config"]
|
|
default-features = false
|
|
[dev-dependencies.async-std-crate]
|
|
version = "1.6"
|
|
package = "async-std"
|
|
|
|
[dev-dependencies.env_logger]
|
|
version = "0.9"
|
|
|
|
[dev-dependencies.tokio-crate]
|
|
version = "1.0"
|
|
features = ["rt", "time"]
|
|
default-features = false
|
|
package = "tokio"
|
|
|
|
[features]
|
|
async-std = ["async-std-resolver"]
|
|
default = ["async-std"]
|
|
tokio = ["trust-dns-resolver/tokio-runtime"]
|
|
tokio-dns-over-https-rustls = ["tokio", "trust-dns-resolver/dns-over-https-rustls"]
|
|
tokio-dns-over-rustls = ["tokio", "trust-dns-resolver/dns-over-rustls"]
|