[package] name = "maj" version = "0.4.0" authors = ["Christine Dodrill "] 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"] } tokio-rustls = { version = "0.14", features = ["dangerous_configuration"], optional = true } webpki = { version = "0.21.0", optional = true } webpki-roots = { version = "0.20", optional = true } tokio = { version = "0.2", features = ["full"], optional = true } async-tls = { default-features = false, optional = true, git = "https://github.com/Xe/async-tls" } async-std = { version = "1.6", optional = true } log = "0.4" url = "2" thiserror = "1" structopt = "0.3" once_cell = "1.4" [dev-dependencies] pretty_env_logger = "0.4" [features] default = ["client", "server"] client = [ "tokio-rustls", "webpki", "webpki-roots", "tokio", "async-std", "async-tls/client" ] server = [ "rustls", "webpki", "webpki-roots", "async-trait", "async-std", "async-tls/server" ] [workspace] members = [ "./majc", "./majd", "./site" ]