[[bench]]
name = "gradient_bench"
path = "benches/gradient_bench.rs"
[[bench]]
name = "output_builder_bench"
path = "benches/output_builder_bench.rs"
[[bench]]
name = "registry_bench"
path = "benches/registry_bench.rs"
[[bench]]
name = "table_bench"
path = "benches/table_bench.rs"
[[bin]]
name = "modcli"
path = "bin/modcli.rs"
[[bin]]
name = "tool"
path = "bin/tool.rs"
[dependencies.colored]
version = "2.1.0"
[dependencies.colorgrad]
version = "0.6.0"
[dependencies.console]
version = "0.15"
[dependencies.crossterm]
features = ["event-stream"]
version = "0.27.0"
[dependencies.libloading]
version = "0.7"
[dependencies.once_cell]
version = "1.18"
[dependencies.rpassword]
version = "7.2.0"
[dependencies.serde]
features = ["derive"]
version = "1.0"
[dependencies.serde_json]
version = "1.0"
[dependencies.terminal_size]
version = "0.1"
[dependencies.thiserror]
version = "1.0.56"
[dependencies.tokio]
features = ["full"]
version = "1.0"
[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5"
[dev-dependencies.once_cell]
version = "1.19"
[dev-dependencies.tokio]
features = ["rt-multi-thread"]
version = "1.0"
[[example]]
name = "demo"
path = "examples/demo.rs"
[[example]]
name = "full_app"
path = "examples/full_app.rs"
[features]
custom-commands = []
default = ["internal-commands", "custom-commands"]
internal-commands = []
json-loader = []
plugins = []
[lib]
name = "modcli"
path = "src/lib.rs"
[package]
authors = ["James Gober <code@jamesgober.dev>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-interface", "command-line-utilities", "asynchronous", "development-tools"]
description = "A fully customizable, feature-rich CLI framework for Rust. Define commands, prefixes, styled output, and more—built for flexibility and speed."
documentation = "https://docs.rs/mod-cli"
edition = "2021"
homepage = "https://github.com/jamesgober/mod-cli"
keywords = ["cli", "framework", "terminal", "commands", "modular"]
license = "Apache-2.0"
name = "mod-cli"
readme = "README.md"
repository = "https://github.com/jamesgober/mod-cli"
rust-version = "1.81"
version = "0.5.3"
[package.metadata.docs.rs]
all-features = false
features = ["json-loader", "plugins", "internal-commands", "custom-commands"]
no-default-features = false