Cargo Features
[dependencies]
ntex = { version = "3.6.0", default-features = false, features = ["openssl", "rustls", "compress", "cookie", "url", "tokio", "compio", "neon", "neon-polling", "neon-uring", "ws", "no-test-logging"] }
- default = ws
-
The
wsfeature is set by default wheneverntexis added withoutsomewhere in the dependency tree.default-features = false - openssl = tls_openssl
-
Affects
ntex::connect.openssl… - rustls = tls_rustls, webpki-roots
-
rustls support
Affects
ntex::connect.rustls… - compress = flate2
-
enable compressison support
Affects
http::encoding… -
enable cookie support
Enables percent-encode of cookie
Affects
httpmessage::HttpMessage.cookies,httpmessage::HttpMessage.cookie,response::CookieIter… - url = url-pkg
-
url support
- tokio
-
tokio runtime
- compio
-
compio runtime
- neon
-
neon runtime
- neon-polling
-
neon polling runtime
Enables neon-polling of ntex-net
- neon-uring
-
neon io-uring runtime
Enables neon-uring of ntex-net
- ws default
-
websocket support
Enables sha1
Affects
ntex::ws,web::ws… - no-test-logging
-
disable [ntex::test] logging configuration
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.