# 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.75.0" name = "polkavm-derive" version = "0.18.0" authors = [ "Jan Bujak ", "Parity Technologies ", ] description = "The derive crate for PolkaVM guest programs" documentation = "https://docs.rs/polkavm-derive" readme = "README.md" license = "MIT/Apache-2.0" repository = "https://github.com/koute/polkavm" [dependencies.polkavm-derive-impl-macro] version = "0.18.0" [lints.clippy] alloc_instead_of_core = "warn" as_ptr_cast_mut = "warn" as_underscore = "warn" borrow_as_ptr = "warn" branches_sharing_code = "warn" cast_lossless = "deny" cast_ptr_alignment = "warn" clear_with_drain = "warn" clone_on_ref_ptr = "warn" cloned_instead_of_copied = "warn" collection_is_never_read = "warn" copy_iterator = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "warn" default_union_representation = "warn" disallowed_script_idents = "warn" doc_link_with_quotes = "warn" empty_line_after_doc_comments = "warn" empty_line_after_outer_attr = "warn" exit = "warn" expl_impl_clone_on_copy = "deny" filter_map_next = "warn" flat_map_option = "warn" fn_params_excessive_bools = "warn" fn_to_numeric_cast_any = "warn" format_push_string = "warn" get_first = "allow" ignored_unit_patterns = "warn" implicit_clone = "warn" implicit_hasher = "warn" inconsistent_struct_constructor = "warn" index_refutable_slice = "warn" inefficient_to_string = "warn" iter_not_returning_iterator = "warn" iter_on_empty_collections = "warn" iter_on_single_items = "warn" large_stack_arrays = "warn" large_stack_frames = "warn" large_types_passed_by_value = "warn" let_unit_value = "allow" lossy_float_literal = "warn" manual_instant_elapsed = "warn" manual_let_else = "warn" manual_ok_or = "warn" manual_range_contains = "allow" manual_string_new = "warn" map_unwrap_or = "warn" match_wild_err_arm = "warn" match_wildcard_for_single_variants = "warn" maybe_infinite_iter = "warn" mismatching_type_param_order = "warn" missing_fields_in_debug = "warn" mixed_read_write_in_expression = "warn" mut_mut = "warn" mutex_atomic = "warn" mutex_integer = "warn" needless_collect = "warn" needless_for_each = "warn" needless_pass_by_ref_mut = "warn" needless_raw_string_hashes = "warn" needless_raw_strings = "warn" no_mangle_with_rust_abi = "warn" nonstandard_macro_braces = "warn" partial_pub_fields = "warn" path_buf_push_overwrite = "warn" print_stderr = "warn" print_stdout = "warn" ptr_as_ptr = "warn" ptr_cast_constness = "warn" range_minus_one = "warn" read_zero_byte_vec = "warn" readonly_write_lock = "warn" redundant_clone = "warn" ref_option_ref = "warn" rest_pat_in_fully_bound_structs = "warn" same_functions_in_if_condition = "warn" same_name_method = "warn" std_instead_of_core = "warn" str_to_string = "warn" string_add = "warn" string_add_assign = "warn" string_to_string = "warn" trailing_empty_array = "warn" trait_duplication_in_bounds = "warn" transmute_ptr_to_ptr = "deny" transmute_undefined_repr = "warn" trivially_copy_pass_by_ref = "warn" type_complexity = "allow" type_repetition_in_bounds = "warn" undocumented_unsafe_blocks = "warn" unit_arg = "allow" unsafe_derive_deserialize = "warn" unused_peekable = "warn" unused_self = "warn" unwrap_or_default = "allow" use_debug = "warn" used_underscore_binding = "warn" [lints.rust.unexpected_cfgs] level = "warn" priority = 0