[package]
edition = "2024"
rust-version = "1.97"
name = "ntex-server"
version = "4.5.2"
authors = ["ntex contributors <team@ntex.rs>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Server for ntex framework"
homepage = "https://ntex.rs"
documentation = "https://docs.rs/ntex-server/"
readme = false
keywords = [
"network",
"framework",
"async",
"futures",
]
categories = [
"network-programming",
"asynchronous",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/ntex-rs/ntex.git"
resolver = "2"
[lib]
name = "ntex_server"
path = "src/lib.rs"
[[test]]
name = "max_conns"
path = "tests/max_conns.rs"
[[test]]
name = "net"
path = "tests/net.rs"
[[test]]
name = "pool"
path = "tests/pool.rs"
[dependencies.async-channel]
version = "2"
[dependencies.event-listener]
version = "5"
[dependencies.libc]
version = "0.2.189"
[dependencies.log]
version = "0.4"
[dependencies.ntex-bytes]
version = "1.15.1"
[dependencies.ntex-io]
version = "4.7.2"
[dependencies.ntex-net]
version = "4.10.2"
[dependencies.ntex-polling]
version = "4.2.0"
[dependencies.ntex-rt]
version = "4.8.1"
[dependencies.ntex-service]
version = "5.7.2"
[dependencies.ntex-util]
version = "4.9.0"
[dependencies.oneshot]
version = "0.2.1"
features = [
"std",
"async",
]
[dependencies.parking_lot]
version = "0.13"
[dependencies.socket2]
version = "0.6.1"
features = ["all"]
[dependencies.uuid]
version = "1.19"
features = ["v7"]
[dev-dependencies.ntex]
version = "4.7.0"
[target."cfg(windows)".dependencies.windows-sys]
version = "0.61.0"
features = [
"Win32_Foundation",
"Win32_Networking_WinSock",
"Win32_System_IO",
"Win32_System_JobObjects",
"Win32_System_Kernel",
"Win32_System_SystemInformation",
"Win32_System_Threading",
]
[lints.clippy]
undocumented_unsafe_blocks = "deny"
unnecessary_safety_comment = "deny"
unnecessary_safety_doc = "deny"
[lints.rust]
missing_debug_implementations = "deny"
rust_2018_idioms = "deny"
unreachable_pub = "deny"
warnings = "deny"
[lints.rust.async_fn_in_trait]
level = "allow"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = -2
check-cfg = [
"cfg(docsrs)",
"cfg(docsrs_dep)",
]
[lints.rust.unknown_lints]
level = "allow"
priority = -1