[package] name = "rust-rpxy" version = "0.1.0" authors = ["Jun Kurihara"] homepage = "https://github.com/junkurihara/rust-rpxy" repository = "https://github.com/junkurihara/rust-rpxy" license = "MIT" readme = "README.md" edition = "2021" publish = false # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["h3"] h3 = ["quinn"] [dependencies] anyhow = "1.0.58" clap = { version = "3.2.10", features = ["std", "cargo", "wrap_help"] } env_logger = "0.9.0" futures = "0.3.21" hyper = { version = "0.14.20", default-features = false, features = [ "server", "http1", "http2", "stream", ] } log = "0.4.17" tokio = { version = "1.19.2", default-features = false, features = [ "net", "rt-multi-thread", "parking_lot", "time", "sync", "macros", ] } tokio-rustls = { version = "0.23.4", features = ["early-data"] } rustls-pemfile = { version = "1.0.0" } rustls = "0.20.6" rand = "0.8.5" toml = "0.5.9" rustc-hash = "1.1.0" serde = { version = "1.0.139", features = ["derive"] } hyper-rustls = { version = "0.23.0", default-features = false, features = [ "tokio-runtime", "webpki-tokio", "http1", "http2", ] } quinn = { version = "0.8.3", optional = true } h3 = { git = "https://github.com/hyperium/h3.git" } h3-quinn = { git = "https://github.com/hyperium/h3.git" } bytes = "1.1.0" mimalloc-rust = "0.2.0" [dev-dependencies] [profile.release] codegen-units = 1 incremental = false lto = "fat" opt-level = 3 panic = "abort" strip = true