# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.58" name = "hyper-simple-server" version = "0.5.1" authors = ["Ciprian Dorin Craciun "] publish = true autobins = false autoexamples = false autotests = false autobenches = false description = "Simple friendly wrapper around hyper HTTP server" documentation = "https://docs.rs/hyper-simple-server" license = "MIT" repository = "https://github.com/console9/hyper-simple-server" resolver = "2" [profile.bench] opt-level = 3 lto = "fat" codegen-units = 1 debug = 1 debug-assertions = false overflow-checks = true incremental = false [profile.dev] opt-level = 0 lto = "off" codegen-units = 1024 debug = 2 debug-assertions = true panic = "unwind" overflow-checks = true incremental = true [profile.dev.package."*"] opt-level = 3 codegen-units = 1 debug = 2 debug-assertions = true overflow-checks = true incremental = false [profile.dev.build-override] opt-level = 3 codegen-units = 1 debug = 2 debug-assertions = true overflow-checks = true incremental = false [profile.release] opt-level = 3 lto = "fat" codegen-units = 1 debug = 1 debug-assertions = false panic = "abort" overflow-checks = true incremental = false [profile.release.build-override] opt-level = 3 codegen-units = 1 debug = 1 debug-assertions = false overflow-checks = true incremental = false [profile.test] opt-level = 0 lto = "off" codegen-units = 1024 debug = 2 debug-assertions = true overflow-checks = true incremental = true [lib] name = "hyper_simple_server" path = "./lib.rs" [dependencies.argparse] version = "0.2.2" features = [] optional = true default-features = false [dependencies.bytes] version = "1.2.1" features = [] optional = true default-features = false [dependencies.cpuprofiler] version = "0.0.4" features = [] optional = true default-features = false [dependencies.futures] version = "0.3.21" features = [] optional = true default-features = false [dependencies.http] version = "0.2.8" features = [] optional = true default-features = false [dependencies.http-body] version = "0.4.3" features = [] optional = true default-features = false [dependencies.hyper] version = "0.14.20" features = [] optional = true default-features = false [dependencies.jemalloc-sys] version = "0.3.2" features = [] optional = true default-features = false [dependencies.jemallocator] version = "0.3.2" features = [] optional = true default-features = false [dependencies.native-tls] version = "0.2.10" features = [] optional = true default-features = false [dependencies.path-tree] version = "0.2.2" features = [] optional = true default-features = false [dependencies.rustls] version = "0.19.1" features = [] optional = true default-features = false [dependencies.rustls-pemfile] version = "0.2.1" features = [] optional = true default-features = false [dependencies.tokio] version = "1.20.1" features = [] optional = true default-features = false [dependencies.tokio-native-tls] version = "0.3.0" features = [] optional = true default-features = false [dependencies.tokio-rustls] version = "0.22.0" features = [] optional = true default-features = false [features] default = ["hss-full"] features-fuzzing = [] features-none = [] hss-accepter = [ "hss-config", "tokio--net", "futures", ] hss-cli = ["argparse"] hss-config = [] hss-errors = [] hss-exports = [] hss-extensions = ["hyper--http"] hss-full = [ "hss-full-http1", "hss-full-http2", "hss-server-full", ] hss-full-common = [ "hss-server-mt", "hss-server-sanitize", "hss-handler", "hss-routes", "hss-config", "hss-accepter", "hss-tls-rust", "hss-exports", "hss-extensions", "hss-resources", "hss-errors", "hss-sanitize", "hss-main", "hss-cli", ] hss-full-http1 = [ "hss-full-common", "hss-server-http1", ] hss-full-http2 = [ "hss-full-common", "hss-server-http2", ] hss-handler = [ "hyper--http", "futures", ] hss-jemalloc = ["jemallocator"] hss-main = [] hss-resources = [ "hss-handler", "hss-extensions", ] hss-routes = [ "hss-handler", "path-tree", ] hss-runtime = ["tokio--rt"] hss-runtime-mt = [ "hss-runtime", "tokio--rt-multi-thread", ] hss-sanitize = ["hyper--http"] hss-server-core = [ "hss-config", "hss-accepter", "hss-runtime", "hyper--server", ] hss-server-debug-jemalloc = ["jemalloc-sys/stats"] hss-server-debug-strace = [] hss-server-full = [ "hss-server-mt", "hss-server-http1", "hss-server-http2", ] hss-server-http1 = [ "hss-server-core", "hyper--server-http1", ] hss-server-http2 = [ "hss-server-core", "hyper--server-http2", ] hss-server-mt = ["hss-runtime-mt"] hss-server-profiling = ["cpuprofiler"] hss-server-sanitize = ["hss-sanitize"] hss-tls-any = [] hss-tls-native = [ "hss-tls-any", "native-tls", "native-tls/alpn", "tokio-native-tls", ] hss-tls-rust = [ "hss-tls-any", "rustls", "rustls-pemfile", "tokio-rustls", ] hyper--http = [ "hyper", "http", "http-body", "bytes", ] hyper--http1 = [ "hyper", "hyper/http1", "hyper--http", ] hyper--http2 = [ "hyper", "hyper/http2", "hyper--http", ] hyper--runtime = [ "hyper", "hyper/runtime", ] hyper--server = [ "hyper", "hyper/server", ] hyper--server-http = ["hyper--server"] hyper--server-http1 = [ "hyper--server-http", "hyper--http1", ] hyper--server-http2 = [ "hyper--server-http", "hyper--http2", ] tokio--net = [ "tokio", "tokio/net", ] tokio--rt = [ "tokio", "tokio/rt", "tokio/signal", ] tokio--rt-multi-thread = [ "tokio--rt", "tokio/rt-multi-thread", ]