[package] name = "tokio-gemini" version = "0.4.0" 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"] [dependencies] base16ct = "0.2.0" base64ct = "1.6.0" sha2 = "0.10.8" num_enum = "0.7.3" bytes = "1.7.1" mime = "0.3.17" url = "2.5.2" tokio = { version = "1.39.2", features = ["io-util", "net"] } tokio-rustls = { version = "0.26.0", default-features = false, features = ["ring"] } webpki-roots = { version = "0.26.3", optional = true } 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] webpki = ["dep:webpki-roots"] file-sscv = ["dep:dashmap", "tokio/fs"] 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"] [[example]] name = "dane" path = "examples/dane.rs" required-features = ["hickory"]