# 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"
rust-version = "1.85"
name = "outdatty"
version = "0.2.0"
build = false
include = [
    "/src/",
    "/schema/",
    "/LICENSE*",
    "/README.md",
    "/CHANGELOG.md",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Catch outdated artifacts via a declared dependency graph and content hashes"
readme = "README.md"
keywords = [
    "dependencies",
    "hash",
    "ci",
    "documentation",
    "blake3",
]
categories = [
    "command-line-utilities",
    "development-tools",
]
license = "MIT"
repository = "https://github.com/mlavrinenko/outdatty"

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

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

[dependencies.blake3]
version = "1"

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

[dependencies.env_logger]
version = "0.11"

[dependencies.globset]
version = "0.4"

[dependencies.ignore]
version = "0.4"

[dependencies.log]
version = "0.4"

[dependencies.rayon]
version = "1"

[dependencies.schemars]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.serde_yaml_ng]
version = "0.10"

[dependencies.thiserror]
version = "2"

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

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

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

[lints.clippy]
approx_constant = "deny"
bool_to_int_with_if = "deny"
cast_possible_truncation = "deny"
cast_sign_loss = "deny"
cloned_instead_of_copied = "deny"
cognitive_complexity = "deny"
dbg_macro = "deny"
deprecated_cfg_attr = "deny"
doc_markdown = "deny"
empty_line_after_doc_comments = "deny"
empty_line_after_outer_attr = "deny"
enum_glob_use = "deny"
flat_map_option = "deny"
fn_params_excessive_bools = "deny"
if_same_then_else = "deny"
implicit_clone = "deny"
indexing_slicing = "deny"
inefficient_to_string = "deny"
iter_out_of_bounds = "deny"
large_enum_variant = "deny"
lossy_float_literal = "deny"
manual_let_else = "deny"
manual_string_new = "deny"
many_single_char_names = "deny"
map_unwrap_or = "deny"
match_overlapping_arm = "deny"
match_same_arms = "deny"
match_wild_err_arm = "deny"
mem_forget = "deny"
missing_errors_doc = "deny"
missing_panics_doc = "deny"
module_inception = "deny"
needless_lifetimes = "deny"
needless_pass_by_value = "deny"
needless_raw_string_hashes = "deny"
neg_multiply = "deny"
new_without_default = "deny"
no_effect = "deny"
out_of_bounds_indexing = "deny"
panic_in_result_fn = "deny"
ptr_as_ptr = "deny"
ptr_cast_constness = "deny"
rc_buffer = "deny"
redundant_closure = "deny"
redundant_closure_call = "deny"
redundant_closure_for_method_calls = "deny"
redundant_else = "deny"
redundant_field_names = "deny"
redundant_pattern = "deny"
redundant_static_lifetimes = "deny"
ref_as_ptr = "deny"
rest_pat_in_fully_bound_structs = "deny"
search_is_some = "deny"
semicolon_if_nothing_returned = "deny"
should_implement_trait = "deny"
similar_names = "deny"
single_match = "deny"
single_match_else = "deny"
str_to_string = "deny"
struct_excessive_bools = "deny"
todo = "deny"
too_many_arguments = "deny"
too_many_lines = "deny"
trivially_copy_pass_by_ref = "deny"
type_complexity = "deny"
undocumented_unsafe_blocks = "deny"
unimplemented = "deny"
uninlined_format_args = "deny"
unnecessary_wraps = "deny"
unreachable = "deny"
unseparated_literal_suffix = "deny"
unused_self = "deny"
unused_unit = "deny"
unwrap_used = "deny"
upper_case_acronyms = "deny"
useless_let_if_seq = "deny"
useless_vec = "deny"
verbose_file_reads = "deny"
wildcard_imports = "deny"

[lints.rust]
unsafe_code = "deny"
unused_must_use = "deny"

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