[package] name = "tokio-gemini" version = "0.5.2" edition = "2021" license = "Apache-2.0" homepage = "https://unw.dc09.ru" repository = "https://git.dc09.ru/unweb/tokio-gemini" readme = "README.md" description = "Gemini protocol client and server implementation written in Rust with Tokio" categories = ["network-programming"] [package.metadata.docs.rs] all-features = true targets = ["x86_64-unknown-linux-gnu"] [dependencies] base16ct = "0.2.0" base64ct = "1.6.0" sha2 = "0.10.8" async-trait = "0.1.81" num_enum = "0.7.3" bytes = "1.7.1" mime = "0.3.17" url = "2.5.2" tokio = { version = "1.39.2", default-features = false, features = ["io-util", "net"] } tokio-rustls = { version = "0.26.0", default-features = false, features = ["ring"] } rustls-webpki = "0.102.7" dashmap = { version = "6.0.1", optional = true } hickory-client = { version = "0.24.1", optional = true } [dev-dependencies] tokio = { version = "1.39.2", features = ["macros", "rt-multi-thread"] } [features] file-sscv = ["dep:dashmap", "tokio/fs"] dane = ["hickory"] hickory = ["dep:hickory-client"] hickory-dot = ["hickory", "hickory-client/dns-over-rustls"] hickory-doh = ["hickory", "hickory-client/dns-over-https-rustls"] # TODO: #hickory-dnssec = ["hickory", "hickory-client/dnssec-ring"] [[example]] name = "simple" path = "examples/simple.rs" [[example]] name = "main" path = "examples/main.rs" required-features = ["file-sscv", "dane"]