actus-server 1.0.1

The hyper-based HTTP server and longest-prefix router for Actus.
Documentation
# 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 = "2024"
rust-version = "1.88"
name = "actus-server"
version = "1.0.1"
authors = ["Proximify Inc. <support@proximify.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "The hyper-based HTTP server and longest-prefix router for Actus."
homepage = "https://github.com/uniweb/actus"
documentation = "https://docs.rs/actus-server"
readme = false
keywords = [
    "http",
    "web",
    "framework",
    "hyper",
    "router",
]
categories = [
    "web-programming::http-server",
    "web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/uniweb/actus"
resolver = "2"

[package.metadata.docs.rs]
all-features = true

[features]
compression = [
    "dep:flate2",
    "dep:brotli",
]
openapi = []
websocket = ["dep:tokio-tungstenite"]

[lib]
name = "actus_server"
path = "src/lib.rs"

[[test]]
name = "middleware"
path = "tests/middleware.rs"

[[test]]
name = "websocket"
path = "tests/websocket.rs"

[dependencies.actus-controller]
version = "1.0.1"

[dependencies.actus-reply]
version = "1.0.1"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.brotli]
version = "7"
optional = true

[dependencies.bytes]
version = "1.6"

[dependencies.flate2]
version = "1"
optional = true

[dependencies.futures-util]
version = "0.3"

[dependencies.http]
version = "1.1"

[dependencies.http-body-util]
version = "0.1"

[dependencies.hyper]
version = "1.3"
features = ["full"]

[dependencies.hyper-util]
version = "0.1"
features = ["full"]

[dependencies.serde]
version = "1"
features = ["derive"]

[dependencies.serde_json]
version = "1"

[dependencies.serde_urlencoded]
version = "0.7"

[dependencies.thiserror]
version = "1"

[dependencies.tokio]
version = "1.38"
features = ["full"]

[dependencies.tokio-tungstenite]
version = "0.24"
optional = true

[dependencies.tracing]
version = "0.1"

[dev-dependencies]

[lints.clippy]
upper_case_acronyms = "allow"