# 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" name = "zeronsd" version = "0.5.0" authors = [ "Erik Hollensbe ", "Adam Ierymenko ", ] description = "Unicast DNS resolver for ZeroTier networks" homepage = "https://github.com/zerotier/zeronsd" documentation = "https://github.com/zerotier/zeronsd/blob/main/README.md" readme = "README.md" keywords = [ "dns", "zerotier", ] license = "BSD-3-Clause" repository = "https://github.com/zerotier/zeronsd" resolver = "2" [package.metadata.deb] copyright = "ZeroTier, Inc" extended-description = """ ZeroNS provides names that are a part of ZeroTier Central's (https://my.zerotier.com) configured networks; once provided a network it: - Listens on the local interface joined to that network -- you will want to start one ZeroNS per ZeroTier network. - Provides general DNS by forwarding all queries to `/etc/resolv.conf` resolvers that do not match the TLD, similar to `dnsmasq`. - Tells Central to point all clients that have the \"Manage DNS\" settings turned **on** to resolve to it. - Finally, sets a provided TLD (`.home.arpa` is the default), as well as configuring `A` (IPv4) and `AAAA` (IPv6) records for: - Member IDs: `zt-.` will resolve to the IPv4/v6 addresses for them. - Names: _if_ the names are compatible with DNS names, they will be converted as such: to `.`. - Please note that **collisions are possible** and that it's _up to the admin to prevent them_. """ [[package.metadata.generate-rpm.assets]] source = "target/release/zeronsd" dest = "/usr/bin/zeronsd" mode = "755" [package.metadata.generate-rpm.requires] openssl-libs = ">= 1.1.1g" [dependencies.anyhow] version = ">=0" [dependencies.async-trait] version = ">=0" [dependencies.clap] version = "^3" features = ["derive"] [dependencies.hex] version = ">=0" [dependencies.ipnetwork] version = ">=0" [dependencies.lazy_static] version = ">=0" [dependencies.openssl] version = ">=0" [dependencies.rand] version = ">=0" [dependencies.regex] version = ">=0" [dependencies.reqwest] version = ">=0" [dependencies.serde] version = ">=0" [dependencies.serde_json] version = ">=0" [dependencies.serde_yaml] version = ">=0" [dependencies.tinytemplate] version = ">=0" [dependencies.tokio] version = "1" features = ["full"] [dependencies.toml] version = ">=0" [dependencies.tracing] version = "0.1" [dependencies.tracing-log] version = "0.1" [dependencies.tracing-subscriber] version = "0.2" [dependencies.trust-dns-resolver] version = "^0.21.0" features = [ "tokio-runtime", "dns-over-openssl", ] [dependencies.trust-dns-server] version = "^0.21.0" features = [ "trust-dns-resolver", "dns-over-openssl", ] [dependencies.zerotier-central-api] version = "=1.1.0" [dependencies.zerotier-one-api] version = "=1.1.0" [dev-dependencies.ctor] version = ">=0" [features] vendored-openssl = ["openssl/vendored"] [target."cfg(windows)".dependencies.openssl] version = ">=0" features = ["vendored"]