[package]
edition = "2024"
rust-version = "1.94"
name = "lenso-service"
version = "0.1.24"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Public contracts for Lenso Providers and Autonomous Services."
homepage = "https://github.com/LioRael/lenso"
readme = false
keywords = [
"backend",
"framework",
"services",
]
categories = [
"web-programming",
"development-tools",
]
license = "MIT"
repository = "https://github.com/LioRael/lenso"
resolver = "2"
[lib]
name = "lenso_service"
path = "src/lib.rs"
[[test]]
name = "call_policy"
path = "tests/call_policy.rs"
[[test]]
name = "contract"
path = "tests/contract.rs"
[[test]]
name = "delegated_context"
path = "tests/delegated_context.rs"
[[test]]
name = "direct_grpc"
path = "tests/direct_grpc.rs"
[[test]]
name = "direct_http"
path = "tests/direct_http.rs"
[[test]]
name = "endpoint_resolution"
path = "tests/endpoint_resolution.rs"
[[test]]
name = "enrollment"
path = "tests/enrollment.rs"
[[test]]
name = "event_envelope"
path = "tests/event_envelope.rs"
[[test]]
name = "extraction_authority_commit"
path = "tests/extraction_authority_commit.rs"
[[test]]
name = "extraction_backfill"
path = "tests/extraction_backfill.rs"
[[test]]
name = "extraction_console_projection"
path = "tests/extraction_console_projection.rs"
[[test]]
name = "extraction_provisional_cutover"
path = "tests/extraction_provisional_cutover.rs"
[[test]]
name = "extraction_quiescence"
path = "tests/extraction_quiescence.rs"
[[test]]
name = "extraction_reconciliation"
path = "tests/extraction_reconciliation.rs"
[[test]]
name = "extraction_verification"
path = "tests/extraction_verification.rs"
[[test]]
name = "ga_support"
path = "tests/ga_support.rs"
[[test]]
name = "m6_recovery_performance"
path = "tests/m6_recovery_performance.rs"
[[test]]
name = "production_delivery"
path = "tests/production_delivery.rs"
[[test]]
name = "production_delivery_console"
path = "tests/production_delivery_console.rs"
[[test]]
name = "runtime_observability"
path = "tests/runtime_observability.rs"
[[test]]
name = "runtime_operations"
path = "tests/runtime_operations.rs"
[[test]]
name = "spiffe_workload_identity"
path = "tests/spiffe_workload_identity.rs"
[[test]]
name = "system_plane"
path = "tests/system_plane.rs"
[[test]]
name = "workload_control"
path = "tests/workload_control.rs"
[[test]]
name = "workload_identity"
path = "tests/workload_identity.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.axum]
version = "0.8"
[dependencies.base64]
version = "0.22"
[dependencies.chrono]
version = "0.4"
features = ["serde"]
[dependencies.ed25519-dalek]
version = "2.2"
[dependencies.http]
version = "1.4"
[dependencies.jsonschema]
version = "0.47"
default-features = false
[dependencies.jsonwebtoken]
version = "10"
features = ["rust_crypto"]
[dependencies.lenso-contracts]
version = "0.4.0"
[dependencies.prost]
version = "0.14"
[dependencies.prost-types]
version = "0.14"
[dependencies.reqwest]
version = "0.13"
features = [
"json",
"query",
"rustls",
]
default-features = false
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
[dependencies.serde_yaml]
version = "0.9"
[dependencies.sha2]
version = "0.11"
[dependencies.spiffe]
version = "0.16"
features = [
"jwt-source",
"jwt-verify-rust-crypto",
"x509-source",
]
[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.tonic]
version = "0.14"
features = [
"channel",
"codegen",
"router",
"server",
]
default-features = false
[dependencies.tonic-prost]
version = "0.14"
[dependencies.utoipa]
version = "5.5"
features = [
"axum_extras",
"chrono",
"uuid",
]
[dev-dependencies.rustls]
version = "0.23"
[dev-dependencies.spiffe-rustls]
version = "0.7"
[dev-dependencies.spiffe-rustls-tokio]
version = "0.4"
[dev-dependencies.tokio]
version = "1.52"
features = [
"macros",
"rt-multi-thread",
"signal",
"time",
]
[dev-dependencies.tokio-stream]
version = "0.1"
features = ["net"]
[build-dependencies.lenso-contracts]
version = "0.4.0"
[build-dependencies.prost-build]
version = "0.14"
[build-dependencies.protoc-bin-vendored]
version = "3"
[build-dependencies.serde_json]
version = "1.0"
[build-dependencies.tonic-prost-build]
version = "0.14"
[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"