2024-07-31 15:58:17 +03:00
|
|
|
[package]
|
|
|
|
name = "tokio-gemini"
|
2024-08-30 14:41:52 +03:00
|
|
|
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
|
|
|
|
2024-08-30 14:41:52 +03:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
targets = ["x86_64-unknown-linux-gnu"]
|
|
|
|
|
2024-07-31 15:58:17 +03:00
|
|
|
[dependencies]
|
2024-08-08 19:55:39 +03:00
|
|
|
base16ct = "0.2.0"
|
2024-08-02 20:22:19 +03:00
|
|
|
base64ct = "1.6.0"
|
2024-08-09 16:37:16 +03:00
|
|
|
sha2 = "0.10.8"
|
|
|
|
|
2024-08-29 20:02:23 +03:00
|
|
|
async-trait = "0.1.81"
|
2024-08-09 16:37:16 +03:00
|
|
|
num_enum = "0.7.3"
|
2024-08-05 11:04:35 +03:00
|
|
|
bytes = "1.7.1"
|
2024-07-31 15:58:17 +03:00
|
|
|
mime = "0.3.17"
|
2024-08-09 16:37:16 +03:00
|
|
|
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"
|
2024-08-09 16:37:16 +03:00
|
|
|
|
|
|
|
dashmap = { version = "6.0.1", optional = true }
|
2024-08-14 16:30:31 +03:00
|
|
|
hickory-client = { version = "0.24.1", optional = true }
|
2024-08-01 11:05:39 +03:00
|
|
|
|
2024-08-09 16:39:40 +03:00
|
|
|
[dev-dependencies]
|
|
|
|
tokio = { version = "1.39.2", features = ["macros", "rt-multi-thread"] }
|
|
|
|
|
|
|
|
[features]
|
2024-09-09 18:15:55 +03:00
|
|
|
file-sscv = ["file"]
|
|
|
|
file = ["dep:dashmap", "tokio/fs"]
|
2024-08-09 16:39:40 +03:00
|
|
|
|
2024-08-19 10:35:18 +03:00
|
|
|
dane = ["hickory"]
|
2024-08-14 16:30:31 +03:00
|
|
|
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"
|
|
|
|
|
2024-08-01 11:05:39 +03:00
|
|
|
[[example]]
|
|
|
|
name = "main"
|
|
|
|
path = "examples/main.rs"
|
2024-09-09 18:15:55 +03:00
|
|
|
required-features = ["file", "dane"]
|