[package] name = "cdns-rs" version = "0.3.0" edition = "2021" authors = ["Aleksandr Morozov "] description="A native Sync/Async Rust implementation of client DNS resolver." repository = "https://repo.4neko.org/4NEKO/cdns-rs" keywords = ["DNS", "resolver"] categories = ["network-programming", "asynchronous", "os"] license="MPL-2.0" license-file="LICENSE" # Since v 0.2.2 this project is relicensed with MPLv2.0. # The contributors and authors agreed to change license: # Aleksandr Morozov # RELKOM s.r.o [features] default = ["use_sync", "use_async", "custom_error_output"] use_sync = [] use_async = [] no_error_output = [] # force no error output custom_error_output = [] # force error output to custom stream, see log.rs [dependencies] nix = { version = "0.29", features = ["poll"] } rand = "0.8" bitflags = "2.6" socket2 = "0.5" async-recursion = "1.1.0" #sync crossbeam-utils = "0.8" byteorder = "1" #async tokio = { version = "1", features = ["rt-multi-thread", "net", "macros", "time", "sync", "fs", "io-util", "rt"] } tokio-byteorder = "0.3.0" async-trait = "0.1" [dev-dependencies] tokio-test = "0.4" [[example]] name = "example_sync" [[example]] name = "example_sync_custom" [[example]] name = "example_sync_log" [[example]] name = "example_async"