maj/Cargo.toml

57 lines
1.2 KiB
TOML
Raw Normal View History

2020-07-24 02:25:35 +00:00
[package]
name = "maj"
2020-07-27 22:14:45 +00:00
version = "0.3.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-25 15:03:15 +00:00
webpki = { version = "0.21.0", optional = true }
webpki-roots = { version = "0.20", optional = true }
2020-07-27 23:49:39 +00:00
async-tls = { version = "0.9.0", default-features = false, optional = true }
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 = [
"rustls",
"webpki",
"webpki-roots",
"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
]