# 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 = "2018" name = "rustdns" version = "0.4.0" authors = ["Andrew Brampton "] description = "A DNS parsing library" readme = "README.md" keywords = ["dns", "idna", "serialization"] categories = ["encoding", "network-programming"] license = "Apache-2.0" repository = "https://github.com/bramp/rustdns" [package.metadata.cargo-all-features] denylist = ["http_deps"] skip_optional_dependencies = true [dependencies.async-trait] version = "0.1.52" [dependencies.base64] version = "0.13.0" optional = true [dependencies.byteorder] version = "1.4.3" [dependencies.bytes] version = "1.1.0" [dependencies.chrono] version = "0.4.19" [dependencies.derivative] version = "2.2.0" [dependencies.http] version = "0.2.5" optional = true [dependencies.hyper] version = "0.14.16" features = ["client", "runtime", "http1", "http2"] optional = true [dependencies.hyper-alpn] version = "0.3.0" optional = true [dependencies.idna] version = "0.2.3" [dependencies.lazy_static] version = "1.4.0" [dependencies.log] version = "0.4.14" [dependencies.mime] version = "0.3.16" optional = true [dependencies.num-derive] version = "0.3.3" [dependencies.num-traits] version = "0.2.14" [dependencies.pest] version = "2.1.3" optional = true [dependencies.pest_consume] version = "1.1.1" optional = true [dependencies.pest_derive] version = "2.1.0" optional = true [dependencies.rand] version = "0.8.4" [dependencies.regex] version = "1.5.4" [dependencies.serde] version = "1.0.132" features = ["derive"] optional = true [dependencies.serde_json] version = "1.0.74" optional = true [dependencies.strum] version = "0.23.0" [dependencies.strum_macros] version = "0.23.1" [dependencies.thiserror] version = "1.0.30" [dependencies.url] version = "2.2.2" optional = true [dev-dependencies.env_logger] version = "0.9.0" [dev-dependencies.hex] version = "0.4.3" [dev-dependencies.json_comments] version = "0.2.0" [dev-dependencies.pretty_assertions] version = "1.0.0" [dev-dependencies.regex] version = "1.5.4" [dev-dependencies.serde] version = "1.0.132" features = ["derive"] [dev-dependencies.serde_yaml] version = "0.8.23" [dev-dependencies.test-env-log] version = "0.2.8" [dev-dependencies.tokio] version = "1.15.0" features = ["macros", "rt-multi-thread"] [features] clients = ["doh", "json", "tcp", "udp"] default = ["clients", "zones"] doh = ["http_deps", "base64"] http_deps = ["http", "url", "hyper", "hyper-alpn", "mime"] json = ["http_deps", "serde", "serde_json"] tcp = [] udp = [] zones = ["pest", "pest_consume", "pest_derive"]