2018-12-10 04:55:40 +01:00
|
|
|
[package]
|
|
|
|
name = "actix-rt"
|
2022-03-09 00:42:52 +01:00
|
|
|
version = "2.7.0"
|
2021-01-31 06:19:30 +01:00
|
|
|
authors = [
|
|
|
|
"Nikolay Kim <fafhrd91@gmail.com>",
|
|
|
|
"Rob Ede <robjtede@icloud.com>",
|
2021-11-22 02:15:18 +01:00
|
|
|
"fakeshadow <24548779@qq.com>",
|
2021-01-31 06:19:30 +01:00
|
|
|
]
|
2021-02-02 03:07:58 +01:00
|
|
|
description = "Tokio-based single-threaded async runtime for the Actix ecosystem"
|
2021-02-03 11:25:31 +01:00
|
|
|
keywords = ["async", "futures", "io", "runtime"]
|
2018-12-10 04:55:40 +01:00
|
|
|
homepage = "https://actix.rs"
|
2021-10-11 06:12:57 +02:00
|
|
|
repository = "https://github.com/actix/actix-net.git"
|
2018-12-10 04:55:40 +01:00
|
|
|
categories = ["network-programming", "asynchronous"]
|
2020-07-14 12:11:30 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2018-12-10 04:55:40 +01:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "actix_rt"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
2021-01-09 16:12:59 +01:00
|
|
|
[features]
|
2022-10-10 17:55:36 +02:00
|
|
|
default = ["macros", "net"]
|
2021-01-09 16:12:59 +01:00
|
|
|
macros = ["actix-macros"]
|
2021-10-11 03:58:11 +02:00
|
|
|
io-uring = ["tokio-uring"]
|
2022-10-10 17:55:36 +02:00
|
|
|
net = ["tokio/net", "tokio/signal"]
|
2021-01-09 16:12:59 +01:00
|
|
|
|
2018-12-10 04:55:40 +01:00
|
|
|
[dependencies]
|
2021-10-19 17:13:13 +02:00
|
|
|
actix-macros = { version = "0.2.3", optional = true }
|
2020-12-27 00:26:02 +01:00
|
|
|
|
2021-01-29 03:21:06 +01:00
|
|
|
futures-core = { version = "0.3", default-features = false }
|
2022-10-10 17:55:36 +02:00
|
|
|
tokio = { version = "1.13.1", features = ["rt", "parking_lot", "sync", "time"] }
|
2021-01-26 10:46:14 +01:00
|
|
|
|
2022-03-09 00:42:52 +01:00
|
|
|
# runtime for `io-uring` feature
|
2021-10-11 03:58:11 +02:00
|
|
|
[target.'cfg(target_os = "linux")'.dependencies]
|
2022-03-08 22:57:02 +01:00
|
|
|
tokio-uring = { version = "0.3", optional = true }
|
2021-10-11 03:58:11 +02:00
|
|
|
|
2021-01-26 10:46:14 +01:00
|
|
|
[dev-dependencies]
|
2021-12-31 09:09:10 +01:00
|
|
|
tokio = { version = "1.13.1", features = ["full"] }
|
2022-01-28 23:17:12 +01:00
|
|
|
hyper = { version = "0.14.10", default-features = false, features = ["server", "tcp", "http1"] }
|