maj/Cargo.toml

60 lines
1.3 KiB
TOML
Raw Permalink Normal View History

2020-07-24 02:25:35 +00:00
[package]
name = "maj"
2020-07-28 01:39:57 +00:00
version = "0.4.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"
rustls = { version = "0.18", optional = true, features = ["dangerous_configuration"] }
2020-07-28 00:01:09 +00:00
tokio-rustls = { version = "0.14", features = ["dangerous_configuration"], optional = true }
2020-07-25 15:03:15 +00:00
webpki = { version = "0.21.0", optional = true }
webpki-roots = { version = "0.20", optional = true }
2020-07-28 00:01:09 +00:00
tokio = { version = "0.2", features = ["full"], optional = true }
2020-07-28 01:21:24 +00:00
async-tls = { default-features = false, optional = true, git = "https://github.com/Xe/async-tls" }
2020-07-27 23:49:39 +00:00
async-std = { version = "1.6", 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-27 23:49:39 +00:00
once_cell = "1.4"
[dev-dependencies]
2020-07-24 02:25:35 +00:00
pretty_env_logger = "0.4"
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
2020-07-27 23:49:39 +00:00
client = [
2020-07-28 00:01:09 +00:00
"tokio-rustls",
2020-07-27 23:49:39 +00:00
"webpki",
"webpki-roots",
2020-07-28 00:01:09 +00:00
"tokio",
2020-07-27 23:49:39 +00:00
"async-std",
"async-tls/client"
]
server = [
"rustls",
"webpki",
"webpki-roots",
"async-trait",
"async-std",
"async-tls/server"
]
2020-07-25 16:39:10 +00:00
[workspace]
members = [
"./majc",
2020-07-26 21:47:22 +00:00
"./majd",
"./site"
2020-07-25 16:39:10 +00:00
]