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