[package]
edition = "2024"
name = "nio"
version = "0.1.3"
authors = ["Nur <nurmohammed840@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Async runtime for Rust"
readme = "README.md"
keywords = [
"nio",
"async",
"task",
"runtime",
]
license = "Apache-2.0"
repository = "https://github.com/nurmohammed840/nio"
resolver = "2"
[features]
default = ["futures-io"]
futures-io = ["dep:futures-io"]
metrics = []
tokio-io = ["dep:tokio"]
[lib]
name = "nio"
path = "src/lib.rs"
[[test]]
name = "async_io_test_suite"
path = "tests/async-io/mod.rs"
[[test]]
name = "async_send_sync"
path = "tests/async_send_sync.rs"
[[test]]
name = "buffered"
path = "tests/buffered.rs"
[[test]]
name = "join_handle_panic"
path = "tests/join_handle_panic.rs"
[[test]]
name = "macros_test"
path = "tests/macros_test.rs"
[[test]]
name = "macros_test_rename"
path = "tests/macros_test_rename.rs"
[[test]]
name = "rt_basic"
path = "tests/rt_basic.rs"
[[test]]
name = "rt_common"
path = "tests/rt_common.rs"
[[test]]
name = "rt_local"
path = "tests/rt_local.rs"
[[test]]
name = "rt_threaded"
path = "tests/rt_threaded.rs"
[[test]]
name = "task_abort"
path = "tests/task_abort.rs"
[[test]]
name = "task_id"
path = "tests/task_id.rs"
[[test]]
name = "tcp_accept"
path = "tests/tcp_accept.rs"
[[test]]
name = "tcp_connect"
path = "tests/tcp_connect.rs"
[[test]]
name = "tcp_echo"
path = "tests/tcp_echo.rs"
[[test]]
name = "tcp_into_split"
path = "tests/tcp_into_split.rs"
[[test]]
name = "tcp_peek"
path = "tests/tcp_peek.rs"
[[test]]
name = "tcp_shutdown"
path = "tests/tcp_shutdown.rs"
[[test]]
name = "time"
path = "tests/time.rs"
[[test]]
name = "time_sleep"
path = "tests/time_sleep.rs"
[[test]]
name = "udp"
path = "tests/udp.rs"
[[test]]
name = "unwindsafe"
path = "tests/unwindsafe.rs"
[dependencies.crossbeam-queue]
version = "0.3"
[dependencies.crossbeam-utils]
version = "0.8"
[dependencies.futures-io]
version = "0.3"
optional = true
[dependencies.mio]
version = "1"
features = [
"os-poll",
"net",
]
[dependencies.nio-future]
version = "0.0.1"
[dependencies.nio-macros]
version = "0.3"
[dependencies.nio-metrics]
version = "0.0.0"
[dependencies.nio-task]
version = "0.2"
[dependencies.nio-threadpool]
version = "0.1"
[dependencies.tokio]
version = "1"
optional = true
default-features = false
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.futures-lite]
version = "2"
[dev-dependencies.pin-project-lite]
version = "0.2"
[dev-dependencies.tokio]
version = "1"
features = ["full"]
[dev-dependencies.tokio-test]
version = "0.4.0"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ["cfg(mio_unsupported_force_poll_poll)"]