ntex 2.18.0

Framework for composable network services
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.82"
name = "ntex"
version = "2.18.0"
authors = ["ntex contributors <team@ntex.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Framework for composable network services"
documentation = "https://docs.rs/ntex/"
readme = "README.md"
keywords = [
    "ntex",
    "networking",
    "framework",
    "async",
    "futures",
]
categories = [
    "network-programming",
    "asynchronous",
    "web-programming::http-server",
    "web-programming::websocket",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ntex-rs/ntex"

[package.metadata.docs.rs]
toolchain = "nightly"
features = [
    "tokio",
    "openssl",
    "rustls",
    "compress",
    "cookie",
    "ws",
    "ntex-tls/rustls-ring",
]
rustc-args = [
    "--cfg",
    "docsrs_dep",
]
rustdoc-args = [
    "--cfg",
    "docsrs_dep",
]

[features]
compio = ["ntex-net/compio"]
compress = ["flate2"]
cookie = [
    "coo-kie",
    "coo-kie/percent-encode",
]
default = ["ws"]
neon = ["ntex-net/neon"]
neon-uring = [
    "ntex-net/neon",
    "ntex-net/io-uring",
]
no-test-logging = []
openssl = [
    "tls-openssl",
    "ntex-tls/openssl",
]
rustls = [
    "tls-rustls",
    "webpki-roots",
    "ntex-tls/rustls",
]
tokio = ["ntex-net/tokio"]
url = ["url-pkg"]
ws = ["dep:sha1"]

[lib]
name = "ntex"
path = "src/lib.rs"

[[example]]
name = "basic"
path = "examples/basic.rs"

[[example]]
name = "client"
path = "examples/client.rs"

[[example]]
name = "echo"
path = "examples/echo.rs"

[[example]]
name = "echo2"
path = "examples/echo2.rs"

[[example]]
name = "hello-world"
path = "examples/hello-world.rs"

[[example]]
name = "uds"
path = "examples/uds.rs"

[[test]]
name = "connect"
path = "tests/connect.rs"

[[test]]
name = "http_awc_client"
path = "tests/http_awc_client.rs"

[[test]]
name = "http_awc_openssl_client"
path = "tests/http_awc_openssl_client.rs"

[[test]]
name = "http_awc_rustls_client"
path = "tests/http_awc_rustls_client.rs"

[[test]]
name = "http_client"
path = "tests/http_client.rs"

[[test]]
name = "http_openssl"
path = "tests/http_openssl.rs"

[[test]]
name = "http_server"
path = "tests/http_server.rs"

[[test]]
name = "http_ws"
path = "tests/http_ws.rs"

[[test]]
name = "http_ws_client"
path = "tests/http_ws_client.rs"

[[test]]
name = "rustls_utils"
path = "tests/rustls_utils.rs"

[[test]]
name = "server"
path = "tests/server.rs"

[[test]]
name = "web_httpserver"
path = "tests/web_httpserver.rs"

[[test]]
name = "web_server"
path = "tests/web_server.rs"

[[test]]
name = "web_ws"
path = "tests/web_ws.rs"

[dependencies.base64]
version = "0.22"

[dependencies.bitflags]
version = "2"

[dependencies.coo-kie]
version = "0.18"
optional = true
package = "cookie"

[dependencies.encoding_rs]
version = "0.8"

[dependencies.env_logger]
version = "0.11"
default-features = false

[dependencies.flate2]
version = "1.0"
optional = true

[dependencies.httparse]
version = "1.9"

[dependencies.httpdate]
version = "1.0"

[dependencies.log]
version = "0.4"

[dependencies.mime]
version = "0.3"

[dependencies.nanorand]
version = "0.8"
features = [
    "std",
    "wyrand",
    "entropy",
]
default-features = false

[dependencies.ntex-bytes]
version = "0.1.31"

[dependencies.ntex-codec]
version = "0.6"

[dependencies.ntex-h2]
version = "1.14.2"

[dependencies.ntex-http]
version = "0.1.15"

[dependencies.ntex-io]
version = "2.15.1"

[dependencies.ntex-macros]
version = "0.1"

[dependencies.ntex-net]
version = "2.9.0"

[dependencies.ntex-router]
version = "0.5"

[dependencies.ntex-rt]
version = "0.4.33"

[dependencies.ntex-server]
version = "2.8.1"

[dependencies.ntex-service]
version = "3.5"

[dependencies.ntex-tls]
version = "2.3"

[dependencies.ntex-util]
version = "2.14"

[dependencies.percent-encoding]
version = "2.3"

[dependencies.pin-project-lite]
version = "0.2"

[dependencies.regex]
version = "1.11"
features = ["std"]
default-features = false

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.sha1]
version = "0.10"
optional = true

[dependencies.thiserror]
version = "2"

[dependencies.tls-openssl]
version = "0.10"
optional = true
package = "openssl"

[dependencies.tls-rustls]
version = "0.23"
optional = true
default-features = false
package = "rustls"

[dependencies.url-pkg]
version = "2.5.2"
optional = true
package = "url"

[dependencies.variadics_please]
version = "1.1"

[dependencies.webpki-roots]
version = "1.0"
optional = true

[dev-dependencies.futures-util]
version = "0.3.29"
features = ["alloc"]
default-features = false

[dev-dependencies.oneshot]
version = "0.1"

[dev-dependencies.rand]
version = "0.9"

[dev-dependencies.rustls-pemfile]
version = "2"

[dev-dependencies.time]
version = "0.3"

[dev-dependencies.tls-openssl]
version = "0.10"
package = "openssl"

[dev-dependencies.tls-rustls]
version = "0.23"
features = [
    "ring",
    "std",
]
default-features = false
package = "rustls"

[dev-dependencies.webpki-roots]
version = "1.0"

[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(docsrs_dep)"]