tokio-gemini/Cargo.toml

42 lines
1 KiB
TOML

[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 }
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "main"
path = "examples/main.rs"
required-features = ["file-sscv"]
[dev-dependencies]
tokio = { version = "1.39.2", features = ["macros", "rt-multi-thread"] }
[features]
webpki = ["dep:webpki-roots"]
file-sscv = ["dep:dashmap", "tokio/fs"]