tftio-cli-common 2.3.0

Common functionality for tftio Rust CLI tools
Documentation
# 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.94.0"
name = "tftio-cli-common"
version = "2.3.0"
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://github.com/tftio-stuff/tools"

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

[dependencies.clap]
version = "4"
features = ["derive"]

[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"

[lints.clippy]
bool_to_int_with_if = "allow"
branches_sharing_code = "allow"
cargo_common_metadata = "allow"
collapsible_if = "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"