mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-27 19:12:56 +01:00
40 lines
1.2 KiB
TOML
40 lines
1.2 KiB
TOML
[package]
|
|
name = "actix-rt"
|
|
version = "2.9.0"
|
|
authors = [
|
|
"Nikolay Kim <fafhrd91@gmail.com>",
|
|
"Rob Ede <robjtede@icloud.com>",
|
|
]
|
|
description = "Tokio-based single-threaded async runtime for the Actix ecosystem"
|
|
keywords = ["async", "futures", "io", "runtime"]
|
|
homepage = "https://actix.rs"
|
|
repository = "https://github.com/actix/actix-net.git"
|
|
categories = ["network-programming", "asynchronous"]
|
|
license = "MIT OR Apache-2.0"
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
|
|
[package.metadata.cargo_check_external_types]
|
|
allowed_external_types = [
|
|
"tokio::*",
|
|
]
|
|
|
|
[features]
|
|
default = ["macros"]
|
|
macros = ["actix-macros"]
|
|
io-uring = ["tokio-uring"]
|
|
|
|
[dependencies]
|
|
actix-macros = { version = "0.2.3", optional = true }
|
|
|
|
futures-core = { version = "0.3", default-features = false }
|
|
tokio = { version = "1.23.1", features = ["rt", "net", "parking_lot", "signal", "sync", "time"] }
|
|
|
|
# runtime for `io-uring` feature
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
|
tokio-uring = { version = "0.4", optional = true }
|
|
|
|
[dev-dependencies]
|
|
tokio = { version = "1.23.1", features = ["full"] }
|
|
hyper = { version = "0.14.10", default-features = false, features = ["server", "tcp", "http1"] }
|