[package]
edition = "2024"
name = "lenso-runner"
version = "0.2.3"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native Tokio Runtime Driver and Runner for Lenso vNext."
readme = false
license = "MIT"
repository = "https://github.com/LioRael/lenso-runtime-rust"
resolver = "2"
[features]
process-owner = [
"dep:fs2",
"dep:serde",
"dep:serde_json",
"dep:sha2",
"dep:rustix",
]
[lib]
name = "lenso_runner"
path = "src/lib.rs"
[[bin]]
name = "lenso-process-owner"
path = "src/bin/process_owner.rs"
required-features = ["process-owner"]
[[bin]]
name = "lenso-runner"
path = "src/main.rs"
[[test]]
name = "native_runner"
path = "tests/native_runner.rs"
[[test]]
name = "process_owner"
path = "tests/process_owner.rs"
[[test]]
name = "replicated_interactions"
path = "tests/replicated_interactions.rs"
[[test]]
name = "replicated_lane_benchmark"
path = "tests/replicated_lane_benchmark.rs"
[[test]]
name = "replicated_lanes"
path = "tests/replicated_lanes.rs"
[[test]]
name = "replicated_terminal"
path = "tests/replicated_terminal.rs"
[[test]]
name = "shutdown"
path = "tests/shutdown.rs"
[[test]]
name = "tokio_driver"
path = "tests/tokio_driver.rs"
[dependencies.cpu-time]
version = "1.0"
[dependencies.fs2]
version = "0.4"
optional = true
[dependencies.futures]
version = "0.3"
[dependencies.lenso-app-plan]
version = "0.4.1"
[dependencies.lenso-kernel]
version = "0.3.2"
[dependencies.serde]
version = "1"
features = ["derive"]
optional = true
[dependencies.serde_json]
version = "1"
optional = true
[dependencies.sha2]
version = "0.10"
optional = true
[dependencies.tokio]
version = "1.52"
features = [
"io-util",
"macros",
"net",
"rt",
"signal",
"sync",
"time",
"sync",
]
[dev-dependencies.lenso-native-adapter]
version = "0.3.3"
[dev-dependencies.lenso-runtime-conformance]
version = "0.3.2"
[dev-dependencies.tempfile]
version = "3"
[target."cfg(unix)".dependencies.rustix]
version = "1.1"
features = ["process"]
optional = true
[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"