2020-07-24 02:25:35 +00:00
|
|
|
[package]
|
|
|
|
name = "maj"
|
2020-07-26 12:21:02 +00:00
|
|
|
version = "0.2.0"
|
2020-07-24 02:25:35 +00:00
|
|
|
authors = ["Christine Dodrill <me@christine.website>"]
|
|
|
|
edition = "2018"
|
2020-07-26 01:16:21 +00:00
|
|
|
license = "0BSD"
|
|
|
|
description = "A gemini client and server for Rust"
|
2020-07-26 01:17:33 +00:00
|
|
|
repository = "https://tulpa.dev/cadey/maj"
|
2020-07-24 02:25:35 +00:00
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2020-07-26 00:16:07 +00:00
|
|
|
async-trait = { version = "0", optional = true }
|
2020-07-24 02:25:35 +00:00
|
|
|
num = "0.2"
|
|
|
|
num-derive = "0.3"
|
|
|
|
num-traits = "0.2"
|
2020-07-25 18:16:31 +00:00
|
|
|
rustls = { version = "0.18", optional = true, features = ["dangerous_configuration"] }
|
2020-07-25 15:03:15 +00:00
|
|
|
webpki = { version = "0.21.0", optional = true }
|
|
|
|
webpki-roots = { version = "0.20", optional = true }
|
2020-07-26 00:16:07 +00:00
|
|
|
tokio-rustls = { version = "0.14", features = ["dangerous_configuration"], optional = true }
|
2020-07-24 02:25:35 +00:00
|
|
|
log = "0.4"
|
|
|
|
url = "2"
|
|
|
|
thiserror = "1"
|
2020-07-26 00:16:07 +00:00
|
|
|
structopt = "0.3"
|
2020-07-26 01:11:00 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-07-24 02:25:35 +00:00
|
|
|
pretty_env_logger = "0.4"
|
2020-07-25 15:03:15 +00:00
|
|
|
|
2020-07-26 00:16:07 +00:00
|
|
|
[dependencies.tokio]
|
2020-07-26 01:11:00 +00:00
|
|
|
version = "0.2"
|
2020-07-26 00:16:07 +00:00
|
|
|
features = [
|
|
|
|
"macros",
|
|
|
|
"net",
|
|
|
|
"tcp",
|
|
|
|
"io-util",
|
2020-07-26 14:46:07 +00:00
|
|
|
"rt-threaded",
|
2020-07-26 00:16:07 +00:00
|
|
|
"time",
|
|
|
|
"stream"
|
|
|
|
]
|
|
|
|
optional = true
|
|
|
|
|
2020-07-25 15:03:15 +00:00
|
|
|
[features]
|
2020-07-25 15:39:23 +00:00
|
|
|
default = ["client", "server"]
|
2020-07-25 15:03:15 +00:00
|
|
|
|
|
|
|
client = ["rustls", "webpki", "webpki-roots"]
|
2020-07-26 00:16:07 +00:00
|
|
|
server = ["rustls", "webpki", "webpki-roots", "tokio", "async-trait", "tokio-rustls"]
|
2020-07-25 16:39:10 +00:00
|
|
|
|
|
|
|
[workspace]
|
|
|
|
members = [
|
2020-07-26 01:11:00 +00:00
|
|
|
"./majc",
|
2020-07-26 21:47:22 +00:00
|
|
|
"./majd",
|
2020-07-26 01:11:00 +00:00
|
|
|
"./site"
|
2020-07-25 16:39:10 +00:00
|
|
|
]
|