# 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 = "fn-traits" version = "0.2.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Provides function traits like the standard library ones, but can be used in stable Rust." readme = "README.md" keywords = ["no-std"] categories = [ "data-structures", "no-std", "rust-patterns", ] license = "MIT" repository = "https://github.com/EFanZh/fn-traits" [lib] name = "fn_traits" path = "src/lib.rs" [dev-dependencies.futures] version = "0.3" [lints.clippy] alloc_instead_of_core = "warn" allow_attributes_without_reason = "warn" as_ptr_cast_mut = "warn" branches_sharing_code = "warn" clone_on_ref_ptr = "warn" cognitive_complexity = "warn" create_dir = "warn" dbg_macro = "warn" debug_assert_with_mut_call = "warn" deref_by_slicing = "warn" derive_partial_eq_without_eq = "warn" empty_drop = "warn" empty_line_after_outer_attr = "warn" empty_structs_with_brackets = "warn" equatable_if_let = "warn" fallible_impl_from = "warn" filetype_is_file = "warn" float_cmp_const = "warn" format_push_string = "warn" get_unwrap = "warn" if_then_some_else_none = "warn" imprecise_flops = "warn" iter_on_empty_collections = "warn" iter_on_single_items = "warn" iter_with_drain = "warn" large_include_file = "warn" let_underscore_must_use = "warn" lossy_float_literal = "warn" manual_clamp = "warn" map_err_ignore = "warn" mixed_read_write_in_expression = "warn" multiple_inherent_impl = "warn" mutex_atomic = "warn" mutex_integer = "warn" needless_collect = "warn" negative_feature_names = "warn" non_send_fields_in_send_ty = "warn" nonstandard_macro_braces = "warn" option_if_let_else = "warn" or_fun_call = "warn" panic = "warn" panic_in_result_fn = "warn" partial_pub_fields = "warn" path_buf_push_overwrite = "warn" pedantic = "warn" print_stderr = "warn" print_stdout = "warn" rc_buffer = "warn" rc_mutex = "warn" redundant_feature_names = "warn" redundant_pub_crate = "warn" rest_pat_in_fully_bound_structs = "warn" self_named_module_files = "warn" significant_drop_in_scrutinee = "warn" string_lit_as_bytes = "warn" string_to_string = "warn" suboptimal_flops = "warn" suspicious_operation_groupings = "warn" todo = "warn" trailing_empty_array = "warn" trait_duplication_in_bounds = "warn" transmute_undefined_repr = "warn" trivial_regex = "warn" try_err = "warn" type_repetition_in_bounds = "warn" undocumented_unsafe_blocks = "warn" unimplemented = "warn" unnecessary_safety_comment = "warn" unnecessary_safety_doc = "warn" unnecessary_self_imports = "warn" unneeded_field_pattern = "warn" unused_peekable = "warn" unused_rounding = "warn" use_debug = "warn" use_self = "warn" useless_let_if_seq = "warn" verbose_file_reads = "warn" [lints.clippy.cargo_common_metadata] level = "allow" priority = 1 [lints.clippy.cast_possible_truncation] level = "allow" priority = 1 [lints.clippy.cast_possible_wrap] level = "allow" priority = 1 [lints.clippy.cast_sign_loss] level = "allow" priority = 1 [lints.clippy.decimal_literal_representation] level = "allow" priority = 1 [lints.clippy.lint_groups_priority] level = "allow" priority = 1 [lints.clippy.missing_panics_doc] level = "allow" priority = 1 [lints.clippy.must_use_candidate] level = "allow" priority = 1 [lints.clippy.needless_pass_by_value] level = "allow" priority = 1 [lints.clippy.same_name_method] level = "allow" priority = 1 [lints.clippy.wildcard_dependencies] level = "allow" priority = 1 [lints.rust] absolute_paths_not_starting_with_crate = "warn" explicit_outlives_requirements = "warn" let_underscore_drop = "warn" macro_use_extern_crate = "warn" meta_variable_misuse = "warn" missing_abi = "warn" noop_method_call = "warn" single_use_lifetimes = "warn" trivial_numeric_casts = "warn" unsafe_code = "warn" unsafe_op_in_unsafe_fn = "warn" unused_crate_dependencies = "warn" unused_extern_crates = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" unused_macro_rules = "warn" variant_size_differences = "warn" [lints.rust.missing_docs] level = "allow" priority = 1 [lints.rust.trivial_casts] level = "allow" priority = 1 [lints.rust.unused_qualifications] level = "allow" priority = 1