54 lines
1.2 KiB
TOML
54 lines
1.2 KiB
TOML
[package]
|
|
name = "maj"
|
|
version = "0.2.0"
|
|
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 }
|
|
num = "0.2"
|
|
num-derive = "0.3"
|
|
num-traits = "0.2"
|
|
rustls = { version = "0.18", optional = true, features = ["dangerous_configuration"] }
|
|
webpki = { version = "0.21.0", optional = true }
|
|
webpki-roots = { version = "0.20", optional = true }
|
|
tokio-rustls = { version = "0.14", features = ["dangerous_configuration"], optional = true }
|
|
log = "0.4"
|
|
url = "2"
|
|
thiserror = "1"
|
|
structopt = "0.3"
|
|
|
|
[dev-dependencies]
|
|
pretty_env_logger = "0.4"
|
|
|
|
[dependencies.tokio]
|
|
version = "0.2"
|
|
features = [
|
|
"macros",
|
|
"net",
|
|
"tcp",
|
|
"io-util",
|
|
"rt-threaded",
|
|
"time",
|
|
"stream"
|
|
]
|
|
optional = true
|
|
|
|
[features]
|
|
default = ["client", "server"]
|
|
|
|
client = ["rustls", "webpki", "webpki-roots"]
|
|
server = ["rustls", "webpki", "webpki-roots", "tokio", "async-trait", "tokio-rustls"]
|
|
|
|
[workspace]
|
|
members = [
|
|
"./majc",
|
|
"./majd",
|
|
"./site"
|
|
]
|