Debian Codegraph @

.cargo/vendor/av1-grain/Cargo.toml.orig

raw
1 [package]
2 name = "av1-grain"
3 version = "0.2.5"
4 edition = "2021"
5 rust-version = "1.80.1"
6 license = "BSD-2-Clause"
7 description = "Helpers for generating and parsing AV1 film grain data"
8 readme = "README.md"
9 repository = "https://github.com/rust-av/av1-grain"
10 homepage = "https://github.com/rust-av/av1-grain"
11 documentation = "https://docs.rs/av1-grain"
12
13 [dependencies]
14 anyhow = "1.0.58"
15 arrayvec = "0.7.2"
16 log = "0.4.17"
17 nom = { version = "8.0.0", optional = true }
18 num-rational = { version = "0.4.1", optional = true }
19 serde = { version = "1.0.140", optional = true, features = ["derive"] }
20 v_frame = { version = "0.3.0", optional = true }
21
22 [dev-dependencies]
23 quickcheck = "1.0.3"
24 quickcheck_macros = "1.0.0"
25
26 [features]
27 default = ["create", "parse", "diff", "estimate"]
28 unstable = []
29 create = []
30 diff = ["num-rational", "v_frame"]
31 estimate = ["v_frame"]
32 parse = ["nom"]
33 serialize = ["serde", "arrayvec/serde"]
34
35 [profile.release]
36 codegen-units = 1
37 lto = "thin"
38
39 [lints.clippy]
40 # Performance
41 clear_with_drain = "warn"
42 format_collect = "warn"
43 format_push_string = "warn"
44 imprecise_flops = "warn"
45 inefficient_to_string = "warn"
46 inline_always = "warn"
47 iter_with_drain = "warn"
48 large_include_file = "warn"
49 large_types_passed_by_value = "warn"
50 linkedlist = "deny"
51 missing_inline_in_public_items = "warn"
52 mutex_atomic = "warn"
53 mutex_integer = "warn"
54 naive_bytecount = "warn"
55 needless_bitwise_bool = "warn"
56 needless_collect = "warn"
57 needless_pass_by_value = "warn"
58 non_std_lazy_statics = "warn"
59 non_zero_suggestions = "warn"
60 or_fun_call = "warn"
61 rc_buffer = "warn"
62 redundant_clone = "warn"
63 ref_option = "warn"
64 set_contains_or_insert = "warn"
65 stable_sort_primitive = "warn"
66 string_lit_chars_any = "warn"
67 suboptimal_flops = "warn"
68 trivial_regex = "warn"
69 trivially_copy_pass_by_ref = "warn"
70 unnecessary_box_returns = "warn"
71 unnecessary_join = "warn"
72 unused_async = "warn"
73 verbose_file_reads = "warn"
74 # Readability/Code Intention
75 # Disabled because of a lint difference between stable and nightly
76 # allow_attributes = "warn"
77 checked_conversions = "warn"
78 clone_on_ref_ptr = "warn"
79 cloned_instead_of_copied = "warn"
80 enum_glob_use = "warn"
81 equatable_if_let = "warn"
82 filter_map_next = "warn"
83 flat_map_option = "warn"
84 if_then_some_else_none = "warn"
85 implicit_clone = "warn"
86 inconsistent_struct_constructor = "warn"
87 invalid_upcast_comparisons = "warn"
88 iter_filter_is_ok = "warn"
89 iter_filter_is_some = "warn"
90 iter_on_empty_collections = "warn"
91 iter_on_single_items = "warn"
92 macro_use_imports = "warn"
93 manual_assert = "warn"
94 manual_instant_elapsed = "warn"
95 manual_is_power_of_two = "warn"
96 manual_is_variant_and = "warn"
97 manual_let_else = "warn"
98 manual_string_new = "warn"
99 map_unwrap_or = "warn"
100 map_with_unused_argument_over_ranges = "warn"
101 match_bool = "warn"
102 needless_continue = "warn"
103 needless_pass_by_ref_mut = "warn"
104 option_as_ref_cloned = "warn"
105 option_if_let_else = "warn"
106 pathbuf_init_then_push = "warn"
107 precedence_bits = "warn"
108 range_minus_one = "warn"
109 range_plus_one = "warn"
110 redundant_test_prefix = "warn"
111 ref_option_ref = "warn"
112 # Disabled due to https://github.com/rust-lang/rust-clippy/issues/14697
113 # self_named_module_files = "warn"
114 semicolon_if_nothing_returned = "warn"
115 tests_outside_test_module = "warn"
116 transmute_ptr_to_ptr = "warn"
117 unused_peekable = "warn"
118 unused_rounding = "warn"
119 verbose_bit_mask = "warn"
120 zero_sized_map_values = "warn"
121 # Correctness/Safety
122 case_sensitive_file_extension_comparisons = "warn"
123 cfg_not_test = "deny"
124 collection_is_never_read = "warn"
125 create_dir = "warn"
126 dbg_macro = "warn"
127 debug_assert_with_mut_call = "deny"
128 expl_impl_clone_on_copy = "deny"
129 filetype_is_file = "warn"
130 future_not_send = "warn"
131 ignore_without_reason = "warn"
132 infinite_loop = "warn"
133 large_futures = "warn"
134 large_stack_arrays = "warn"
135 large_stack_frames = "warn"
136 manual_midpoint = "warn"
137 maybe_infinite_iter = "warn"
138 mem_forget = "warn"
139 mismatching_type_param_order = "warn"
140 mixed_read_write_in_expression = "warn"
141 mut_mut = "warn"
142 non_send_fields_in_send_ty = "deny"
143 path_buf_push_overwrite = "warn"
144 rc_mutex = "warn"
145 read_zero_byte_vec = "warn"
146 significant_drop_in_scrutinee = "deny"
147 str_split_at_newline = "warn"
148 string_slice = "warn"
149 suspicious_operation_groupings = "warn"
150 suspicious_xor_used_as_pow = "warn"
151 transmute_undefined_repr = "warn"
152 undocumented_unsafe_blocks = "warn"
153 unnecessary_debug_formatting = "warn"
154 unwrap_used = "warn"
155 # Annoyances
156 uninlined_format_args = "allow"