maj/Cargo.toml

59 lines
1.2 KiB
TOML
Raw Normal View History

2020-07-24 02:25:35 +00:00
[package]
name = "maj"
2020-09-26 23:21:03 +00:00
version = "0.6.2"
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-31 16:16:15 +00:00
log = "0.4"
mime_guess = "2.0"
2020-07-24 02:25:35 +00:00
num = "0.2"
num-derive = "0.3"
num-traits = "0.2"
2020-07-31 16:16:15 +00:00
once_cell = "1.4"
rustls = { version = "0.19", optional = true, features = ["dangerous_configuration"] }
2020-07-31 16:16:15 +00:00
structopt = "0.3"
thiserror = "1"
tokio-rustls = { version = "0.21", features = ["dangerous_configuration"], optional = true }
tokio = { version = "0.3", features = ["full"], optional = true }
2020-07-24 02:25:35 +00:00
url = "2"
2020-07-31 16:16:15 +00:00
webpki-roots = { version = "0.20", optional = true }
webpki = { version = "0.21.0", optional = true }
2020-08-08 20:17:35 +00:00
gemtext = { path = "./gemtext" }
[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
]
server = [
"rustls",
"webpki",
"webpki-roots",
"async-trait",
]
2020-07-25 16:39:10 +00:00
[workspace]
members = [
"./gemtext",
"./majc",
2020-07-26 21:47:22 +00:00
"./majd",
2020-07-31 11:49:06 +00:00
"./site",
"./pilno/karnycukta"
2020-07-25 16:39:10 +00:00
]