nut-shell 0.1.0

A lightweight command-line interface library for embedded systems
Documentation
[[bin]]
name = "nut-shell-credgen"
path = "src/bin/credgen.rs"
required-features = ["authentication", "credgen"]

[dependencies.getrandom]
optional = true
version = "0.3.4"

[dependencies.heapless]
default-features = false
version = "0.9.2"

[dependencies.nut-shell-macros]
version = "0.1.0"

[dependencies.serde]
features = ["derive"]
optional = true
version = "1.0"

[dependencies.sha2]
default-features = false
optional = true
version = "0.10"

[dependencies.subtle]
default-features = false
optional = true
version = "2.5"

[dependencies.toml]
optional = true
version = "0.9.8"

[features]
async = []
authentication = ["dep:sha2", "dep:subtle"]
completion = []
credgen = ["authentication", "dep:serde", "dep:toml", "dep:getrandom"]
default = ["completion", "history"]
history = []

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

[package]
authors = ["Esben Dueholm Nørgaard"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["embedded", "no-std", "command-line-interface"]
description = "A lightweight command-line interface library for embedded systems"
documentation = "https://docs.rs/nut-shell"
edition = "2024"
keywords = ["embedded", "no-std", "cli", "shell", "command-line"]
license = "MIT OR Apache-2.0"
name = "nut-shell"
readme = "README.md"
repository = "https://github.com/HybridChild/nut-shell"
resolver = "2"
version = "0.1.0"

[profile.dev]
opt-level = 1

[profile.release]
codegen-units = 1
lto = true
opt-level = "z"
strip = true

[target.'cfg(not(target_os = "none"))'.dev-dependencies.tokio]
features = ["macros", "rt"]
version = "1"

[[test]]
name = "helpers"
path = "tests/helpers.rs"

[[test]]
name = "mod"
path = "tests/mod.rs"

[[test]]
name = "test_rust_optimizations"
path = "tests/test_rust_optimizations.rs"

[[test]]
name = "test_shell_auth"
path = "tests/test_shell_auth.rs"

[[test]]
name = "test_shell_core"
path = "tests/test_shell_core.rs"

[[test]]
name = "test_shell_editing"
path = "tests/test_shell_editing.rs"

[[test]]
name = "test_shell_features"
path = "tests/test_shell_features.rs"

[[test]]
name = "test_tree"
path = "tests/test_tree.rs"