2018-12-10 07:14:29 +01:00
|
|
|
[package]
|
|
|
|
name = "actix-server"
|
2021-12-05 20:34:36 +01:00
|
|
|
version = "2.0.0-rc.1"
|
2020-12-29 00:50:00 +01:00
|
|
|
authors = [
|
|
|
|
"Nikolay Kim <fafhrd91@gmail.com>",
|
|
|
|
"fakeshadow <24548779@qq.com>",
|
|
|
|
]
|
2020-09-12 16:28:17 +02:00
|
|
|
description = "General purpose TCP server built for the Actix ecosystem"
|
2018-12-10 07:14:29 +01:00
|
|
|
keywords = ["network", "framework", "async", "futures"]
|
2021-10-11 06:12:57 +02:00
|
|
|
repository = "https://github.com/actix/actix-net.git"
|
2018-12-10 07:14:29 +01:00
|
|
|
categories = ["network-programming", "asynchronous"]
|
2020-07-14 12:11:30 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2018-12-10 07:14:29 +01:00
|
|
|
edition = "2018"
|
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "actix_server"
|
|
|
|
path = "src/lib.rs"
|
|
|
|
|
|
|
|
[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]
|
2021-11-05 01:51:34 +01:00
|
|
|
actix-rt = { version = "2.4.0", default-features = false }
|
2021-04-16 16:18:53 +02:00
|
|
|
actix-service = "2.0.0"
|
2021-04-17 03:00:36 +02:00
|
|
|
actix-utils = "3.0.0"
|
2018-12-10 07:14:29 +01:00
|
|
|
|
2021-01-23 02:33:50 +01:00
|
|
|
futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
|
2021-11-14 20:45:15 +01:00
|
|
|
futures-util = { version = "0.3.7", default-features = false, features = ["alloc"] }
|
2018-12-10 07:14:29 +01:00
|
|
|
log = "0.4"
|
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"
|
2021-11-07 15:18:23 +01:00
|
|
|
socket2 = "0.4.2"
|
2021-10-11 06:12:57 +02:00
|
|
|
tokio = { version = "1.5.1", features = ["sync"] }
|
2019-07-18 13:05:40 +02:00
|
|
|
|
2021-11-07 16:43:59 +01:00
|
|
|
# runtime for io-uring feature
|
|
|
|
tokio-uring = { version = "0.1", optional = true }
|
|
|
|
|
2018-12-10 07:14:29 +01:00
|
|
|
[dev-dependencies]
|
2021-10-19 17:51:40 +02:00
|
|
|
actix-codec = "0.4.0"
|
2021-11-22 02:15:18 +01:00
|
|
|
actix-rt = "2.4.0"
|
2021-03-30 14:39:10 +02:00
|
|
|
|
2020-12-29 00:44:53 +01:00
|
|
|
bytes = "1"
|
2021-10-11 06:12:57 +02:00
|
|
|
env_logger = "0.9"
|
2021-12-05 20:22:47 +01:00
|
|
|
futures-util = { version = "0.3.7", default-features = false, features = ["sink", "async-await-macro"] }
|
2021-11-04 21:30:43 +01:00
|
|
|
tokio = { version = "1.5.1", features = ["io-util", "rt-multi-thread", "macros"] }
|