[package] name = "version-track" version = "1.0.0" authors = ["Tim Oram "] description = "Library used to track changes to complex data, when direct comparison or hashing is too expensive." repository = "https://github.com/MitMaro/version-track" documentation = "https://docs.rs/version-track/" keywords = ["version", "cache", "tracking"] categories = ["caching"] readme = "README.md" license = "ISC" include = [ "**/*.rs", "/Cargo.toml", "/CHANGELOG.md", "/LICENSE", "/README.md" ] edition = "2021" [lib] name = "version_track" rust-version = "1.60.0" [dependencies] uuid = { version = "1.10.0", features = ["v4", "fast-rng"] } [lints.rust] future_incompatible = { level = "warn", priority = -2 } keyword_idents = { level = "warn", priority = -3 } let_underscore = { level = "warn", priority = -2 } nonstandard_style = { level = "warn", priority = -2 } # refiing_impl_trait - Not needed for this project rust_2018_compatibility = { level = "warn", priority = -2 } rust_2018_idioms = { level = "warn", priority = -2 } rust_2021_compatibility = { level = "warn", priority = -2 } rust_2024_compatibility = { level = "warn", priority = -2 } unused = { level = "warn", priority = -2 } unknown_lints = { level = "warn", priority = -1 } renamed_and_removed_lints = { level = "warn", priority = -1 } # Allow certain configs in the check-cfg linting unexpected_cfgs = { level = "warn", check-cfg = ["cfg(tarpaulin_include)"] } # absolute_paths_not_starting_with_crate - group rust_2018_compatibility # box-pointers - no reason to disallow this in project deprecated_in_future = "warn" # elided_lifetimes_in_paths - group: rust_2018_idioms # explicit_outlives_requirements - group: rust_2018_idioms ffi_unwind_calls = "warn" # fuzzy_provenance_casts - unstable # impl_trait_overcaptures - unstable # keyword_idents_2018 - group: rust_2018_compatibility # keyword_idents_2024 - group: rust_2024_compatibility # let_underscore_drop - group: let_underscore # lossy_provenance_casts - unstable macro_use_extern_crate = "warn" meta_variable_misuse = "warn" missing_abi = "warn" missing_copy_implementations = "warn" missing_debug_implementations = "warn" missing_docs = "warn" # multiple_supertrait_upcastable - unstable # must_not_suspend - unstable non_ascii_idents = "warn" # non_exhaustive_omitted_patterns - unstable redundant_lifetimes = "warn" # rust_2021_incompatible_closure_captures - group: rust_2021_compatibility # rust_2021_incompatible_or_patterns - group: rust_2021_compatibility # rust_2021_prefixes_incompatible_syntax - group: rust_2021_compatibility # rust_2021_prelude_collisions - group: rust_2021_compatibility # rust_2024_incompatible_pat - unstable single_use_lifetimes = "warn" trivial_casts = "warn" trivial_numeric_casts = "warn" unit-bindings = "warn" unnameable_types = "warn" unreachable_pub = "warn" unsafe_code = "warn" # unsafe_op_in_unsafe_fn - group: rust_2024_compatibility # unstable_features - deprecated unused_crate_dependencies = "warn" # unused_extern_crates - group: unused, rust_2018_idioms unused_import_braces = "warn" unused_lifetimes = "warn" # unused_macro_rules - group: unused unused_qualifications = "warn" unused_results = "warn" variant_size_differences = "warn" [lints.clippy] all = { level = "warn", priority = -2 } cargo = { level = "warn", priority = -2 } pedantic = { level = "warn", priority = -2 } restriction = { level = "warn", priority = -2 } # Clippy restricts enabling restricted lints blanket_clippy_restriction_lints = { level = "allow", priority = 5 } default_numeric_fallback = "allow" implicit_return = "allow" missing_docs_in_private_items = "allow" missing_trait_methods = "allow" new_without_default = "allow" pub_use = "allow" std_instead_of_core = "allow" [lints.rustdoc] bare_urls = "warn" broken_intra_doc_links = "warn" invalid_codeblock_attributes = "warn" invalid_html_tags = "warn" missing_crate_level_docs = "allow" private_doc_tests = "warn" private_intra_doc_links = "warn"