1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 22:51:07 +01:00
actix-net/actix-server/Cargo.toml

47 lines
1.5 KiB
TOML
Raw Normal View History

2018-12-10 07:14:29 +01:00
[package]
name = "actix-server"
2022-12-21 21:37:51 +01:00
version = "2.2.0"
2020-12-29 00:50:00 +01:00
authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"Rob Ede <robjtede@icloud.com>",
"Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>",
2020-12-29 00:50:00 +01:00
]
2020-09-12 16:28:17 +02:00
description = "General purpose TCP server built for the Actix ecosystem"
keywords = ["network", "tcp", "server", "framework", "async"]
2018-12-10 07:14:29 +01:00
categories = ["network-programming", "asynchronous"]
homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-net.git"
license = "MIT OR Apache-2.0"
edition = "2021"
rust-version = "1.60"
2018-12-10 07:14:29 +01:00
[features]
default = []
2021-11-14 20:45:15 +01:00
io-uring = ["tokio-uring", "actix-rt/io-uring"]
2019-07-18 13:05:40 +02:00
2018-12-10 07:14:29 +01:00
[dependencies]
2022-12-21 21:37:04 +01:00
actix-rt = { version = "2.8", default-features = false }
2022-03-09 00:42:52 +01:00
actix-service = "2"
actix-utils = "3"
2018-12-10 07:14:29 +01:00
2022-12-21 21:37:04 +01:00
futures-core = { version = "0.3.17", default-features = false, features = ["alloc"] }
futures-util = { version = "0.3.17", default-features = false, features = ["alloc"] }
2021-11-15 19:48:37 +01:00
mio = { version = "0.8", features = ["os-poll", "net"] }
2020-09-12 16:28:17 +02:00
num_cpus = "1.13"
socket2 = "0.4.2"
tokio = { version = "1.18.4", features = ["sync"] }
2022-03-09 02:08:35 +01:00
tracing = { version = "0.1.30", default-features = false, features = ["log"] }
2019-07-18 13:05:40 +02:00
2022-03-09 00:42:52 +01:00
# runtime for `io-uring` feature
2022-01-12 00:36:49 +01:00
[target.'cfg(target_os = "linux")'.dependencies]
2022-12-21 03:45:31 +01:00
tokio-uring = { version = "0.4", optional = true }
2018-12-10 07:14:29 +01:00
[dev-dependencies]
actix-codec = "0.5"
2022-12-21 21:37:04 +01:00
actix-rt = "2.8"
bytes = "1"
2022-12-21 22:17:21 +01:00
env_logger = "0.10"
2022-12-21 21:37:04 +01:00
futures-util = { version = "0.3.17", default-features = false, features = ["sink", "async-await-macro"] }
tokio = { version = "1.18.4", features = ["io-util", "rt-multi-thread", "macros", "fs"] }