[package] name = "ntex-net" version = "2.5.9" 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", "slab", "socket2"] polling = ["ntex-neon/polling", "dep:polling", "socket2"] io-uring = ["ntex-neon/io-uring", "dep:io-uring", "socket2"] [dependencies] ntex-service = "3.3" ntex-bytes = "0.1" ntex-http = "0.1" ntex-io = "2.11.1" 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.14", optional = true } bitflags = { workspace = true } cfg-if = { workspace = true } log = { workspace = true } libc = { workspace = true } slab = { workspace = true, optional = true } socket2 = { workspace = true, optional = true, features = ["all"] } thiserror = { workspace = true } # Linux specific dependencies [target.'cfg(target_os = "linux")'.dependencies] io-uring = { workspace = true, optional = true } polling = { workspace = true, optional = true } [dev-dependencies] ntex = "2"