[package]
edition = "2024"
rust-version = "1.94"
name = "lenso-platform-core"
version = "0.1.20"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Core runtime primitives for the Lenso backend framework."
homepage = "https://github.com/LioRael/lenso"
readme = false
keywords = [
"backend",
"framework",
"runtime",
]
categories = [
"web-programming",
"development-tools",
]
license = "MIT"
repository = "https://github.com/LioRael/lenso"
resolver = "2"
[lib]
name = "platform_core"
path = "src/lib.rs"
[[test]]
name = "error_model"
path = "tests/error_model.rs"
[[test]]
name = "event_handler_registry"
path = "tests/event_handler_registry.rs"
[[test]]
name = "http_config"
path = "tests/http_config.rs"
[[test]]
name = "idempotency_outbox"
path = "tests/idempotency_outbox.rs"
[[test]]
name = "migrations"
path = "tests/migrations.rs"
[[test]]
name = "outbox_relay"
path = "tests/outbox_relay.rs"
[[test]]
name = "provider_calls"
path = "tests/provider_calls.rs"
[[test]]
name = "redis"
path = "tests/redis.rs"
[[test]]
name = "runtime_config_provider"
path = "tests/runtime_config_provider.rs"
[[test]]
name = "telemetry_config"
path = "tests/telemetry_config.rs"
[[test]]
name = "worker_runtime_config"
path = "tests/worker_runtime_config.rs"
[dependencies.arc-swap]
version = "1"
[dependencies.async-trait]
version = "0.1"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.dotenvy]
version = "0.15"
[dependencies.getrandom]
version = "0.4"
[dependencies.lenso-contracts]
version = "0.3.20"
[dependencies.opentelemetry]
version = "0.32"
[dependencies.opentelemetry-otlp]
version = "0.32"
features = ["grpc-tonic"]
[dependencies.opentelemetry_sdk]
version = "0.32"
features = ["rt-tokio"]
[dependencies.redis]
version = "1.2"
features = [
"tokio-comp",
"connection-manager",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.sha2]
version = "0.11"
[dependencies.sqlx]
version = "0.9"
features = [
"runtime-tokio",
"tls-rustls-ring-webpki",
"postgres",
"uuid",
"chrono",
"json",
]
default-features = false
[dependencies.thiserror]
version = "2.0"
[dependencies.tokio]
version = "1.52"
features = [
"macros",
"rt-multi-thread",
"signal",
"time",
]
[dependencies.tracing]
version = "0.1"
[dependencies.tracing-opentelemetry]
version = "0.33"
[dependencies.tracing-subscriber]
version = "0.3"
features = [
"env-filter",
"fmt",
"json",
]
[dependencies.uuid]
version = "1.23"
features = [
"serde",
"v7",
]
[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"