# 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.67.1" name = "ferrunix-macros" version = "0.3.2" authors = ["Arvid Gerstmann "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Proc-macro for ferrunix" homepage = "https://github.com/Leandros/ferrunix" readme = "README.md" keywords = [ "dependency-injection", "inversion-of-control", "dependency-inversion", "di", "ioc", ] categories = [ "development-tools", "rust-patterns", "config", "data-structures", ] license = "MIT OR Apache-2.0" repository = "https://github.com/Leandros/ferrunix" [package.metadata."docs.rs"] features = ["multithread"] [lib] name = "ferrunix_macros" path = "src/lib.rs" proc-macro = true [[test]] name = "it" path = "tests/it/main.rs" [dependencies.darling] version = "0.20" [dependencies.prettyplease] version = "0.2" optional = true [dependencies.proc-macro2] version = "1.0.60" [dependencies.quote] version = "1" [dependencies.syn] version = "2" features = ["extra-traits"] [dev-dependencies.thiserror] version = "1" [features] default = ["development"] development = [ "syn/extra-traits", "dep:prettyplease", ] multithread = [] tokio = [] [lints.clippy] allow_attributes = "allow" allow_attributes_without_reason = "allow" arithmetic_side_effects = "allow" as_conversions = "allow" as_ptr_cast_mut = "warn" as_underscore = "warn" assertions_on_result_states = "warn" assigning_clones = "allow" big_endian_bytes = "allow" bool_to_int_with_if = "warn" borrow_as_ptr = "warn" branches_sharing_code = "warn" cargo_common_metadata = "allow" case_sensitive_file_extension_comparisons = "warn" cast_lossless = "warn" cast_possible_truncation = "allow" cast_possible_wrap = "allow" cast_precision_loss = "warn" cast_ptr_alignment = "warn" cast_sign_loss = "allow" checked_conversions = "allow" clear_with_drain = "warn" clone_on_ref_ptr = "warn" cloned_instead_of_copied = "warn" cognitive_complexity = "warn" collection_is_never_read = "warn" copy_iterator = "warn" create_dir = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "warn" decimal_literal_representation = "warn" default_numeric_fallback = "warn" default_trait_access = "allow" default_union_representation = "warn" deref_by_slicing = "allow" derive_partial_eq_without_eq = "warn" disallowed_script_idents = "warn" doc_link_with_quotes = "warn" doc_markdown = "warn" else_if_without_else = "allow" empty_drop = "warn" empty_enum = "warn" empty_enum_variants_with_brackets = "warn" empty_line_after_doc_comments = "allow" empty_line_after_outer_attr = "allow" empty_structs_with_brackets = "allow" enum_glob_use = "warn" equatable_if_let = "warn" error_impl_error = "warn" exhaustive_enums = "warn" exhaustive_structs = "warn" exit = "warn" expect_used = "allow" expl_impl_clone_on_copy = "warn" explicit_deref_methods = "warn" explicit_into_iter_loop = "warn" explicit_iter_loop = "warn" fallible_impl_from = "warn" filetype_is_file = "warn" filter_map_next = "warn" flat_map_option = "warn" float_arithmetic = "allow" float_cmp = "warn" float_cmp_const = "warn" fn_params_excessive_bools = "warn" fn_to_numeric_cast_any = "warn" format_push_string = "warn" from_iter_instead_of_collect = "warn" future_not_send = "warn" get_unwrap = "warn" host_endian_bytes = "allow" if_not_else = "warn" if_then_some_else_none = "warn" ignored_unit_patterns = "allow" impl_trait_in_params = "warn" implicit_clone = "warn" implicit_hasher = "warn" implicit_return = "allow" imprecise_flops = "warn" inconsistent_struct_constructor = "warn" index_refutable_slice = "warn" indexing_slicing = "warn" inefficient_to_string = "warn" infinite_loop = "warn" inline_always = "warn" inline_asm_x86_att_syntax = "warn" inline_asm_x86_intel_syntax = "allow" integer_division = "allow" integer_division_remainder_used = "allow" into_iter_without_iter = "warn" invalid_upcast_comparisons = "warn" items_after_statements = "warn" iter_filter_is_ok = "warn" iter_filter_is_some = "warn" iter_not_returning_iterator = "warn" iter_on_empty_collections = "warn" iter_on_single_items = "warn" iter_over_hash_type = "allow" iter_with_drain = "warn" iter_without_into_iter = "warn" large_digit_groups = "warn" large_futures = "warn" large_include_file = "warn" large_stack_arrays = "warn" large_stack_frames = "warn" large_types_passed_by_value = "warn" let_underscore_must_use = "warn" let_underscore_untyped = "allow" linkedlist = "warn" little_endian_bytes = "allow" lossy_float_literal = "warn" macro_use_imports = "warn" manual_assert = "warn" manual_c_str_literals = "warn" manual_instant_elapsed = "warn" manual_is_variant_and = "warn" manual_let_else = "warn" manual_ok_or = "warn" manual_string_new = "warn" many_single_char_names = "warn" map_err_ignore = "warn" map_unwrap_or = "warn" match_bool = "warn" match_on_vec_items = "warn" match_same_arms = "warn" match_wild_err_arm = "warn" match_wildcard_for_single_variants = "warn" maybe_infinite_iter = "warn" mem_forget = "warn" min_ident_chars = "warn" mismatching_type_param_order = "warn" missing_assert_message = "warn" missing_asserts_for_indexing = "allow" missing_const_for_fn = "allow" missing_docs_in_private_items = "warn" missing_errors_doc = "warn" missing_fields_in_debug = "allow" missing_inline_in_public_items = "allow" missing_panics_doc = "warn" missing_trait_methods = "allow" mixed_read_write_in_expression = "allow" mod_module_files = "allow" module_name_repetitions = "allow" modulo_arithmetic = "allow" multiple_crate_versions = "allow" multiple_inherent_impl = "warn" multiple_unsafe_ops_per_block = "warn" must_use_candidate = "allow" mut_mut = "warn" mutex_atomic = "allow" mutex_integer = "allow" naive_bytecount = "warn" needless_bitwise_bool = "warn" needless_collect = "warn" needless_continue = "warn" needless_for_each = "warn" needless_pass_by_ref_mut = "warn" needless_pass_by_value = "warn" needless_raw_string_hashes = "warn" needless_raw_strings = "warn" negative_feature_names = "warn" new_ret_no_self = "allow" no_effect_underscore_binding = "warn" no_mangle_with_rust_abi = "warn" non_ascii_literal = "warn" non_send_fields_in_send_ty = "warn" nonstandard_macro_braces = "warn" option_as_ref_cloned = "warn" option_if_let_else = "warn" option_option = "warn" or_fun_call = "warn" panic = "deny" panic_in_result_fn = "allow" partial_pub_fields = "warn" path_buf_push_overwrite = "warn" pattern_type_mismatch = "allow" print_stderr = "allow" print_stdout = "allow" ptr_as_ptr = "warn" ptr_cast_constness = "warn" pub_underscore_fields = "warn" pub_use = "allow" pub_with_shorthand = "allow" pub_without_shorthand = "warn" question_mark_used = "allow" range_minus_one = "allow" range_plus_one = "allow" rc_buffer = "warn" rc_mutex = "warn" read_zero_byte_vec = "warn" redundant_clone = "warn" redundant_closure_for_method_calls = "warn" redundant_else = "warn" redundant_feature_names = "warn" redundant_pub_crate = "allow" redundant_type_annotations = "warn" ref_as_ptr = "warn" ref_binding_to_reference = "warn" ref_option_ref = "warn" ref_patterns = "allow" rest_pat_in_fully_bound_structs = "warn" return_self_not_must_use = "warn" same_functions_in_if_condition = "warn" same_name_method = "warn" self_named_module_files = "warn" semicolon_if_nothing_returned = "warn" semicolon_inside_block = "warn" semicolon_outside_block = "allow" separated_literal_suffix = "allow" shadow_reuse = "allow" shadow_same = "warn" shadow_unrelated = "warn" should_panic_without_expect = "warn" significant_drop_in_scrutinee = "warn" similar_names = "warn" single_call_fn = "allow" single_char_lifetime_names = "warn" single_match_else = "warn" stable_sort_primitive = "warn" std_instead_of_alloc = "allow" std_instead_of_core = "allow" str_split_at_newline = "warn" str_to_string = "warn" string_add = "warn" string_add_assign = "warn" string_lit_as_bytes = "warn" string_lit_chars_any = "warn" string_slice = "warn" string_to_string = "warn" struct_excessive_bools = "warn" struct_field_names = "warn" suboptimal_flops = "warn" suspicious_operation_groupings = "warn" suspicious_xor_used_as_pow = "warn" tests_outside_test_module = "allow" todo = "warn" too_many_lines = "warn" trailing_empty_array = "warn" trait_duplication_in_bounds = "warn" transmute_ptr_to_ptr = "warn" transmute_undefined_repr = "warn" trivial_regex = "allow" trivially_copy_pass_by_ref = "warn" try_err = "warn" tuple_array_conversions = "warn" type_repetition_in_bounds = "warn" unchecked_duration_subtraction = "warn" undocumented_unsafe_blocks = "warn" unicode_not_nfc = "warn" unimplemented = "warn" uninhabited_references = "warn" uninlined_format_args = "warn" unnecessary_box_returns = "warn" unnecessary_join = "warn" unnecessary_safety_comment = "warn" unnecessary_safety_doc = "warn" unnecessary_self_imports = "warn" unnecessary_struct_initialization = "warn" unnecessary_wraps = "warn" unneeded_field_pattern = "warn" unnested_or_patterns = "warn" unreachable = "allow" unreadable_literal = "warn" unsafe_derive_deserialize = "warn" unseparated_literal_suffix = "warn" unused_async = "warn" unused_peekable = "warn" unused_rounding = "warn" unused_self = "warn" unwrap_in_result = "allow" unwrap_used = "deny" use_debug = "warn" use_self = "warn" used_underscore_binding = "warn" useless_asref = "allow" useless_let_if_seq = "warn" verbose_bit_mask = "allow" verbose_file_reads = "warn" wildcard_dependencies = "warn" wildcard_enum_match_arm = "allow" wildcard_imports = "warn" zero_sized_map_values = "allow" [lints.clippy.complexity] level = "warn" priority = -1 [lints.clippy.correctness] level = "deny" priority = -1 [lints.clippy.perf] level = "deny" priority = -1 [lints.clippy.restriction] level = "allow" priority = -1 [lints.clippy.style] level = "warn" priority = -1 [lints.clippy.suspicious] level = "warn" priority = -1 [lints.rust] elided_lifetimes_in_paths = "warn" explicit_outlives_requirements = "warn" missing_copy_implementations = "warn" missing_debug_implementations = "warn" missing_docs = "warn" non_ascii_idents = "warn" noop_method_call = "warn" unsafe_code = "warn" unsafe_op_in_unsafe_fn = "warn" unused_extern_crates = "allow" unused_lifetimes = "warn" [lints.rust.keyword_idents] level = "warn" priority = -1 [lints.rust.rust_2018_idioms] level = "warn" priority = -1 [lints.rust.rust_2024_compatibility] level = "allow" priority = -1