# 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 = "cdns-rs" version = "0.3.0" authors = ["Aleksandr Morozov "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "A native Sync/Async Rust implementation of client DNS resolver." readme = "README.md" keywords = [ "DNS", "resolver", ] categories = [ "network-programming", "asynchronous", "os", ] license = "MPL-2.0" license-file = "LICENSE" repository = "https://repo.4neko.org/4NEKO/cdns-rs" [lib] name = "cdns_rs" path = "src/lib.rs" [[example]] name = "example_async" path = "examples/example_async.rs" [[example]] name = "example_sync" path = "examples/example_sync.rs" [[example]] name = "example_sync_custom" path = "examples/example_sync_custom.rs" [[example]] name = "example_sync_log" path = "examples/example_sync_log.rs" [dependencies.async-recursion] version = "1.1.0" [dependencies.async-trait] version = "0.1" [dependencies.bitflags] version = "2.6" [dependencies.byteorder] version = "1" [dependencies.crossbeam-utils] version = "0.8" [dependencies.nix] version = "0.29" features = ["poll"] [dependencies.rand] version = "0.8" [dependencies.socket2] version = "0.5" [dependencies.tokio] version = "1" features = [ "rt-multi-thread", "net", "macros", "time", "sync", "fs", "io-util", "rt", ] [dependencies.tokio-byteorder] version = "0.3.0" [dev-dependencies.tokio-test] version = "0.4" [features] custom_error_output = [] default = [ "use_sync", "use_async", "custom_error_output", ] no_error_output = [] use_async = [] use_sync = []