[package]
edition = "2024"
name = "lenso"
version = "0.5.28"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust authoring and Host facade for Lenso applications and Plugins."
readme = "README.md"
license = "MIT"
repository = "https://github.com/LioRael/lenso"
resolver = "2"
[package.metadata.lenso]
plugin-id = "lenso"
root-slot = "test"
[features]
default = []
host = [
"dep:lenso-plugin-control-plane",
"dep:tokio",
"tokio/io-std",
]
[lib]
name = "lenso"
path = "src/lib.rs"
[[example]]
name = "control_fixture"
path = "examples/control_fixture.rs"
required-features = ["host"]
[[test]]
name = "consumer_authoring"
path = "tests/consumer_authoring.rs"
[[test]]
name = "host_control"
path = "tests/host_control.rs"
[[test]]
name = "managed_tasks"
path = "tests/managed_tasks.rs"
[[test]]
name = "plugin_authoring"
path = "tests/plugin_authoring.rs"
[[test]]
name = "provider_stream"
path = "tests/provider_stream.rs"
[[test]]
name = "stateless_authoring"
path = "tests/stateless_authoring.rs"
[[test]]
name = "typed_extension"
path = "tests/typed_extension.rs"
[dependencies.futures]
version = "0.3"
[dependencies.lenso-kernel]
version = "=0.3.12"
[dependencies.lenso-native-adapter]
version = "=0.3.19"
[dependencies.lenso-plugin-authoring]
version = "0.2.0"
[dependencies.lenso-plugin-control-plane]
version = "0.4.26"
optional = true
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0"
features = [
"preserve_order",
"raw_value",
]
[dependencies.tokio]
version = "1.52"
features = [
"io-util",
"macros",
"net",
"process",
"rt",
"signal",
"sync",
"time",
]
optional = true
[dev-dependencies.lenso-app-plan]
version = "=0.4.6"
[dev-dependencies.lenso-runtime-codec]
version = "=0.4.4"
[dev-dependencies.lenso-test]
version = "=0.1.3"
[lints.clippy]
missing_errors_doc = "allow"
missing_panics_doc = "allow"
module_name_repetitions = "allow"
must_use_candidate = "allow"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
unsafe_code = "forbid"