kochab/Cargo.toml

60 lines
2 KiB
TOML
Raw Normal View History

2020-10-31 19:53:03 +00:00
[package]
name = "kochab"
version = "0.1.0-unreleased"
2020-11-25 07:04:37 +00:00
description = "Ergonomic Gemini SDK"
authors = ["Emii Tatsuo <emi@alchemi.dev>", "panicbit <panicbit.dev@gmail.com>"]
2020-11-25 07:04:37 +00:00
license = "Hippocratic-2.1"
keywords = ["gemini", "server", "smallnet"]
categories = ["asynchronous", "network-programming"]
2020-10-31 19:53:03 +00:00
edition = "2018"
2020-11-30 22:46:28 +00:00
repository = "https://gitlab.com/Alch_Emi/kochab"
2020-11-25 07:04:37 +00:00
readme = "README.md"
include = ["src/**", "Cargo.*", "CHANGELOG.md", "LICENSE*", "README.md"]
2020-10-31 19:53:03 +00:00
[features]
default = ["certgen"]
user_management = ["sled", "bincode", "serde/derive", "crc32fast", "lazy_static"]
user_management_advanced = ["rust-argon2", "user_management"]
user_management_routes = ["user_management"]
2020-11-19 15:21:32 +00:00
serve_dir = ["mime_guess", "tokio/fs"]
ratelimiting = ["dashmap"]
certgen = ["rcgen", "gemini_srv"]
gemini_srv = ["tokio-rustls", "webpki", "rustls"]
scgi_srv = []
2020-10-31 19:53:03 +00:00
[dependencies]
anyhow = "1.0.33"
2020-11-19 15:21:32 +00:00
tokio = { version = "0.3.1", features = ["io-util","net","time", "rt"] }
2020-10-31 19:53:03 +00:00
uriparse = "0.6.3"
percent-encoding = "2.1.0"
log = "0.4.11"
ring = "0.16.15"
lazy_static = { version = "1.4.0", optional = true }
rustls = { version = "0.18.1", features = ["dangerous_configuration"], optional = true}
webpki = { version = "0.21.0", optional = true}
tokio-rustls = { version = "0.20.0", optional = true}
mime_guess = { version = "2.0.3", optional = true }
dashmap = { version = "3.11.10", optional = true }
2020-11-16 06:13:16 +00:00
sled = { version = "0.34.6", optional = true }
bincode = { version = "1.3.1", optional = true }
serde = { version = "1.0", optional = true }
2020-11-19 21:07:52 +00:00
rust-argon2 = { version = "0.8.2", optional = true }
2020-11-16 06:13:16 +00:00
crc32fast = { version = "1.2.1", optional = true }
rcgen = { version = "0.8.5", optional = true }
2020-11-14 02:56:50 +00:00
[dev-dependencies]
env_logger = "0.8.1"
2020-11-19 16:08:20 +00:00
tokio = { version = "0.3.1", features = ["macros", "rt-multi-thread", "sync"] }
2020-11-24 21:48:28 +00:00
2020-11-16 06:13:16 +00:00
[[example]]
name = "user_management"
required-features = ["user_management_routes"]
2020-11-14 02:56:50 +00:00
[[example]]
name = "serve_dir"
required-features = ["serve_dir"]
2020-11-24 21:48:28 +00:00
[[example]]
name = "ratelimiting"
required-features = ["ratelimiting"]