[package]
edition = "2024"
name = "ncro-config"
version = "2.0.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Nix Cache Route Optimizer"
homepage = "https://github.com/notashelf/ncro"
readme = false
license = "EUPL-1.2"
repository = "https://github.com/notashelf/ncro"
[lib]
name = "ncro_config"
path = "src/lib.rs"
[dependencies.hex]
version = "0.4.3"
[dependencies.humantime-serde]
version = "1.1.1"
[dependencies.serde]
version = "1.0.228"
features = ["derive"]
[dependencies.thiserror]
version = "2.0.18"
[dependencies.toml]
version = "1.1.2"
[dependencies.url]
version = "2.5.8"
[lints.clippy]
absolute_paths = "allow"
arbitrary_source_item_ordering = "allow"
cargo_common_metadata = "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"
multiple_crate_versions = "allow"
non_ascii_literal = "allow"
non_std_lazy_statics = "warn"
panic = "deny"
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"
unwrap_used = "deny"
[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