# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.80.1" name = "av1-grain" version = "0.2.5" build = false autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Helpers for generating and parsing AV1 film grain data" homepage = "https://github.com/rust-av/av1-grain" documentation = "https://docs.rs/av1-grain" readme = "README.md" license = "BSD-2-Clause" repository = "https://github.com/rust-av/av1-grain" [features] create = [] default = [ "create", "parse", "diff", "estimate", ] diff = [ "num-rational", "v_frame", ] estimate = ["v_frame"] parse = ["nom"] serialize = [ "serde", "arrayvec/serde", ] unstable = [] [lib] name = "av1_grain" path = "src/lib.rs" [dependencies.anyhow] version = "1.0.58" [dependencies.arrayvec] version = "0.7.2" [dependencies.log] version = "0.4.17" [dependencies.nom] version = "8.0.0" optional = true [dependencies.num-rational] version = "0.4.1" optional = true [dependencies.serde] version = "1.0.140" features = ["derive"] optional = true [dependencies.v_frame] version = "0.3.0" optional = true [dev-dependencies.quickcheck] version = "1.0.3" [dev-dependencies.quickcheck_macros] version = "1.0.0" [lints.clippy] case_sensitive_file_extension_comparisons = "warn" cfg_not_test = "deny" checked_conversions = "warn" clear_with_drain = "warn" clone_on_ref_ptr = "warn" cloned_instead_of_copied = "warn" collection_is_never_read = "warn" create_dir = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "deny" enum_glob_use = "warn" equatable_if_let = "warn" expl_impl_clone_on_copy = "deny" filetype_is_file = "warn" filter_map_next = "warn" flat_map_option = "warn" format_collect = "warn" format_push_string = "warn" future_not_send = "warn" if_then_some_else_none = "warn" ignore_without_reason = "warn" implicit_clone = "warn" imprecise_flops = "warn" inconsistent_struct_constructor = "warn" inefficient_to_string = "warn" infinite_loop = "warn" inline_always = "warn" invalid_upcast_comparisons = "warn" iter_filter_is_ok = "warn" iter_filter_is_some = "warn" iter_on_empty_collections = "warn" iter_on_single_items = "warn" iter_with_drain = "warn" large_futures = "warn" large_include_file = "warn" large_stack_arrays = "warn" large_stack_frames = "warn" large_types_passed_by_value = "warn" linkedlist = "deny" macro_use_imports = "warn" manual_assert = "warn" manual_instant_elapsed = "warn" manual_is_power_of_two = "warn" manual_is_variant_and = "warn" manual_let_else = "warn" manual_midpoint = "warn" manual_string_new = "warn" map_unwrap_or = "warn" map_with_unused_argument_over_ranges = "warn" match_bool = "warn" maybe_infinite_iter = "warn" mem_forget = "warn" mismatching_type_param_order = "warn" missing_inline_in_public_items = "warn" mixed_read_write_in_expression = "warn" mut_mut = "warn" mutex_atomic = "warn" mutex_integer = "warn" naive_bytecount = "warn" needless_bitwise_bool = "warn" needless_collect = "warn" needless_continue = "warn" needless_pass_by_ref_mut = "warn" needless_pass_by_value = "warn" non_send_fields_in_send_ty = "deny" non_std_lazy_statics = "warn" non_zero_suggestions = "warn" option_as_ref_cloned = "warn" option_if_let_else = "warn" or_fun_call = "warn" path_buf_push_overwrite = "warn" pathbuf_init_then_push = "warn" precedence_bits = "warn" range_minus_one = "warn" range_plus_one = "warn" rc_buffer = "warn" rc_mutex = "warn" read_zero_byte_vec = "warn" redundant_clone = "warn" redundant_test_prefix = "warn" ref_option = "warn" ref_option_ref = "warn" semicolon_if_nothing_returned = "warn" set_contains_or_insert = "warn" significant_drop_in_scrutinee = "deny" stable_sort_primitive = "warn" str_split_at_newline = "warn" string_lit_chars_any = "warn" string_slice = "warn" suboptimal_flops = "warn" suspicious_operation_groupings = "warn" suspicious_xor_used_as_pow = "warn" tests_outside_test_module = "warn" transmute_ptr_to_ptr = "warn" transmute_undefined_repr = "warn" trivial_regex = "warn" trivially_copy_pass_by_ref = "warn" undocumented_unsafe_blocks = "warn" uninlined_format_args = "allow" unnecessary_box_returns = "warn" unnecessary_debug_formatting = "warn" unnecessary_join = "warn" unused_async = "warn" unused_peekable = "warn" unused_rounding = "warn" unwrap_used = "warn" verbose_bit_mask = "warn" verbose_file_reads = "warn" zero_sized_map_values = "warn" [profile.release] lto = "thin" codegen-units = 1