[package]
edition = "2021"
name = "cli_fmt"
version = "0.4.0"
authors = ["wTools Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CLI output formatting utilities for command-line applications"
documentation = "https://docs.rs/cli_fmt"
readme = "README.md"
keywords = [
"cli",
"command-line",
"output",
"formatting",
"display",
]
categories = [
"command-line-utilities",
"development-tools",
]
license = "MIT"
repository = "https://github.com/Wandalen/wTools"
[features]
ansi_unicode = ["strs_tools/ansi_unicode"]
default = [
"enabled",
"std",
"output",
]
enabled = ["dep:strs_tools"]
full = [
"enabled",
"output",
"ansi_unicode",
]
output = [
"enabled",
"std",
"string_split",
]
std = []
string_split = []
use_alloc = []
[lib]
name = "cli_fmt"
path = "src/lib.rs"
[[test]]
name = "output"
path = "tests/output.rs"
[dependencies.strs_tools]
version = "~0.45.0"
features = [
"ansi",
"string_split",
"std",
]
optional = true
default-features = false
[dev-dependencies]
[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
cast_precision_loss = "allow"
doc_include_without_cfg = "warn"
implicit_return = "allow"
inline_always = "allow"
items_after_statements = "allow"
large_enum_variant = "allow"
missing_docs_in_private_items = "allow"
missing_inline_in_public_items = "allow"
mod_module_files = "allow"
module_name_repetitions = "allow"
pub_use = "allow"
question_mark_used = "allow"
single_call_fn = "allow"
std_instead_of_alloc = "allow"
std_instead_of_core = "warn"
struct_excessive_bools = "allow"
undocumented_unsafe_blocks = "deny"
wildcard_imports = "allow"
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe-code = "deny"
[lints.rust.future_incompatible]
level = "warn"
priority = -1
[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = ['cfg(feature, values("diagnostics_runtime_assertions", "diagnostics_compiletime_assertions", "diagnostics_memory_layout"))']