[package]
edition = "2024"
name = "tftio-cli-common"
version = "3.0.3"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Common functionality for tftio Rust CLI tools"
readme = false
keywords = [
"cli",
"utilities",
"tftio",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://gitlab.com/tftio/tools"
[lib]
name = "tftio_cli_common"
path = "src/lib.rs"
[dependencies.clap]
version = "4"
features = [
"derive",
"env",
"string",
]
[dependencies.clap_complete]
version = "4"
[dependencies.colored]
version = "3"
[dependencies.indicatif]
version = "0.18"
[dependencies.is-terminal]
version = "0.4"
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[lints.clippy]
bool_to_int_with_if = "allow"
branches_sharing_code = "allow"
cargo_common_metadata = "allow"
cognitive_complexity = "allow"
collapsible_if = "allow"
duration_suboptimal_units = "allow"
enum_glob_use = "deny"
missing_const_for_fn = "allow"
missing_errors_doc = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
significant_drop_tightening = "allow"
too_many_arguments = "allow"
too_many_lines = "allow"
uninlined_format_args = "allow"
use_self = "allow"
wildcard_imports = "deny"
[lints.clippy.all]
level = "deny"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "deny"
priority = -1
[lints.rust]
missing_docs = "deny"
unsafe_code = "warn"