[dependencies.actix-rt]
default-features = false
version = "2.10"
[dependencies.actix-service]
version = "2"
[dependencies.actix-utils]
version = "3"
[dependencies.futures-core]
default-features = false
features = ["alloc"]
version = "0.3.17"
[dependencies.futures-util]
default-features = false
features = ["alloc"]
version = "0.3.17"
[dependencies.mio]
features = ["os-poll", "net"]
version = "1"
[dependencies.socket2]
version = "0.5"
[dependencies.tokio]
features = ["sync"]
version = "1.23.1"
[dependencies.tracing]
default-features = false
features = ["log"]
version = "0.1.30"
[dev-dependencies.actix-codec]
version = "0.5"
[dev-dependencies.actix-rt]
version = "2.8"
[dev-dependencies.bytes]
version = "1"
[dev-dependencies.futures-util]
default-features = false
features = ["sink", "async-await-macro"]
version = "0.3.17"
[dev-dependencies.pretty_env_logger]
version = "0.5"
[dev-dependencies.tokio]
features = ["io-util", "rt-multi-thread", "macros", "fs"]
version = "1.23.1"
[[example]]
name = "file-reader"
path = "examples/file-reader.rs"
[[example]]
name = "tcp-echo"
path = "examples/tcp-echo.rs"
[features]
default = []
io-uring = ["tokio-uring", "actix-rt/io-uring"]
[lib]
name = "actix_server"
path = "src/lib.rs"
[package]
authors = ["Nikolay Kim <fafhrd91@gmail.com>", "Rob Ede <robjtede@icloud.com>", "Ali MJ Al-Nasrawy <alimjalnasrawy@gmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["network-programming", "asynchronous"]
description = "General purpose TCP server built for the Actix ecosystem"
edition = "2021"
homepage = "https://actix.rs"
keywords = ["network", "tcp", "server", "framework", "async"]
license = "MIT OR Apache-2.0"
name = "actix-server"
readme = "README.md"
repository = "https://github.com/actix/actix-net/tree/master/actix-server"
rust-version = "1.70"
version = "2.5.0"
[package.metadata.cargo_check_external_types]
allowed_external_types = ["tokio::*"]
[target.'cfg(target_os = "linux")'.dependencies.tokio-uring]
optional = true
version = "0.5"
[[test]]
name = "server"
path = "tests/server.rs"
[[test]]
name = "testing_server"
path = "tests/testing_server.rs"