[package]
name = "lenso-cli"
version = "0.4.2"
edition = "2024"
license = "MIT"
description = "Authoring CLI and library for Lenso App Plans and Modules."
repository = "https://github.com/LioRael/lenso-cli"
homepage = "https://github.com/LioRael/lenso-cli"
rust-version = "1.94"
categories = ["command-line-utilities", "development-tools"]
keywords = ["cli", "authoring", "modules", "app-plan"]
include = [
"/src/**/*.rs",
"/docs/migration-0.4.md",
"/README.md",
"/Cargo.toml",
]
[[bin]]
name = "lenso"
path = "src/main.rs"
[workspace]
resolver = "2"
members = ["crates/lenso-authoring"]
[workspace.package]
edition = "2024"
license = "MIT"
repository = "https://github.com/LioRael/lenso-cli"
rust-version = "1.94"
[workspace.dependencies]
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.10"
tokio = { version = "1.52", features = ["io-util", "macros", "net", "process", "rt", "signal", "time"] }
tempfile = "3.23"
[workspace.lints.rust]
unsafe_code = "forbid"
missing_debug_implementations = "warn"
[workspace.lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"
[dependencies]
anyhow = "1.0"
clap = { version = "4", features = ["derive"] }
lenso-app-plan = "0.1.4"
lenso-authoring = { path = "crates/lenso-authoring", version = "0.2.4" }
lenso-bun-adapter = "0.1.1"
lenso-contract-authoring-next = { package = "lenso-contract-authoring", version = "0.1.0", git = "https://github.com/LioRael/lenso-protocols", rev = "f6fda58d863d165610a65e15a190fa071828e831" }
lenso-contract-codegen-next = { package = "lenso-contract-codegen", version = "0.6.1", git = "https://github.com/LioRael/lenso-protocols", rev = "f6fda58d863d165610a65e15a190fa071828e831" }
lenso-kernel = "0.1.4"
lenso-plugin-bundle = "0.1.0"
lenso-runner = "0.1.1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
sha2 = "0.11"
tokio = { version = "1.52", features = ["fs", "io-util", "macros", "net", "process", "rt-multi-thread", "signal", "sync", "time"] }
uuid = { version = "1", features = ["v7"] }
[target.'cfg(unix)'.dependencies]
nix = { version = "0.30", features = ["signal"] }
[dev-dependencies]
tempfile.workspace = true
[lints.rust]
unsafe_code = "forbid"
missing_debug_implementations = "warn"
[lints.clippy]
all = { level = "warn", priority = -1 }
pedantic = { level = "warn", priority = -1 }
module_name_repetitions = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
must_use_candidate = "allow"