tokio-gemini/Cargo.toml

56 lines
1.4 KiB
TOML
Raw Normal View History

2024-07-31 15:58:17 +03:00
[package]
name = "tokio-gemini"
version = "0.5.2"
2024-07-31 15:58:17 +03:00
edition = "2021"
2024-08-01 15:39:42 +03:00
license = "Apache-2.0"
homepage = "https://unw.dc09.ru"
repository = "https://git.dc09.ru/unweb/tokio-gemini"
readme = "README.md"
2024-08-05 15:20:28 +03:00
description = "Gemini protocol client and server implementation written in Rust with Tokio"
2024-08-01 15:39:42 +03:00
categories = ["network-programming"]
2024-07-31 15:58:17 +03:00
[package.metadata.docs.rs]
all-features = true
targets = ["x86_64-unknown-linux-gnu"]
2024-07-31 15:58:17 +03:00
[dependencies]
base16ct = "0.2.0"
base64ct = "1.6.0"
sha2 = "0.10.8"
2024-08-29 20:02:23 +03:00
async-trait = "0.1.81"
num_enum = "0.7.3"
bytes = "1.7.1"
2024-07-31 15:58:17 +03:00
mime = "0.3.17"
url = "2.5.2"
2024-08-29 20:02:23 +03:00
tokio = { version = "1.39.2", default-features = false, features = ["io-util", "net"] }
2024-07-31 15:58:17 +03:00
tokio-rustls = { version = "0.26.0", default-features = false, features = ["ring"] }
2024-08-29 20:02:23 +03:00
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 = ["file"]
file = ["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"]
2024-08-06 11:32:42 +03:00
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "main"
path = "examples/main.rs"
required-features = ["file", "dane"]