[package]
edition = "2024"
rust-version = "1.85"
name = "bel7-cli"
version = "0.7.0"
authors = ["Michael S. Klishin"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common CLI utilities: colored output, table formatting, string truncation"
homepage = "https://github.com/michaelklishin/bel7-cli"
readme = "README.md"
keywords = ["cli"]
categories = ["command-line-interface"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/michaelklishin/bel7-cli"
[features]
clap = ["dep:clap"]
completions = [
"clap",
"dep:clap_complete",
"dep:clap_complete_nushell",
]
default = ["tables"]
errors = ["dep:sysexits"]
full = [
"tables",
"clap",
"completions",
"progress",
"serde",
"errors",
]
progress = ["dep:indicatif"]
serde = ["dep:serde"]
tables = [
"dep:tabled",
"dep:terminal_size",
]
[lib]
name = "bel7_cli"
path = "src/lib.rs"
[[test]]
name = "clap_ext_tests"
path = "tests/clap_ext_tests.rs"
[[test]]
name = "completions_tests"
path = "tests/completions_tests.rs"
[[test]]
name = "errors_tests"
path = "tests/errors_tests.rs"
[[test]]
name = "output_tests"
path = "tests/output_tests.rs"
[[test]]
name = "progress_tests"
path = "tests/progress_tests.rs"
[[test]]
name = "tables_tests"
path = "tests/tables_tests.rs"
[[test]]
name = "truncate_tests"
path = "tests/truncate_tests.rs"
[dependencies.clap]
version = "4.5"
optional = true
[dependencies.clap_complete]
version = "4.5"
optional = true
[dependencies.clap_complete_nushell]
version = "4.5"
optional = true
[dependencies.indicatif]
version = "0.18"
optional = true
[dependencies.owo-colors]
version = "4.2"
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.sysexits]
version = "0.10"
optional = true
[dependencies.tabled]
version = "0.20"
optional = true
[dependencies.terminal_size]
version = "0.4"
optional = true
[dev-dependencies.proptest]
version = "1.6"
[dev-dependencies.thiserror]
version = "2.0"