[package]
edition = "2024"
rust-version = "1.98"
name = "axa-openapi-docs"
version = "0.1.1"
authors = ["Joel Parker Henderson <joel@joelparkerhenderson.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Serve OpenAPI documents and a pinned Swagger UI from Axum services."
readme = "README.md"
license = "MIT OR Apache-2.0 OR BSD-3-Clause OR GPL-2.0-only OR GPL-3.0-only OR OGL-UK-3.0 OR CC-BY-NC-SA-4.0"
repository = "https://github.com/publicprojects-io/axa/"
[lib]
name = "axa_openapi_docs"
path = "src/lib.rs"
[dependencies.axum]
version = "0.8"
[dependencies.serde_json]
version = "1"
[dependencies.utoipa]
version = "6"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt-multi-thread",
"net",
"io-util",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[lints.clippy]
allow_attributes = "deny"
allow_attributes_without_reason = "deny"
arithmetic_side_effects = "deny"
as_conversions = "deny"
cast_lossless = "deny"
cast_possible_truncation = "deny"
cast_possible_wrap = "deny"
cast_precision_loss = "deny"
cast_sign_loss = "deny"
checked_conversions = "deny"
default_numeric_fallback = "deny"
expect_used = "deny"
float_arithmetic = "deny"
float_cmp = "deny"
indexing_slicing = "deny"
integer_division = "deny"
lossy_float_literal = "deny"
manual_saturating_arithmetic = "allow"
modulo_arithmetic = "deny"
panic = "deny"
string_slice = "deny"
todo = "deny"
unimplemented = "deny"
unreachable = "deny"
unwrap_or_default = "allow"
unwrap_used = "deny"
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("sqlite-sqlx", "sqlite-seaorm", "sqlite-diesel"))']