[package]
edition = "2021"
name = "spring-web"
version = "0.4.16"
authors = ["holmofy"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Integration of rust application framework spring-rs and Axum web framework"
readme = "README.md"
keywords = [
"web-programming",
"web-server",
"spring",
]
categories = ["web-programming::http-server"]
license = "MIT"
repository = "https://github.com/spring-rs/spring-rs"
[features]
default = ["http2"]
http2 = ["axum/http2"]
multipart = [
"axum/multipart",
"aide/axum-multipart",
]
openapi = [
"aide",
"aide/axum",
"aide/axum-tokio",
"aide/axum-extra",
"aide/axum-extra-cookie",
"aide/axum-extra-cookie-private",
"aide/axum-extra-form",
"aide/axum-extra-headers",
"aide/axum-extra-json-deserializer",
"aide/axum-extra-query",
"aide/axum-extra-typed-routing",
"aide/axum-form",
"aide/axum-json",
"aide/axum-matched-path",
"aide/axum-original-uri",
"aide/axum-query",
]
openapi-redoc = ["aide/redoc"]
openapi-scalar = ["aide/scalar"]
openapi-swagger = ["aide/swagger"]
socket_io = [
"dep:socketioxide",
"dep:rmpv",
"spring-macros/socket_io",
]
ws = [
"axum/ws",
"aide/axum-ws",
]
[lib]
name = "spring_web"
path = "src/lib.rs"
[[test]]
name = "integration_test"
path = "tests/integration_test.rs"
[dependencies.aide]
version = "0.16.0-alpha.1"
optional = true
[dependencies.anyhow]
version = "1.0"
[dependencies.axum]
version = "0.8"
features = ["macros"]
[dependencies.byte-unit]
version = "5.1"
features = ["serde"]
[dependencies.indexmap]
version = "2.0"
[dependencies.inventory]
version = "0.3.15"
[dependencies.rmpv]
version = "1.3"
features = ["with-serde"]
optional = true
[dependencies.schemars]
version = "1.1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.socketioxide]
version = "0.17.2"
features = ["tracing"]
optional = true
[dependencies.spring]
version = "0.4"
[dependencies.spring-macros]
version = "0.4"
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.47"
features = ["full"]
[dependencies.tower]
version = "0.5"
features = ["full"]
[dependencies.tower-http]
version = "0.6"
features = ["full"]
[dependencies.tracing]
version = "0.1"
features = ["log"]
[dev-dependencies.serde_json]
version = "1.0"
[dev-dependencies.tower]
version = "0.5"