Cargo Features
[dependencies]
httproxide = { version = "0.2.0", default-features = false, features = ["full", "http2", "proxy-service", "fs-service", "redirect-service", "router-service", "return-service", "set-header-layer", "set-status-layer", "auth-layer", "ip-filter-layer", "auth-request-layer", "limit-layer", "tls-util", "tcp-util", "plain-listener", "tls-listener", "h3-listener", "mimalloc"] }
- default = full
-
The
full
feature is set by default wheneverhttproxide
is added without
somewhere in the dependency tree.default-features = false - full default = auth-layer, auth-request-layer, fs-service, h3-listener, http2, ip-filter-layer, limit-layer, plain-listener, proxy-service, redirect-service, return-service, router-service, set-header-layer, set-status-layer, tls-listener
-
Enables https and unix of httproxide-client-util
- http2 full
-
Enables http2 of httproxide-client-util and hyper ^0.14
- proxy-service full = client-util
-
Affects
service::proxy
… - fs-service full
-
Enables fs of tower-http ^0.4
Affects
service::fs
… - redirect-service full
-
Enables redirect of tower-http ^0.4
Affects
service::redirect
… - router-service full = regex
-
Affects
service::router
… - return-service full
-
Affects
service::ret
… - set-header-layer full
-
Enables set-header of tower-http ^0.4
Affects
layer::set_header
… - set-status-layer full
-
Enables set-status of tower-http ^0.4
Affects
layer::set_status
… - auth-layer full
-
Enables auth of tower-http ^0.4
Affects
layer::auth
… - ip-filter-layer full = ipnet
-
Enables auth of tower-http ^0.4
Affects
layer::ip_filter
… - auth-request-layer full = client-util
-
Enables validate-request of tower-http ^0.4
Affects
layer::auth_request
… - limit-layer full
-
Enables limit and map-request-body of tower-http ^0.4
Affects
layer::limit
… - tls-util h3-listener? tls-listener? = lazy_static, rcgen, rustls, rustls-pemfile, serde-tuple-vec-map
-
Affects
httproxide::tls_util
… - tcp-util plain-listener? tls-listener? = socket2
-
Enables server of hyper ^0.14
Affects
httproxide::tcp_util
… - plain-listener full = tcp-util
-
Enables server of hyper ^0.14
Affects
listener::plain
… - tls-listener full = tcp-util, tls-util, tokio-rustls
-
Enables server of hyper ^0.14
Affects
listener::tls
… - h3-listener full = h3, h3-quinn, quinn, tls-util
-
Affects
listener::h3
…
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.
- client-util auth-request-layer? full http2? proxy-service?
-
Enables httproxide-client-util
- h3 h3-listener?
-
Enables h3 ^0.0.2
- h3-quinn h3-listener?
-
Enables h3-quinn ^0.0.3
- ipnet ip-filter-layer?
- lazy_static tls-util?
- quinn h3-listener?
-
Enables quinn ^0.10
this enables all default features in the transitive dependency
- rcgen tls-util?
-
Enables rcgen ^0.11
- regex router-service?
- rustls tls-util?
-
Enables rustls ^0.21
- rustls-pemfile tls-util?
-
Enables rustls-pemfile ^1.0
- serde-tuple-vec-map tls-util?
- tokio-rustls tls-listener?
-
Enables tokio-rustls ^0.24
- socket2 tcp-util?
- mimalloc implicit feature
-
Enables mimalloc
mimalloc:
Performance and security oriented drop-in allocator