astrea 0.3.1

A file-system based routing framework for Axum with automatic code generation
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.85"
name = "astrea"
version = "0.3.1"
authors = ["TNXG <tnxg@outlook.jp>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A file-system based routing framework for Axum with automatic code generation"
homepage = "https://github.com/TNXG/astrea"
documentation = "https://docs.rs/astrea"
readme = "README.md"
keywords = [
    "axum",
    "router",
    "web",
    "framework",
    "filesystem",
]
categories = [
    "web-programming::http-server",
    "development-tools::build-utils",
]
license = "MIT"
repository = "https://github.com/TNXG/astrea"
resolver = "2"

[features]
openapi = ["astrea-macro/openapi"]

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

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

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

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

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

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

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

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

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

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

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

[[bench]]
name = "comprehensive"
path = "benches/comprehensive.rs"
harness = false

[[bench]]
name = "error"
path = "benches/error.rs"
harness = false

[[bench]]
name = "event"
path = "benches/event.rs"
harness = false

[[bench]]
name = "extract"
path = "benches/extract.rs"
harness = false

[[bench]]
name = "response"
path = "benches/response.rs"
harness = false

[dependencies.anyhow]
version = "1.0.101"

[dependencies.astrea-macro]
version = "0.3.1"

[dependencies.axum]
version = "0.8.8"
features = [
    "multipart",
    "ws",
]

[dependencies.bytes]
version = "1.11.1"

[dependencies.comfy-table]
version = "7.2.2"

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

[dependencies.http]
version = "1.4.0"

[dependencies.http-body]
version = "1.0.1"

[dependencies.hyper]
version = "1.8.1"

[dependencies.once_cell]
version = "1.21.3"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.serde_urlencoded]
version = "0.7.1"

[dependencies.thiserror]
version = "2.0.18"

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

[dependencies.tokio-stream]
version = "0.1.18"

[dependencies.tower]
version = "0.5.3"

[dependencies.tower-http]
version = "0.6.8"
features = [
    "cors",
    "trace",
    "compression-br",
    "compression-gzip",
]

[dependencies.tracing]
version = "0.1"

[dev-dependencies.criterion]
version = "0.8.2"