Debian Codegraph @

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

raw
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.80.1"
15 name = "av1-grain"
16 version = "0.2.5"
17 build = false
18 autolib = false
19 autobins = false
20 autoexamples = false
21 autotests = false
22 autobenches = false
23 description = "Helpers for generating and parsing AV1 film grain data"
24 homepage = "https://github.com/rust-av/av1-grain"
25 documentation = "https://docs.rs/av1-grain"
26 readme = "README.md"
27 license = "BSD-2-Clause"
28 repository = "https://github.com/rust-av/av1-grain"
29
30 [features]
31 create = []
32 default = [
33 "create",
34 "parse",
35 "diff",
36 "estimate",
37 ]
38 diff = [
39 "num-rational",
40 "v_frame",
41 ]
42 estimate = ["v_frame"]
43 parse = ["nom"]
44 serialize = [
45 "serde",
46 "arrayvec/serde",
47 ]
48 unstable = []
49
50 [lib]
51 name = "av1_grain"
52 path = "src/lib.rs"
53
54 [dependencies.anyhow]
55 version = "1.0.58"
56
57 [dependencies.arrayvec]
58 version = "0.7.2"
59
60 [dependencies.log]
61 version = "0.4.17"
62
63 [dependencies.nom]
64 version = "8.0.0"
65 optional = true
66
67 [dependencies.num-rational]
68 version = "0.4.1"
69 optional = true
70
71 [dependencies.serde]
72 version = "1.0.140"
73 features = ["derive"]
74 optional = true
75
76 [dependencies.v_frame]
77 version = "0.3.0"
78 optional = true
79
80 [dev-dependencies.quickcheck]
81 version = "1.0.3"
82
83 [dev-dependencies.quickcheck_macros]
84 version = "1.0.0"
85
86 [lints.clippy]
87 case_sensitive_file_extension_comparisons = "warn"
88 cfg_not_test = "deny"
89 checked_conversions = "warn"
90 clear_with_drain = "warn"
91 clone_on_ref_ptr = "warn"
92 cloned_instead_of_copied = "warn"
93 collection_is_never_read = "warn"
94 create_dir = "warn"
95 dbg_macro = "warn"
96 debug_assert_with_mut_call = "deny"
97 enum_glob_use = "warn"
98 equatable_if_let = "warn"
99 expl_impl_clone_on_copy = "deny"
100 filetype_is_file = "warn"
101 filter_map_next = "warn"
102 flat_map_option = "warn"
103 format_collect = "warn"
104 format_push_string = "warn"
105 future_not_send = "warn"
106 if_then_some_else_none = "warn"
107 ignore_without_reason = "warn"
108 implicit_clone = "warn"
109 imprecise_flops = "warn"
110 inconsistent_struct_constructor = "warn"
111 inefficient_to_string = "warn"
112 infinite_loop = "warn"
113 inline_always = "warn"
114 invalid_upcast_comparisons = "warn"
115 iter_filter_is_ok = "warn"
116 iter_filter_is_some = "warn"
117 iter_on_empty_collections = "warn"
118 iter_on_single_items = "warn"
119 iter_with_drain = "warn"
120 large_futures = "warn"
121 large_include_file = "warn"
122 large_stack_arrays = "warn"
123 large_stack_frames = "warn"
124 large_types_passed_by_value = "warn"
125 linkedlist = "deny"
126 macro_use_imports = "warn"
127 manual_assert = "warn"
128 manual_instant_elapsed = "warn"
129 manual_is_power_of_two = "warn"
130 manual_is_variant_and = "warn"
131 manual_let_else = "warn"
132 manual_midpoint = "warn"
133 manual_string_new = "warn"
134 map_unwrap_or = "warn"
135 map_with_unused_argument_over_ranges = "warn"
136 match_bool = "warn"
137 maybe_infinite_iter = "warn"
138 mem_forget = "warn"
139 mismatching_type_param_order = "warn"
140 missing_inline_in_public_items = "warn"
141 mixed_read_write_in_expression = "warn"
142 mut_mut = "warn"
143 mutex_atomic = "warn"
144 mutex_integer = "warn"
145 naive_bytecount = "warn"
146 needless_bitwise_bool = "warn"
147 needless_collect = "warn"
148 needless_continue = "warn"
149 needless_pass_by_ref_mut = "warn"
150 needless_pass_by_value = "warn"
151 non_send_fields_in_send_ty = "deny"
152 non_std_lazy_statics = "warn"
153 non_zero_suggestions = "warn"
154 option_as_ref_cloned = "warn"
155 option_if_let_else = "warn"
156 or_fun_call = "warn"
157 path_buf_push_overwrite = "warn"
158 pathbuf_init_then_push = "warn"
159 precedence_bits = "warn"
160 range_minus_one = "warn"
161 range_plus_one = "warn"
162 rc_buffer = "warn"
163 rc_mutex = "warn"
164 read_zero_byte_vec = "warn"
165 redundant_clone = "warn"
166 redundant_test_prefix = "warn"
167 ref_option = "warn"
168 ref_option_ref = "warn"
169 semicolon_if_nothing_returned = "warn"
170 set_contains_or_insert = "warn"
171 significant_drop_in_scrutinee = "deny"
172 stable_sort_primitive = "warn"
173 str_split_at_newline = "warn"
174 string_lit_chars_any = "warn"
175 string_slice = "warn"
176 suboptimal_flops = "warn"
177 suspicious_operation_groupings = "warn"
178 suspicious_xor_used_as_pow = "warn"
179 tests_outside_test_module = "warn"
180 transmute_ptr_to_ptr = "warn"
181 transmute_undefined_repr = "warn"
182 trivial_regex = "warn"
183 trivially_copy_pass_by_ref = "warn"
184 undocumented_unsafe_blocks = "warn"
185 uninlined_format_args = "allow"
186 unnecessary_box_returns = "warn"
187 unnecessary_debug_formatting = "warn"
188 unnecessary_join = "warn"
189 unused_async = "warn"
190 unused_peekable = "warn"
191 unused_rounding = "warn"
192 unwrap_used = "warn"
193 verbose_bit_mask = "warn"
194 verbose_file_reads = "warn"
195 zero_sized_map_values = "warn"
196
197 [profile.release]
198 lto = "thin"
199 codegen-units = 1