[package] name = "rustic_cdc" version = "0.3.1" authors = [ "Vincent Cantin ", "the rustic-rs team", ] edition = "2021" keywords = ["rabin", "cdc", "chunk", "merkle", "dedup"] license = "MIT" readme = "README.md" repository = "https://github.com/rustic-rs/cdc" rust-version = "1.73.0" description = "A library for performing Content-Defined Chunking (CDC) on data streams." [dependencies] [dev-dependencies] arrayref = "0.3.9" criterion = "0.5" ring = "0.17.8" [[bench]] name = "benchmarks" harness = false [lints.rust] unsafe_code = "forbid" missing_docs = { level = "warn", priority = -1 } rust_2018_idioms = { level = "warn", priority = -1 } trivial_casts = "warn" unused_lifetimes = "warn" unused_qualifications = "warn" bad_style = "warn" dead_code = "allow" # TODO: "warn" improper_ctypes = "warn" missing_copy_implementations = "warn" missing_debug_implementations = "warn" non_shorthand_field_patterns = "warn" no_mangle_generic_items = "warn" overflowing_literals = "warn" path_statements = "warn" patterns_in_fns_without_body = "warn" trivial_numeric_casts = "warn" unused_results = "warn" unused_extern_crates = "warn" unused_import_braces = "warn" unconditional_recursion = "warn" unused = { level = "warn", priority = -1 } unused_allocation = "warn" unused_comparisons = "warn" unused_parens = "warn" while_true = "warn" unreachable_pub = "allow" [lints.clippy] redundant_pub_crate = "allow" pedantic = { level = "warn", priority = -1 } nursery = { level = "warn", priority = -1 } # expect_used = "warn" # TODO! # unwrap_used = "warn" # TODO! enum_glob_use = "warn" correctness = { level = "warn", priority = -1 } suspicious = { level = "warn", priority = -1 } complexity = { level = "warn", priority = -1 } perf = { level = "warn", priority = -1 } cast_lossless = "warn" default_trait_access = "warn" doc_markdown = "warn" manual_string_new = "warn" match_same_arms = "warn" semicolon_if_nothing_returned = "warn" trivially_copy_pass_by_ref = "warn" module_name_repetitions = "allow" # TODO: Remove when Windows support landed # mostly Windows-related functionality is missing `const` # as it's only OK(()), but doesn't make it reasonable to # have a breaking change in the future. They won't be const. missing_const_for_fn = "allow" needless_raw_string_hashes = "allow" [lints.rustdoc] # We run rustdoc with `--document-private-items` so we can document private items private_intra_doc_links = "allow"