# 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" name = "dma-heap" version = "0.4.0" authors = ["Maxime Ripard "] description = "Linux DMA-Buf Heap Abstraction Library" readme = "README.md" keywords = [ "linux", "dma", "dma-buf", "heap", ] categories = [ "api-bindings", "os::linux-apis", ] license-file = "LICENSE" repository = "https://github.com/mripard/dma-heap/" [dependencies.log] version = "0.4.20" [dependencies.rustix] version = "0.38.31" features = ["fs"] [dependencies.strum_macros] version = "0.26.1" [dependencies.thiserror] version = "1.0.56" [features] nightly = [] [lints.clippy] alloc_instead_of_core = "warn" assertions_on_result_states = "warn" cognitive_complexity = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "warn" decimal_literal_representation = "warn" empty_drop = "warn" empty_structs_with_brackets = "warn" error_impl_error = "warn" exit = "warn" fallible_impl_from = "warn" float_cmp_const = "warn" fn_to_numeric_cast_any = "warn" format_push_string = "warn" get_unwrap = "warn" imprecise_flops = "warn" infinite_loop = "warn" let_underscore_must_use = "warn" let_underscore_untyped = "warn" lossy_float_literal = "warn" map_err_ignore = "warn" mem_forget = "warn" missing_assert_message = "warn" missing_asserts_for_indexing = "warn" mixed_read_write_in_expression = "warn" mod_module_files = "warn" modulo_arithmetic = "warn" multiple_inherent_impl = "warn" multiple_unsafe_ops_per_block = "warn" mutex_atomic = "warn" mutex_integer = "warn" needless_raw_strings = "warn" non_ascii_literal = "warn" panic_in_result_fn = "warn" partial_pub_fields = "warn" path_buf_push_overwrite = "warn" print_stdout = "warn" redundant_type_annotations = "warn" ref_patterns = "warn" rest_pat_in_fully_bound_structs = "warn" same_name_method = "warn" semicolon_outside_block = "warn" separated_literal_suffix = "warn" std_instead_of_alloc = "warn" std_instead_of_core = "warn" str_to_string = "warn" string_add = "warn" string_lit_as_bytes = "warn" string_to_string = "warn" suspicious_xor_used_as_pow = "warn" tests_outside_test_module = "warn" todo = "warn" trait_duplication_in_bounds = "warn" try_err = "warn" undocumented_unsafe_blocks = "warn" unnecessary_safety_comment = "warn" unnecessary_safety_doc = "warn" unnecessary_self_imports = "warn" unneeded_field_pattern = "warn" unwrap_in_result = "warn" unwrap_used = "warn" use_debug = "warn" verbose_file_reads = "warn" wildcard_enum_match_arm = "warn" [lints.clippy.all] level = "deny" priority = -1 [lints.clippy.cargo] level = "warn" priority = -1 [lints.clippy.complexity] level = "warn" priority = -1 [lints.clippy.correctness] level = "warn" priority = -1 [lints.clippy.pedantic] level = "warn" priority = -1 [lints.clippy.perf] level = "warn" priority = -1 [lints.clippy.style] level = "warn" priority = -1 [lints.clippy.suspicious] level = "warn" priority = -1 [lints.rust] absolute_paths_not_starting_with_crate = "warn" keyword_idents = "warn" let_underscore_drop = "warn" macro_use_extern_crate = "warn" missing_abi = "deny" missing_debug_implementations = "warn" missing_docs = "warn" non_ascii_idents = "warn" rust_2021_incompatible_closure_captures = "deny" rust_2021_incompatible_or_patterns = "deny" rust_2021_prefixes_incompatible_syntax = "warn" rust_2021_prelude_collisions = "warn" single_use_lifetimes = "warn" trivial_casts = "warn" trivial_numeric_casts = "warn" unreachable_pub = "warn" unsafe_op_in_unsafe_fn = "warn" unused_crate_dependencies = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" unused_macro_rules = "warn" unused_qualifications = "warn" variant_size_differences = "warn" [lints.rust.future_incompatible] level = "warn" priority = -1 [lints.rust.nonstandard_style] level = "warn" priority = -1 [lints.rust.rust_2018_idioms] level = "warn" priority = -1