[package] name = "domani" version = "0.1.0" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dev-dependencies] tempdir = "0.3.7" [dependencies] sha2 = "0.10.6" hex = "0.4.3" gix = { version = "0.44.1", features = [ "blocking-network-client", "blocking-http-transport-reqwest-rust-tls", ]} serde = { version = "1.0.162", features = [ "derive" ]} serde_json = "1.0.96" trust-dns-client = "0.22.0" mockall = "0.11.4" thiserror = "1.0.40" tokio = { version = "1.34.0", features = ["full", "net", "signal"] } signal-hook = "0.3.15" futures = "0.3.28" clap = { version = "4.2.7", features = ["derive", "env"] } handlebars = { version = "4.3.7", features = [ "rust-embed" ]} rust-embed = "6.6.1" mime_guess = "2.0.4" hyper = { version = "0.14.26", features = [ "server", "stream" ]} http = "0.2.9" serde_urlencoded = "0.7.1" tokio-util = { version = "0.7.8", features = [ "io" ]} acme2 = "0.5.1" openssl = "0.10.52" rustls = "0.21.1" pem = "2.0.1" serde_with = "3.0.0" tls-listener = { version = "0.7.0", features = [ "rustls", "hyper-h1" ]} tokio-rustls = "0.24.0" log = "0.4.19" env_logger = "0.10.0" serde_yaml = "0.9.22" rand = "0.8.5" hyper-reverse-proxy = "0.5.2-dev" gemini = "0.0.5" bytes = "1.4.0" hyper-trust-dns = "0.5.0" gix-hash = "0.14.1" reqwest = { version = "0.11.23", features = ["gzip", "deflate", "stream"] } gix-object = "0.41.0" async-compression = { version = "0.4.6", features = ["tokio", "deflate", "zlib"] } [patch.crates-io] # The micropelago fork of tokio-rustls allows for gemini proxying tokio-rustls = { git = "https://code.betamike.com/micropelago/tokio-rustls.git", branch = "start-handshake-into-inner" } hyper-reverse-proxy = { git = "https://code.betamike.com/micropelago/hyper-reverse-proxy.git", branch = "dont-set-host-header" }