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 = "dix"
version = "1.4.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Diff Nix"
homepage = "https://github.com/faukah/dix"
readme = "README.md"
keywords = [
    "nix",
    "nixos",
]
license = "GPL-3.0-only"
repository = "https://github.com/faukah/dix"

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

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

[dependencies.anyhow]
version = "1.0.98"

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

[dependencies.clap-verbosity-flag]
version = "3.0.2"

[dependencies.derive_more]
version = "2.0.1"
features = ["full"]

[dependencies.diff]
version = "0.1.13"

[dependencies.env_logger]
version = "0.11.3"

[dependencies.itertools]
version = "0.14.0"

[dependencies.log]
version = "0.4.20"

[dependencies.ouroboros]
version = "0.18.5"

[dependencies.pathfinding]
version = "4.14.0"

[dependencies.regex]
version = "1.11.1"

[dependencies.rusqlite]
version = "0.38.0"
features = ["bundled"]

[dependencies.size]
version = "0.5.0"

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

[dependencies.yansi]
version = "1.0.1"
features = [
    "detect-env",
    "detect-tty",
]

[dev-dependencies.proptest]
version = "1.6.0"

[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
clone_on_ref_ptr = "warn"
dbg_macro = "warn"
empty_drop = "warn"
empty_structs_with_brackets = "warn"
exit = "warn"
expect_used = "warn"
filetype_is_file = "warn"
get_unwrap = "warn"
implicit_return = "allow"
infinite_loop = "warn"
map_with_unused_argument_over_ranges = "warn"
missing_docs_in_private_items = "allow"
non_ascii_literal = "allow"
non_std_lazy_statics = "warn"
pathbuf_init_then_push = "warn"
pattern_type_mismatch = "allow"
print_stderr = "warn"
print_stdout = "warn"
question_mark_used = "allow"
rc_buffer = "warn"
rc_mutex = "warn"
rest_pat_in_fully_bound_structs = "warn"
similar_names = "allow"
single_call_fn = "allow"
std_instead_of_core = "allow"
todo = "warn"
too_long_first_doc_paragraph = "allow"
too_many_lines = "allow"
undocumented_unsafe_blocks = "warn"
unimplemented = "warn"
unnecessary_safety_comment = "warn"
unreachable = "warn"
unused_result_ok = "warn"
unused_trait_names = "allow"

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

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

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

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

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

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

[profile.release]
opt-level = 3
lto = "fat"