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

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

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

[dependencies.anyhow]
version = "1.0"

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

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

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

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

[dependencies.tracing]
version = "0.1"

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