ntex/ntex-rt/Cargo.toml
2024-01-08 21:32:26 +06:00

44 lines
1.1 KiB
TOML

[package]
name = "ntex-rt"
version = "0.4.11"
authors = ["ntex contributors <team@ntex.rs>"]
description = "ntex runtime"
keywords = ["network", "framework", "async", "futures"]
homepage = "https://ntex.rs"
repository = "https://github.com/ntex-rs/ntex.git"
documentation = "https://docs.rs/ntex-rt/"
categories = ["network-programming", "asynchronous"]
license = "MIT OR Apache-2.0"
edition = "2021"
[lib]
name = "ntex_rt"
path = "src/lib.rs"
[features]
default = []
# glommio support
glommio = ["glomm-io", "futures-channel"]
# tokio support
tokio = ["tok-io"]
# async-std support
async-std = ["async_std/unstable"]
[dependencies]
async-channel = "2.0"
futures-core = "0.3"
log = "0.4"
oneshot = "0.1"
tok-io = { version = "1", package = "tokio", default-features = false, features = [
"rt",
"net",
], optional = true }
async_std = { version = "1", package = "async-std", optional = true }
[target.'cfg(target_os = "linux")'.dependencies]
glomm-io = { version = "0.8", package = "glommio", optional = true }
futures-channel = { version = "0.3", optional = true }