lenso 0.3.13

Public facade for authoring and hosting Lenso backend modules.
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"
version = "0.3.13"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Public facade for authoring and hosting Lenso backend modules."
homepage = "https://github.com/LioRael/lenso"
readme = "README.md"
keywords = [
    "backend",
    "framework",
    "modules",
    "runtime",
]
categories = [
    "web-programming",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/LioRael/lenso"
resolver = "2"

[features]
default = []
host = [
    "dep:anyhow",
    "dep:axum",
    "dep:lenso-api",
    "dep:lenso-bootstrap",
    "dep:lenso-migrate",
    "dep:lenso-worker",
    "dep:platform-core",
    "dep:platform-http",
    "dep:platform-module",
    "dep:tokio",
]

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

[dependencies.anyhow]
version = "1.0"
optional = true

[dependencies.axum]
version = "0.8"
optional = true

[dependencies.lenso-api]
version = "0.1.8"
optional = true

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

[dependencies.lenso-contracts]
version = "0.3.3"

[dependencies.lenso-migrate]
version = "0.1.7"
optional = true

[dependencies.lenso-worker]
version = "0.1.7"
optional = true

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

[dependencies.platform-http]
version = "0.1.3"
optional = true
package = "lenso-platform-http"

[dependencies.platform-module]
version = "0.1.4"
optional = true
package = "lenso-platform-module"

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

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