[package]
edition = "2024"
name = "cuenv-ignore"
version = "0.26.12"
authors = ["cuenv Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Generate ignore files (.gitignore, .dockerignore, etc.)"
homepage = "https://github.com/cuenv/cuenv"
readme = "readme.md"
keywords = [
"cue",
"configuration",
"validation",
"ffi",
]
categories = [
"development-tools",
"command-line-utilities",
]
license = "AGPL-3.0-or-later"
repository = "https://github.com/cuenv/cuenv"
resolver = "2"
[features]
default = []
serde = ["dep:serde"]
[lib]
name = "cuenv_ignore"
path = "src/lib.rs"
[dependencies.gix]
version = "0.77"
features = [
"revision",
"blob-diff",
]
default-features = false
[dependencies.serde]
version = "1.0"
features = ["derive"]
optional = true
[dependencies.thiserror]
version = "2.0"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tempfile]
version = "3.25"
[lints.clippy]
as_ptr_cast_mut = "allow"
cognitive_complexity = "allow"
dbg_macro = "warn"
derive_partial_eq_without_eq = "allow"
doc_markdown = "allow"
expect_used = "warn"
implicit_hasher = "allow"
iter_on_single_items = "allow"
missing_const_for_fn = "allow"
missing_panics_doc = "allow"
multiple_crate_versions = "allow"
needless_collect = "allow"
needless_pass_by_ref_mut = "allow"
option_if_let_else = "allow"
or_fun_call = "allow"
panic = "warn"
print_stderr = "warn"
print_stdout = "warn"
redundant_clone = "allow"
redundant_closure_for_method_calls = "allow"
significant_drop_tightening = "allow"
todo = "warn"
too_many_arguments = "allow"
too_many_lines = "allow"
unimplemented = "warn"
uninlined_format_args = "allow"
unnecessary_literal_bound = "allow"
unnecessary_map_or = "allow"
unwrap_used = "warn"
[lints.clippy.all]
level = "warn"
priority = -1
[lints.clippy.cargo]
level = "warn"
priority = -1
[lints.clippy.nursery]
level = "warn"
priority = -1
[lints.clippy.pedantic]
level = "warn"
priority = -1
[lints.rust]
missing_docs = "warn"
unsafe_code = "warn"