lenso-api 0.1.12

HTTP API host crate for the Lenso backend framework.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.94"
name = "lenso-api"
version = "0.1.12"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP API host crate for the Lenso backend framework."
homepage = "https://github.com/LioRael/lenso"
readme = false
keywords = [
    "backend",
    "framework",
    "host",
]
categories = [
    "web-programming",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/LioRael/lenso"
resolver = "2"

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

[[bin]]
name = "lenso-api"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "1.0"

[dependencies.axum]
version = "0.8"

[dependencies.chrono]
version = "0.4"
features = ["serde"]

[dependencies.lenso-bootstrap]
version = "0.1.11"

[dependencies.platform-admin]
version = "0.1.5"
package = "lenso-platform-admin"

[dependencies.platform-admin-data]
version = "0.1.9"
package = "lenso-platform-admin-data"

[dependencies.platform-core]
version = "0.1.5"
package = "lenso-platform-core"

[dependencies.platform-http]
version = "0.1.4"
package = "lenso-platform-http"

[dependencies.platform-module-remote]
version = "0.1.5"
package = "lenso-platform-module-remote"

[dependencies.platform-runtime]
version = "0.1.2"
package = "lenso-platform-runtime"

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

[dependencies.serde_json]
version = "1.0"

[dependencies.sqlx]
version = "0.9"
features = [
    "runtime-tokio",
    "tls-rustls-ring-webpki",
    "postgres",
    "uuid",
    "chrono",
    "json",
]
default-features = false

[dependencies.tokio]
version = "1.52"
features = [
    "macros",
    "rt-multi-thread",
    "signal",
    "time",
]

[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",
]

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.auth]
version = "0.1.8"
features = ["redis"]
package = "lenso-module-auth"

[dev-dependencies.auth-password]
version = "0.1.9"
package = "lenso-module-auth-password"

[dev-dependencies.auth-phone]
version = "0.1.1"
package = "lenso-module-auth-phone"

[dev-dependencies.platform-module]
version = "0.1.5"
package = "lenso-platform-module"

[dev-dependencies.platform-testing]
version = "0.1.1"
package = "lenso-platform-testing"

[dev-dependencies.rsa]
version = "0.9.10"

[dev-dependencies.serde_yaml]
version = "0.9"

[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"