maj/Cargo.toml

59 lines
1.2 KiB
TOML

[package]
name = "maj"
version = "0.6.2"
authors = ["Christine Dodrill <me@christine.website>"]
edition = "2018"
license = "0BSD"
description = "A gemini client and server for Rust"
repository = "https://tulpa.dev/cadey/maj"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
async-trait = { version = "0", optional = true }
log = "0.4"
mime_guess = "2.0"
num = "0.2"
num-derive = "0.3"
num-traits = "0.2"
once_cell = "1.4"
rustls = { version = "0.19", optional = true, features = ["dangerous_configuration"] }
structopt = "0.3"
thiserror = "1"
tokio-rustls = { version = "0.21", features = ["dangerous_configuration"], optional = true }
tokio = { version = "0.3", features = ["full"], optional = true }
url = "2"
webpki-roots = { version = "0.20", optional = true }
webpki = { version = "0.21.0", optional = true }
gemtext = { path = "./gemtext" }
[dev-dependencies]
pretty_env_logger = "0.4"
[features]
default = ["client", "server"]
client = [
"tokio-rustls",
"webpki",
"webpki-roots",
"tokio",
]
server = [
"rustls",
"webpki",
"webpki-roots",
"async-trait",
]
[workspace]
members = [
"./gemtext",
"./majc",
"./majd",
"./site",
"./pilno/karnycukta"
]