lenso-runner 0.2.4

Native Tokio Runtime Driver and Runner for Lenso vNext.
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"
name = "lenso-runner"
version = "0.2.4"
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.4"

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