spring-axum 0.1.3

Spring-like application framework for Axum with macro-based auto discovery, validation, transactions, caching, events, and SQL/Mapper integrations.
Documentation
[dependencies.anyhow]
version = "1"

[dependencies.axum]
version = "0.8.6"

[dependencies.axum-extra]
features = ["json-deserializer"]
optional = true
version = "0.10.3"

[dependencies.futures]
version = "0.3"

[dependencies.inventory]
version = "0.3"

[dependencies.notify]
optional = true
version = "6"

[dependencies.once_cell]
version = "1"

[dependencies.regex]
version = "1"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.spring-axum-macros]
version = "0.1.3"

[dependencies.spring-axum-mybatis]
version = "0.1.3"

[dependencies.sqlx]
features = ["runtime-tokio-rustls", "postgres"]
optional = true
version = "0.8"

[dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1"

[dependencies.tokio-stream]
features = ["sync"]
optional = true
version = "0.1"

[dependencies.tower]
version = "0.5"

[dependencies.tower-http]
features = ["trace", "cors", "add-extension"]
version = "0.5"

[dependencies.tracing]
version = "0.1"

[dependencies.tracing-subscriber]
features = ["fmt", "env-filter"]
version = "0.3"

[dependencies.utoipa]
optional = true
version = "4"

[dependencies.utoipa-swagger-ui]
features = ["axum"]
optional = true
version = "7"

[dependencies.validator]
features = ["derive"]
optional = true
version = "0.16"

[dev-dependencies.hyper]
version = "1"

[dev-dependencies.serde_json]
version = "1"

[features]
axum_extra_json = ["dep:axum-extra"]
default = []
devtools = ["dep:notify", "dep:tokio-stream"]
sqlx_postgres = ["dep:sqlx"]
swagger = ["dep:utoipa", "dep:utoipa-swagger-ui"]
validator = ["dep:validator"]

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

[package]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming", "asynchronous"]
description = "Spring-like application framework for Axum with macro-based auto discovery, validation, transactions, caching, events, and SQL/Mapper integrations."
documentation = "https://docs.rs/spring-axum"
edition = "2024"
homepage = "https://gitee.com/luzhihaoTestingLab/spring-axum"
keywords = ["axum", "spring", "web", "framework", "macros"]
license = "MIT"
name = "spring-axum"
readme = "README.md"
repository = "https://gitee.com/luzhihaoTestingLab/spring-axum.git"
version = "0.1.3"

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

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

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