[package]
edition = "2024"
rust-version = "1.94"
name = "lenso-platform-http"
version = "0.1.26"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP primitives for the Lenso backend framework."
homepage = "https://github.com/LioRael/lenso"
readme = false
keywords = [
"backend",
"framework",
"http",
]
categories = [
"web-programming",
"development-tools",
]
license = "MIT"
repository = "https://github.com/LioRael/lenso"
resolver = "2"
[lib]
name = "platform_http"
path = "src/lib.rs"
[[test]]
name = "error_schema"
path = "tests/error_schema.rs"
[[test]]
name = "request_context"
path = "tests/request_context.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.http]
version = "1.4"
[dependencies.platform-core]
version = "0.1.27"
package = "lenso-platform-core"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.tokio]
version = "1.52"
features = [
"macros",
"rt-multi-thread",
"signal",
"time",
]
[dependencies.tower]
version = "0.5"
[dependencies.tower-http]
version = "0.7"
features = [
"trace",
"request-id",
"util",
"cors",
"fs",
]
[dependencies.tracing]
version = "0.1"
[dependencies.utoipa]
version = "5.5"
features = [
"axum_extras",
"chrono",
"uuid",
]
[dependencies.utoipa-axum]
version = "0.2"
[dev-dependencies.tokio]
version = "1.52"
features = [
"macros",
"rt-multi-thread",
"signal",
"time",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[lints.clippy]
all = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
pedantic = "warn"
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"