[package]
edition = "2024"
name = "spikard"
version = "0.10.2"
authors = ["Na'aman Hirschfeld <nhirschfeld@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "High-performance HTTP framework built on Axum and Tower-HTTP with type-safe routing, validation, WebSocket/SSE support, and lifecycle hooks"
homepage = "https://github.com/Goldziher/spikard"
documentation = "https://docs.rs/spikard"
readme = "README.md"
keywords = [
"http",
"framework",
"axum",
"tower",
"api",
]
categories = [
"web-programming::http-server",
"web-programming::http-client",
]
license = "MIT"
repository = "https://github.com/Goldziher/spikard"
resolver = "2"
[features]
default = ["di"]
di = [
"spikard-http/di",
"spikard-core/di",
]
[lib]
name = "spikard"
path = "src/lib.rs"
[[test]]
name = "app_testing_smoke"
path = "tests/app_testing_smoke.rs"
[[test]]
name = "app_testing_wrappers"
path = "tests/app_testing_wrappers.rs"
[dependencies.anyhow]
version = "1.0"
[dependencies.axum]
version = "0.8"
[dependencies.axum-test]
version = "18"
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.11"
[dependencies.schemars]
version = "1.2"
features = ["derive"]
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.spikard-core]
version = "0.10.2"
optional = true
[dependencies.spikard-http]
version = "0.10.2"
[dependencies.thiserror]
version = "2.0"
[dev-dependencies.tokio]
version = "1"
features = [
"full",
"rt",
"macros",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[lints.clippy.all]
level = "deny"
priority = 0
[lints.clippy.nursery]
level = "deny"
priority = 0
[lints.clippy.pedantic]
level = "deny"
priority = 0
[lints.rust.unexpected_cfgs]
level = "allow"
priority = 0
check-cfg = ["cfg(tarpaulin_include)"]