Cargo Features
[dependencies]
hyper-simple-server = { version = "0.5.1", default-features = false, features = ["hss-full", "hss-full-http1", "hss-full-http2", "hss-full-common", "hss-server-full", "hss-server-http1", "hss-server-http2", "hss-server-mt", "hss-server-sanitize", "hss-server-profiling", "hss-server-core", "hss-accepter", "hss-config", "hss-handler", "hss-routes", "hss-sanitize", "hss-extensions", "hss-resources", "hss-exports", "hss-runtime", "hss-runtime-mt", "hss-main", "hss-cli", "hss-tls-rust", "hss-tls-native", "hss-tls-any", "hss-jemalloc", "hss-server-debug-strace", "hss-server-debug-jemalloc", "hyper--server-http1", "hyper--server-http2", "hyper--server-http", "hyper--server", "hyper--http1", "hyper--http2", "hyper--http", "hyper--runtime", "tokio--rt", "tokio--rt-multi-thread", "tokio--net", "features-none"] }
- default = hss-full
-
meta
- hss-full default = hss-full-http1, hss-full-http2, hss-server-full
-
meta
- hss-full-http1 hss-full = hss-full-common, hss-server-http1
-
meta
- hss-full-http2 hss-full = hss-full-common, hss-server-http2
-
meta
- hss-full-common hss-full-http1? hss-full-http2? = hss-accepter, hss-cli, hss-config, hss-errors, hss-exports, hss-extensions, hss-handler, hss-main, hss-resources, hss-routes, hss-sanitize, hss-server-mt, hss-server-sanitize, hss-tls-rust
-
meta(crate)
- hss-server-full hss-full = hss-server-http1, hss-server-http2, hss-server-mt
-
meta
- hss-server-http1 hss-full-http1? hss-server-full? = hss-server-core, hyper--server-http1
-
meta
- hss-server-http2 hss-full-http2? hss-server-full? = hss-server-core, hyper--server-http2
-
meta
- hss-server-mt hss-full-common? hss-server-full? = hss-runtime-mt
-
gate
Affects
cli::ConfigurationArguments.server_threads
,cli::ConfigurationArguments.server_threads_help
,configuration::Configuration.threads
… - hss-server-sanitize hss-full-common? = hss-sanitize
-
gate
- hss-server-profiling = cpuprofiler
-
gate
Affects
cli::ConfigurationArguments.server_profiling
,cli::ConfigurationArguments.server_profiling_help
,configuration::Configuration.profiling
… - hss-server-core hss-server-http1? hss-server-http2? = hss-accepter, hss-config, hss-runtime, hyper--server
-
meta(crate)
Affects
main::prepare_configuration_http
,main::prepare_configuration
,server::Server
,server::ServerExecutor
,main::main_with_handler
,main::run_with_handler
,main::main_with_handler_dyn
,main::run_with_handler_dyn
,main::main_with_routes
,main::run_with_routes
,main::prepare_configuration_https
,main::prepare_configuration_with_extensions
… - hss-accepter hss-full-common? hss-server-core? = futures, hss-config, tokio--net
-
gate(crate)
Affects
accepter::Accepter
,connection::Connection
… - hss-config hss-accepter? hss-full-common? hss-server-core?
-
gate(crate)
Affects
configuration::Configuration
,configuration::Endpoint
,configuration::EndpointAddress
,configuration::EndpointProtocol
,configuration::EndpointSecurity
,configuration::ConfigurationBuilder
,cli::ConfigurationArguments
,cli::CliExtensions
,cli::CliArgument
… - hss-handler hss-full-common? hss-resources? hss-routes? = futures, hyper--http
-
gate
Affects
configuration::Configuration.handler
,handler::Handler
,handler::HandlerWrapper
,handler::HandlerFnAsync
,handler::HandlerFnSync
,handler::HandlerDyn
,handler::HandlerDynArc
,handler::HandlerFutureDynBox
,handler::BodyDyn
,handler::BodyDynBox
,handler::HandlerSimpleAsync
,handler::HandlerSimpleAsyncWrapper
,handler::HandlerSimpleAsyncWrapperFuture
,handler::HandlerSimpleSync
,handler::HandlerSimpleSyncWrapper
,handler::BodyWrapper
,main::main_with_handler
,main::run_with_handler
,main::main_with_handler_dyn
,main::run_with_handler_dyn
… - hss-routes hss-full-common? = hss-handler, path-tree
-
gate
Affects
routes::Routes
,routes::RoutesBuilder
,routes::Route
,routes::RouteHandler
,routes::RouteHandlerDyn
,routes::RouteMatched
,routes::RoutePaths
,main::main_with_routes
,main::run_with_routes
… - hss-sanitize hss-full-common? hss-server-sanitize? = hyper--http
-
gate
Affects
sanitize::sanitize_scheme
,sanitize::sanitize_authority
,sanitize::sanitize_path
,sanitize::sanitize_query
,sanitize::sanitize_path_and_query
… - hss-extensions hss-full-common? hss-resources? = hyper--http
-
gate
Affects
exports::ContentType
,exports::consts
,extensions::RequestExt
,extensions::ResponseExt
,extensions::ResponseExtBuild
,extensions::BodyExt
,handler::HandlerSimpleAsync
,handler::HandlerSimpleAsyncWrapper
,handler::HandlerSimpleAsyncWrapperFuture
,handler::HandlerSimpleSync
,handler::HandlerSimpleSyncWrapper
,handler::BodyWrapper
… - hss-resources hss-full-common? = hss-extensions, hss-handler
-
gate
Affects
resources::FileResource
,resources::BytesResource
,resources::EmbeddedResource
… - hss-errors hss-exports hss-full-common?
-
gate
- hss-runtime hss-runtime-mt? hss-server-core? = tokio--rt
-
gate
- hss-runtime-mt hss-server-mt? = hss-runtime, tokio--rt-multi-thread
-
gate
- hss-main hss-full-common?
-
gate
Affects
main::prepare_configuration_http
,main::prepare_configuration
,main::main_with_handler
,main::run_with_handler
,main::main_with_handler_dyn
,main::run_with_handler_dyn
,main::main_with_routes
,main::run_with_routes
,main::prepare_configuration_https
,main::prepare_configuration_with_extensions
… - hss-cli hss-full-common? = argparse
-
gate
Affects
cli::CliArguments
,cli::ConfigurationArguments
,cli::CliExtensions
,cli::CliArgument
,main::prepare_configuration_with_extensions
… - hss-tls-rust hss-full-common? = hss-tls-any, rustls, rustls-pemfile, tokio-rustls
-
gate
Affects
cli::ConfigurationArguments.endpoint_rust_tls_certificate_pem_path
,cli::ConfigurationArguments.endpoint_rust_tls_certificate_pem_path_help
,cli::ConfigurationArguments.endpoint_rust_tls_certificate_fallback
,configuration::RustTlsCertificate
… - hss-tls-native = hss-tls-any, native-tls, tokio-native-tls
-
gate
Enables alpn of native-tls
Affects
cli::ConfigurationArguments.endpoint_native_tls_certificate_pkcs12_path
,cli::ConfigurationArguments.endpoint_native_tls_certificate_pkcs12_password
,cli::ConfigurationArguments.endpoint_native_tls_certificate_pkcs12_path_help
,cli::ConfigurationArguments.endpoint_native_tls_certificate_fallback
,configuration::NativeTlsCertificate
… - hss-tls-any hss-tls-native? hss-tls-rust?
-
gate(crate)
Affects
cli::ConfigurationArguments.endpoint_insecure
,cli::ConfigurationArguments.endpoint_insecure_help
,main::prepare_configuration_https
… - hss-jemalloc = jemallocator
-
gate
- hss-server-debug-strace
-
gate
- hss-server-debug-jemalloc
-
gate
Enables stats of jemalloc-sys ^0.3.2
- hyper--server-http1 hss-server-http1? = hyper--http1, hyper--server-http
-
Affects
cli::ConfigurationArguments.endpoint_protocol_http1
,cli::ConfigurationArguments.endpoint_protocol_http1_help
… - hyper--server-http2 hss-server-http2? = hyper--http2, hyper--server-http
-
Affects
cli::ConfigurationArguments.endpoint_protocol_http2
,cli::ConfigurationArguments.endpoint_protocol_http2_help
… - hyper--server-http hyper--server-http1? hyper--server-http2? = hyper--server
- hyper--server hss-server-core? hyper--server-http? = hyper
-
Enables server of hyper ^0.14.20
Affects
server::Server
,server::ServerExecutor
… - hyper--http1 hyper--server-http1? = hyper, hyper--http
-
Enables http1 of hyper ^0.14.20
hyper:
HTTP versions
- hyper--http2 hyper--server-http2? = hyper, hyper--http
-
Enables http2 of hyper ^0.14.20
- hyper--http hss-extensions? hss-handler? hss-sanitize? hyper--http1? hyper--http2? = bytes, http, http-body, hyper
- hyper--runtime = hyper
-
Enables runtime of hyper ^0.14.20
- tokio--rt hss-runtime? tokio--rt-multi-thread? = tokio
-
Enables rt and signal of tokio
Affects
server::runtime_current_thread
,extensions::BodyExt
… - tokio--rt-multi-thread hss-runtime-mt? = tokio--rt
-
Enables rt-multi-thread of tokio
Affects
server::runtime_multiple_threads
… - tokio--net hss-accepter? = tokio
- features-fuzzing features-none
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- hyper hyper--http? hyper--http1? hyper--http2? hyper--runtime? hyper--server?
-
Enables hyper ^0.14.20
- tokio tokio--net? tokio--rt? tokio--rt-multi-thread?
- http hyper--http?
-
Enables http ^0.2.8
Affects
exports::Headers
… - http-body hyper--http?
-
Enables http-body ^0.4.3
- bytes hyper--http?
- rustls hss-tls-rust?
-
Enables rustls ^0.19.1
- tokio-rustls hss-tls-rust?
-
Enables tokio-rustls ^0.22.0
- rustls-pemfile hss-tls-rust?
-
Enables rustls-pemfile ^0.2.1
- native-tls hss-tls-native?
- tokio-native-tls hss-tls-native?
- futures hss-accepter? hss-handler?
- path-tree hss-routes?
-
Enables path-tree ^0.2.2
- argparse hss-cli?
- cpuprofiler hss-server-profiling?
-
Affects
profiling::ProfilingSession
… - jemallocator hss-jemalloc?
-
Enables jemallocator ^0.3.2
- jemalloc-sys hss-server-debug-jemalloc?
-
Enables jemalloc-sys ^0.3.2