# 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"
rust-version = "1.85"
name = "bel7-cli"
version = "0.12.0"
authors = ["Michael S. Klishin"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "An opinionated set of CLI utilities: colored output, table formatting, adaptive tables, trivial to integrate shell completion"
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.6"
optional = true

[dependencies.clap_complete]
version = "4.6"
optional = true

[dependencies.clap_complete_nushell]
version = "4.6"
optional = true

[dependencies.indicatif]
version = "0.18"
optional = true

[dependencies.owo-colors]
version = "4.3"

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

[dependencies.sysexits]
version = "0.11"
optional = true

[dependencies.tabled]
version = "0.20"
optional = true

[dependencies.terminal_size]
version = "0.4"
optional = true

[dev-dependencies.proptest]
version = "1.11"

[dev-dependencies.thiserror]
version = "2.0"
