wca 0.43.0

The tool to make CLI ( commands user interface ). It is able to aggregate external binary applications, as well as functions, which are written in your language.
# 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 = "2021"
name = "wca"
version = "0.43.0"
authors = [
    "Kostiantyn Wandalen <wandalen@obox.systems>",
    "Dmytro Kryvoruchko <dmytro.kr@obox.systems>",
    "Bogdan Balushkin <bohdan.b@obox.systems>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = """
The tool to make CLI ( commands user interface ). It is able to aggregate external binary applications, as well as functions, which are written in your language.
"""
homepage = "https://github.com/Wandalen/wTools/tree/master/module/core/wca/readme.md"
documentation = "https://docs.rs/wca"
readme = "readme.md"
keywords = [
    "wtools",
    "CLI",
    "CUI",
    "user-interface",
]
categories = [
    "command-line-interface",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/Wandalen/wTools/tree/master/module/core/wca"

[package.metadata.docs.rs]
features = [
    "full",
    "error_tools/enabled",
    "strs_tools/enabled",
    "mod_interface/enabled",
    "iter_tools/enabled",
    "former/enabled",
]
all-features = false

[features]
default = ["enabled"]
diagnostics_compiletime_assertions = []
diagnostics_memory_layout = []
diagnostics_runtime_assertions = []
enabled = []
full = [
    "enabled",
    "on_unknown_suggest",
]
no_std = []
on_unknown_suggest = ["dep:textdistance"]

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

[[example]]
name = "wca_custom_error"
path = "examples/wca_custom_error.rs"

[[example]]
name = "wca_fluent"
path = "examples/wca_fluent.rs"

[[example]]
name = "wca_shortcut"
path = "examples/wca_shortcut.rs"

[[example]]
name = "wca_suggest"
path = "examples/wca_suggest.rs"

[[example]]
name = "wca_trivial"
path = "examples/wca_trivial.rs"

[[test]]
name = "smoke_test"
path = "tests/smoke_test.rs"

[[test]]
name = "tests"
path = "tests/tests.rs"

[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false

[dependencies.error_tools]
version = "~0.37.0"
features = [
    "enabled",
    "error_typed",
    "error_untyped",
]
default-features = false

[dependencies.former]
version = "~2.41.0"
features = [
    "enabled",
    "derive_former",
]
default-features = false

[dependencies.indexmap]
version = "2.2.6"

[dependencies.iter_tools]
version = "~0.44.0"
features = ["enabled"]
default-features = false

[dependencies.log]
version = "0.4"

[dependencies.mod_interface]
version = "~0.56.0"
features = ["enabled"]
default-features = false

[dependencies.textdistance]
version = "1.0"
optional = true

[dev-dependencies.assert_fs]
version = "1.0"

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.test_tools]
version = "~0.16.0"
features = ["full"]

[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"))']