# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70" name = "actix-server" version = "2.5.0" authors = [ "Nikolay Kim ", "Rob Ede ", "Ali MJ Al-Nasrawy ", ] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "General purpose TCP server built for the Actix ecosystem" homepage = "https://actix.rs" readme = "README.md" keywords = [ "network", "tcp", "server", "framework", "async", ] categories = [ "network-programming", "asynchronous", ] license = "MIT OR Apache-2.0" repository = "https://github.com/actix/actix-net/tree/master/actix-server" [package.metadata.cargo_check_external_types] allowed_external_types = ["tokio::*"] [lib] name = "actix_server" path = "src/lib.rs" [[example]] name = "file-reader" path = "examples/file-reader.rs" [[example]] name = "tcp-echo" path = "examples/tcp-echo.rs" [[test]] name = "server" path = "tests/server.rs" [[test]] name = "testing_server" path = "tests/testing_server.rs" [dependencies.actix-rt] version = "2.10" default-features = false [dependencies.actix-service] version = "2" [dependencies.actix-utils] version = "3" [dependencies.futures-core] version = "0.3.17" features = ["alloc"] default-features = false [dependencies.futures-util] version = "0.3.17" features = ["alloc"] default-features = false [dependencies.mio] version = "1" features = [ "os-poll", "net", ] [dependencies.socket2] version = "0.5" [dependencies.tokio] version = "1.23.1" features = ["sync"] [dependencies.tracing] version = "0.1.30" features = ["log"] default-features = false [dev-dependencies.actix-codec] version = "0.5" [dev-dependencies.actix-rt] version = "2.8" [dev-dependencies.bytes] version = "1" [dev-dependencies.futures-util] version = "0.3.17" features = [ "sink", "async-await-macro", ] default-features = false [dev-dependencies.pretty_env_logger] version = "0.5" [dev-dependencies.tokio] version = "1.23.1" features = [ "io-util", "rt-multi-thread", "macros", "fs", ] [features] default = [] io-uring = [ "tokio-uring", "actix-rt/io-uring", ] [target.'cfg(target_os = "linux")'.dependencies.tokio-uring] version = "0.5" optional = true