# 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-platform-admin"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Runtime Console observability backend for the Lenso host."
homepage = "https://github.com/LioRael/lenso"
readme = false
keywords = [
    "backend",
    "framework",
    "admin",
]
categories = [
    "web-programming",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/LioRael/lenso"
resolver = "2"

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

[dependencies.axum]
version = "0.8"

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

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

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

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

[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.tracing]
version = "0.1"

[dependencies.utoipa]
version = "5.5"
features = [
    "axum_extras",
    "chrono",
    "uuid",
]

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

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