mirror of
https://github.com/ntex-rs/ntex.git
synced 2025-04-01 20:07:39 +03:00
60 lines
1.5 KiB
TOML
60 lines
1.5 KiB
TOML
[package]
|
|
name = "ntex-net"
|
|
version = "2.5.0"
|
|
authors = ["ntex contributors <team@ntex.rs>"]
|
|
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"]
|
|
io-uring = ["ntex-neon/io-uring", "dep:io-uring"]
|
|
|
|
[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 }
|
|
cfg-if = { workspace = true }
|
|
log = { workspace = true }
|
|
libc = { workspace = true }
|
|
slab = { workspace = true, optional = true }
|
|
socket2 = { workspace = true, optional = true }
|
|
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"
|
|
env_logger = "0.11"
|