cnf 0.6.0

Distribution-agnostic 'command not found'-handler
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"
name = "cnf"
version = "0.6.0"
authors = ["Andreas Hartmann <hartan@7x.de>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "cnf"
description = "Distribution-agnostic 'command not found'-handler"
readme = "README.md"
keywords = [
    "command-not-found",
    "command",
]
categories = ["command-line-utilities"]
license = "GPL-3.0-or-later"
repository = "https://gitlab.com/hartang/rust/cnf"
resolver = "2"

[features]
debug-flame = ["dep:tracing-flame"]
default = []

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

[[bin]]
name = "cnf"
path = "src/main.rs"

[dependencies.ansi_term]
version = "0.12.1"

[dependencies.anyhow]
version = "1.0"

[dependencies.async-trait]
version = "0.1"

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

[dependencies.cnf-lib]
version = "0.6.0"

[dependencies.confy]
version = "0.5"
features = ["yaml_conf"]
default-features = false

[dependencies.crossterm]
version = "0.26.1"

[dependencies.directories]
version = "5.0.1"

[dependencies.futures]
version = "0.3.28"

[dependencies.logerr]
version = "0.2"
features = [
    "log",
    "anyhow",
]
default-features = false

[dependencies.ratatui]
version = "0.20"

[dependencies.serde]
version = "1.0"

[dependencies.serde_derive]
version = "1.0"

[dependencies.serde_json]
version = "1.0.96"

[dependencies.shlex]
version = "1.1.0"

[dependencies.strum]
version = "0.20"
features = ["derive"]

[dependencies.tokio]
version = "1.32"
features = ["full"]

[dependencies.tracing]
version = "0.1"
features = ["log"]

[dependencies.tracing-appender]
version = "0.2"

[dependencies.tracing-flame]
version = "0.2"
optional = true

[dependencies.tracing-subscriber]
version = "0.3"
features = [
    "fmt",
    "tracing-log",
    "env-filter",
]

[lints.clippy]
all = "deny"

[lints.rust]
closure-returning-async-block = "forbid"
deprecated-in-future = "forbid"
elided-lifetimes-in-paths = "forbid"
ffi-unwind-calls = "forbid"
impl-trait-overcaptures = "forbid"
impl-trait-redundant-captures = "forbid"
let-underscore-drop = "forbid"
macro-use-extern-crate = "forbid"
meta-variable-misuse = "forbid"
missing-copy-implementations = "deny"
missing-debug-implementations = "forbid"
missing-docs = "forbid"
missing-unsafe-on-extern = "forbid"
non-ascii-idents = "forbid"
redundant-imports = "forbid"
redundant-lifetimes = "forbid"
single-use-lifetimes = "forbid"
tail-expr-drop-order = "forbid"
trivial-casts = "forbid"
trivial-numeric-casts = "forbid"
unit-bindings = "forbid"
unknown-lints = "deny"
unnameable-types = "forbid"
unreachable-pub = "forbid"
unsafe-attr-outside-unsafe = "forbid"
unsafe-code = "deny"
unstable-features = "forbid"
variant-size-differences = "forbid"

[lints.rust.unused]
level = "deny"
priority = 1

[lints.rust.warnings]
level = "deny"
priority = 1