2018-12-10 07:14:29 +01:00
|
|
|
[package]
|
|
|
|
name = "actix-server"
|
2024-08-04 23:41:04 +02:00
|
|
|
version = "2.5.0"
|
2020-12-29 00:50:00 +01:00
|
|
|
authors = [
|
|
|
|
"Nikolay Kim <fafhrd91@gmail.com>",
|
2021-12-27 19:33:57 +01:00
|
|
|
"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"
|
2021-12-27 19:33:57 +01:00
|
|
|
keywords = ["network", "tcp", "server", "framework", "async"]
|
2018-12-10 07:14:29 +01:00
|
|
|
categories = ["network-programming", "asynchronous"]
|
2021-12-27 19:33:57 +01:00
|
|
|
homepage = "https://actix.rs"
|
2024-02-19 12:29:31 +01:00
|
|
|
repository = "https://github.com/actix/actix-net/tree/master/actix-server"
|
2020-07-14 12:11:30 +02:00
|
|
|
license = "MIT OR Apache-2.0"
|
2023-07-17 04:05:39 +02:00
|
|
|
edition.workspace = true
|
|
|
|
rust-version.workspace = true
|
2018-12-10 07:14:29 +01:00
|
|
|
|
2023-10-30 01:07:28 +01:00
|
|
|
[package.metadata.cargo_check_external_types]
|
|
|
|
allowed_external_types = [
|
|
|
|
"tokio::*",
|
|
|
|
]
|
|
|
|
|
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]
|
2024-06-09 07:12:07 +02:00
|
|
|
actix-rt = { version = "2.10", 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"] }
|
2024-06-20 02:22:33 +02:00
|
|
|
mio = { version = "1", features = ["os-poll", "net"] }
|
2023-07-17 04:05:39 +02:00
|
|
|
socket2 = "0.5"
|
2023-04-01 23:24:10 +02:00
|
|
|
tokio = { version = "1.23.1", 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]
|
2024-06-07 19:51:27 +02:00
|
|
|
tokio-uring = { version = "0.5", optional = true }
|
2021-11-07 16:43:59 +01:00
|
|
|
|
2018-12-10 07:14:29 +01:00
|
|
|
[dev-dependencies]
|
2022-10-30 21:25:10 +01:00
|
|
|
actix-codec = "0.5"
|
2022-12-21 21:37:04 +01:00
|
|
|
actix-rt = "2.8"
|
2021-03-30 14:39:10 +02:00
|
|
|
|
2020-12-29 00:44:53 +01:00
|
|
|
bytes = "1"
|
2024-05-12 20:10:27 +02:00
|
|
|
pretty_env_logger = "0.5"
|
2022-12-21 21:37:04 +01:00
|
|
|
futures-util = { version = "0.3.17", default-features = false, features = ["sink", "async-await-macro"] }
|
2023-04-01 23:24:10 +02:00
|
|
|
tokio = { version = "1.23.1", features = ["io-util", "rt-multi-thread", "macros", "fs"] }
|