[package] name = "ntex-net" version = "2.5.0" authors = ["ntex contributors "] description = "ntexwork utils for ntex framework" keywords = ["network", "framework", "async", "futures"] homepage = "https://ntex.rs" repository = "https://github.com/ntex-rs/ntex.git" documentation = "https://docs.rs/ntex-connect/" categories = ["network-programming", "asynchronous"] license = "MIT OR Apache-2.0" edition = "2021" [lib] name = "ntex_net" path = "src/lib.rs" [features] default = [] # tokio runtime tokio = ["ntex-rt/tokio", "ntex-tokio"] # compio runtime compio = ["ntex-rt/compio", "ntex-compio"] # neon runtime neon = ["ntex-rt/neon", "ntex-neon/polling", "slab", "socket2"] # neon io-uring runtime neon-uring = ["ntex-rt/neon", "ntex-neon/io-uring", "io-uring", "slab", "socket2"] [dependencies] ntex-service = "3.3" ntex-bytes = "0.1" ntex-http = "0.1" ntex-io = "2.11" ntex-rt = "0.4.25" ntex-util = "2.5" ntex-tokio = { version = "0.5.3", optional = true } ntex-compio = { version = "0.2.4", optional = true } ntex-neon = { version = "0.1.0", optional = true } bitflags = { workspace = true } log = { workspace = true } libc = { workspace = true } thiserror = { workspace = true } slab = { workspace = true, optional = true } socket2 = { workspace = true, optional = true } # Linux specific dependencies [target.'cfg(target_os = "linux")'.dependencies] io-uring = { workspace = true, optional = true } [dev-dependencies] ntex = "2" env_logger = "0.11"