envcheck 1.2.0

A fast, modern CLI for linting .env files and detecting K8s ↔ env mismatches
Documentation
[[bench]]
harness = false
name = "lint_benchmark"
path = "benches/lint_benchmark.rs"

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

[dependencies.anyhow]
version = "1.0"

[dependencies.clap]
features = ["derive", "env", "unicode", "wrap_help"]
version = "4.5"

[dependencies.clap_complete]
version = "4.5.62"

[dependencies.colored]
version = "2.1"

[dependencies.crossterm]
version = "0.29.0"

[dependencies.glob]
version = "0.3"

[dependencies.hcl-rs]
version = "0.19.4"

[dependencies.ratatui]
version = "0.29.0"

[dependencies.rayon]
version = "1.10.0"

[dependencies.regex]
version = "1.12.2"

[dependencies.serde]
features = ["derive"]
version = "1.0"

[dependencies.serde_json]
version = "1.0"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.thiserror]
version = "2.0"

[dependencies.toml]
version = "0.9.6"

[dependencies.tracing]
version = "0.1"

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

[dependencies.unicode-width]
version = "0.2"

[dependencies.walkdir]
version = "2.5"

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.criterion]
features = ["html_reports"]
version = "0.5.1"

[dev-dependencies.insta]
features = ["yaml"]
version = "1.41"

[dev-dependencies.predicates]
version = "3.1"

[dev-dependencies.pretty_assertions]
version = "1.4"

[dev-dependencies.rstest]
version = "0.23"

[dev-dependencies.tempfile]
version = "3.14"

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

[lints.clippy]
cloned_instead_of_copied = "warn"
collection_is_never_read = "warn"
debug_assert_with_mut_call = "warn"
derive_partial_eq_without_eq = "warn"
empty_line_after_doc_comments = "warn"
empty_line_after_outer_attr = "warn"
equatable_if_let = "warn"
fallible_impl_from = "warn"
flat_map_option = "warn"
fn_params_excessive_bools = "warn"
if_not_else = "warn"
implicit_clone = "warn"
imprecise_flops = "warn"
inconsistent_struct_constructor = "warn"
inefficient_to_string = "warn"
iter_on_empty_collections = "warn"
iter_on_single_items = "warn"
iter_with_drain = "warn"
large_stack_frames = "warn"
manual_assert = "warn"
manual_instant_elapsed = "warn"
manual_let_else = "warn"
manual_ok_or = "warn"
manual_string_new = "warn"
map_unwrap_or = "warn"
match_bool = "warn"
match_same_arms = "warn"
missing_const_for_fn = "warn"
missing_errors_doc = "allow"
missing_panics_doc = "warn"
must_use_candidate = "warn"
mutex_integer = "warn"
needless_collect = "warn"
needless_continue = "warn"
needless_for_each = "warn"
needless_pass_by_ref_mut = "warn"
no_effect_underscore_binding = "warn"
nonstandard_macro_braces = "warn"
option_as_ref_cloned = "warn"
option_if_let_else = "allow"
or_fun_call = "warn"
path_buf_push_overwrite = "warn"
read_zero_byte_vec = "warn"
redundant_clone = "warn"
redundant_closure_for_method_calls = "warn"
redundant_else = "warn"
ref_option = "warn"
semicolon_if_nothing_returned = "warn"
significant_drop_in_scrutinee = "warn"
significant_drop_tightening = "warn"
single_match_else = "warn"
string_add_assign = "warn"
string_lit_as_bytes = "warn"
suboptimal_flops = "warn"
suspicious_operation_groupings = "warn"
trailing_empty_array = "warn"
trait_duplication_in_bounds = "warn"
transmute_undefined_repr = "warn"
trivial_regex = "warn"
tuple_array_conversions = "warn"
type_repetition_in_bounds = "warn"
uninhabited_references = "warn"
uninlined_format_args = "warn"
unnecessary_join = "warn"
unnecessary_struct_initialization = "warn"
unnecessary_wraps = "warn"
unnested_or_patterns = "warn"
unused_async = "warn"
unused_peekable = "warn"
unused_rounding = "warn"
unused_self = "warn"
use_self = "warn"
used_underscore_binding = "warn"
useless_let_if_seq = "warn"
verbose_bit_mask = "warn"

[lints.clippy.complexity]
level = "warn"
priority = -1

[lints.clippy.correctness]
level = "deny"
priority = -1

[lints.clippy.perf]
level = "warn"
priority = -1

[lints.clippy.style]
level = "warn"
priority = -1

[lints.clippy.suspicious]
level = "warn"
priority = -1

[lints.rust]
missing_docs = "allow"
trivial_casts = "warn"
trivial_numeric_casts = "warn"
unsafe_code = "forbid"
unused_lifetimes = "warn"
unused_qualifications = "warn"

[lints.rust.rust_2018_idioms]
level = "warn"
priority = -1

[package]
authors = ["envcheck contributors"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["command-line-utilities", "development-tools"]
description = "A fast, modern CLI for linting .env files and detecting K8s ↔ env mismatches"
edition = "2021"
exclude = ["tests/fixtures/*", ".github/*"]
keywords = ["env", "dotenv", "lint", "kubernetes", "devops"]
license = "MIT"
name = "envcheck"
readme = "README.md"
repository = "https://github.com/envcheck/envcheck"
rust-version = "1.75"
version = "1.2.0"

[profile.dev]
incremental = true

[profile.release]
codegen-units = 1
lto = "thin"
panic = "abort"
strip = true

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

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

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

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

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

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

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

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

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

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

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