[package]
name = "ntex"
version = "0.7.14"
authors = ["ntex contributors <team@ntex.rs>"]
description = "Framework for composable network services"
readme = "README.md"
keywords = ["ntex", "networking", "framework", "async", "futures"]
repository = "https://github.com/ntex-rs/ntex.git"
documentation = "https://docs.rs/ntex/"
categories = ["network-programming", "asynchronous",
"web-programming::http-server",
"web-programming::websocket"]
license = "MIT"
edition = "2021"
[package.metadata.docs.rs]
features = ["tokio", "openssl", "rustls", "compress", "cookie"]
[lib]
name = "ntex"
path = "src/lib.rs"
[features]
default = []
openssl = ["tls-openssl", "ntex-tls/openssl", "ntex-connect/openssl"]
rustls = ["tls-rustls", "webpki-roots", "ntex-tls/rustls", "ntex-connect/rustls"]
compress = ["flate2", "brotli2"]
cookie = ["coo-kie", "coo-kie/percent-encode"]
url = ["url-pkg"]
tokio = ["ntex-rt/tokio", "ntex-tokio", "ntex-connect/tokio"]
glommio = ["ntex-rt/glommio", "ntex-glommio", "ntex-connect/glommio"]
async-std = ["ntex-rt/async-std", "ntex-async-std", "ntex-connect/async-std"]
[dependencies]
ntex-codec = "0.6.2"
ntex-connect = "0.3.3"
ntex-http = "0.1.11"
ntex-router = "0.5.2"
ntex-service = "1.2.7"
ntex-macros = "0.1.3"
ntex-util = "0.3.4"
ntex-bytes = "0.1.21"
ntex-h2 = "0.4.4"
ntex-rt = "0.4.11"
ntex-io = "0.3.15"
ntex-tls = "0.3.3"
ntex-tokio = { version = "0.3.1", optional = true }
ntex-glommio = { version = "0.3.1", optional = true }
ntex-async-std = { version = "0.3.2", optional = true }
async-channel = "2.1"
base64 = "0.21"
bitflags = "2.4"
log = "0.4"
oneshot = { version = "0.1", default-features = false, features = ["async"] }
nanorand = { version = "0.7", default-features = false, features = ["std", "wyrand"] }
polling = "3.3"
pin-project-lite = "0.2"
regex = { version = "1.10", default-features = false, features = ["std"] }
sha-1 = "0.10"
serde = { version = "1.0", features=["derive"] }
socket2 = "0.5"
thiserror = "1.0"
httparse = "1.8"
httpdate = "1.0"
encoding_rs = "0.8"
mime = "0.3"
percent-encoding = "2.3"
serde_json = "1.0"
serde_urlencoded = "0.7"
url-pkg = { version = "2.4", package = "url", optional = true }
coo-kie = { version = "0.17", package = "cookie", optional = true }
tls-openssl = { version="0.10", package = "openssl", optional = true }
tls-rustls = { version = "0.21", package = "rustls", optional = true }
webpki-roots = { version = "0.25", optional = true }
brotli2 = { version="0.3.2", optional = true }
flate2 = { version = "1.0.22", optional = true }
[dev-dependencies]
env_logger = "0.10"
rand = "0.8"
time = "0.3"
futures-util = "0.3"
tls-openssl = { version="0.10", package = "openssl" }
tls-rustls = { version = "0.21", package="rustls", features = ["dangerous_configuration"] }
rustls-pemfile = "1.0"
webpki-roots = "0.25"