Cargo Features

[dependencies]
ntex = { version = "2.10.0", default-features = false, features = ["openssl", "rustls", "compress", "cookie", "url", "tokio", "glommio", "async-std", "compio", "ws", "brotli"] }
default = ws

The ws feature is set by default whenever ntex is added without default-features = false somewhere in the dependency tree.

openssl = tls-openssl

Enables openssl of ntex-tls

Affects ntex::connect.openssl

rustls = tls-rustls, webpki-roots

rustls support

Enables rustls of ntex-tls

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

Enables tokio of ntex-net

glommio

glommio runtime

Enables glommio of ntex-net

async-std

async-std runtime

Enables async-std of ntex-net

compio

compio runtime

Enables compio of ntex-net

ws default

websocket support

Enables sha-1

Affects ntex::ws, web::ws

brotli

brotli2 support

Enables brotli2

compression

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.

url-pkg url?

Enables url

coo-kie cookie?

Enables cookie

tls-openssl openssl?

Enables openssl

tls-rustls rustls?

Enables rustls

webpki-roots rustls?
flate2 compress?