Cargo.toml (4738B)
1 [package] 2 authors = ["Zack Newman <zack@philomathiclife.com>"] 3 categories = ["command-line-utilities"] 4 description = "RPZ file generator based on HTTP(S) URLs and local file paths entered into a config file." 5 documentation = "https://crates.io/crates/rpz" 6 edition = "2024" 7 keywords = ["adblock", "rpz", "unbound"] 8 license = "MIT OR Apache-2.0" 9 name = "rpz" 10 readme = "README.md" 11 repository = "https://git.philomathiclife.com/repos/rpz/" 12 version = "1.4.0" 13 14 [lints.rust] 15 ambiguous_negative_literals = { level = "deny", priority = -1 } 16 closure_returning_async_block = { level = "deny", priority = -1 } 17 deref_into_dyn_supertrait = { level = "deny", priority = -1 } 18 ffi_unwind_calls = { level = "deny", priority = -1 } 19 future_incompatible = { level = "deny", priority = -1 } 20 impl_trait_redundant_captures = { level = "deny", priority = -1 } 21 keyword-idents = { level = "deny", priority = -1 } 22 let_underscore = { level = "deny", priority = -1 } 23 linker_messages = { level = "deny", priority = -1 } 24 macro_use_extern_crate = { level = "deny", priority = -1 } 25 meta_variable_misuse = { level = "deny", priority = -1 } 26 missing_copy_implementations = { level = "deny", priority = -1 } 27 missing_debug_implementations = { level = "deny", priority = -1 } 28 missing_docs = { level = "deny", priority = -1 } 29 non_ascii_idents = { level = "deny", priority = -1 } 30 nonstandard_style = { level = "deny", priority = -1 } 31 redundant_imports = { level = "deny", priority = -1 } 32 redundant_lifetimes = { level = "deny", priority = -1 } 33 refining_impl_trait = { level = "deny", priority = -1 } 34 rust_2018_compatibility = { level = "deny", priority = -1 } 35 rust_2018_idioms = { level = "deny", priority = -1 } 36 rust_2021_compatibility = { level = "deny", priority = -1 } 37 rust_2024_compatibility = { level = "deny", priority = -1 } 38 single_use_lifetimes = { level = "deny", priority = -1 } 39 trivial_casts = { level = "deny", priority = -1 } 40 trivial_numeric_casts = { level = "deny", priority = -1 } 41 unit_bindings = { level = "deny", priority = -1 } 42 unknown_lints = { level = "deny", priority = -1 } 43 unnameable_types = { level = "deny", priority = -1 } 44 unreachable_pub = { level = "deny", priority = -1 } 45 unsafe_code = { level = "deny", priority = -1 } 46 unstable_features = { level = "deny", priority = -1 } 47 unused = { level = "deny", priority = -1 } 48 unused_crate_dependencies = { level = "deny", priority = -1 } 49 unused_import_braces = { level = "deny", priority = -1 } 50 unused_lifetimes = { level = "deny", priority = -1 } 51 unused_qualifications = { level = "deny", priority = -1 } 52 unused_results = { level = "deny", priority = -1 } 53 variant_size_differences = { level = "deny", priority = -1 } 54 warnings = { level = "deny", priority = -1 } 55 56 [lints.clippy] 57 all = { level = "deny", priority = -1 } 58 cargo = { level = "deny", priority = -1 } 59 complexity = { level = "deny", priority = -1 } 60 correctness = { level = "deny", priority = -1 } 61 nursery = { level = "deny", priority = -1 } 62 pedantic = { level = "deny", priority = -1 } 63 perf = { level = "deny", priority = -1 } 64 restriction = { level = "deny", priority = -1 } 65 style = { level = "deny", priority = -1 } 66 suspicious = { level = "deny", priority = -1 } 67 # Noisy, opinionated, and likely don't prevent bugs or improve APIs. 68 arbitrary_source_item_ordering = "allow" 69 blanket_clippy_restriction_lints = "allow" 70 exhaustive_enums = "allow" 71 exhaustive_structs = "allow" 72 implicit_return = "allow" 73 min_ident_chars = "allow" 74 missing_trait_methods = "allow" 75 pub_with_shorthand = "allow" 76 question_mark_used = "allow" 77 redundant_pub_crate = "allow" 78 ref_patterns = "allow" 79 return_and_then = "allow" 80 single_call_fn = "allow" 81 single_char_lifetime_names = "allow" 82 unseparated_literal_suffix = "allow" 83 84 [dependencies] 85 ascii_domain = { version = "0.6.5", default-features = false } 86 num-bigint = { version = "0.4.6", default-features = false } 87 priv_sep = { version = "3.0.0-alpha.1.1", default-features = false, optional = true } 88 reqwest = { version = "0.12.20", default-features = false, features = ["brotli", "deflate", "gzip", "rustls-tls-native-roots", "trust-dns"] } 89 serde = { version = "1.0.219", default-features = false } 90 superset_map = { version = "0.3.3", default-features = false } 91 tokio = { version = "1.45.1", default-features = false, features = ["rt", "time"] } 92 toml = { version = "0.8.23", default-features = false, features = ["parse"] } 93 url = { version = "2.5.4", default-features = false, features = ["serde"] } 94 zfc = { version = "0.4.3", default-features = false } 95 96 97 ### FEATURES ################################################################# 98 99 [features] 100 default = ["priv_sep"] 101 102 # Provide pledge and unveil for the binary crate on OpenBSD platforms. 103 priv_sep = ["dep:priv_sep"] 104 105 [profile.release] 106 lto = true 107 panic = 'abort' 108 strip = true