# 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.78.0" name = "evenio" version = "0.6.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "An event-driven entity component system" readme = "README.md" keywords = [ "game", "ecs", ] categories = [ "data-structures", "no-std", "game-development", ] license = "MIT" repository = "https://github.com/rj00a/evenio" [package.metadata.docs.rs] all-features = true rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "evenio" path = "src/lib.rs" [[bench]] name = "btree_vs_hash" path = "benches/btree_vs_hash.rs" harness = false [[bench]] name = "add_components" path = "benches/add_components.rs" harness = false [[bench]] name = "event" path = "benches/event.rs" harness = false [[bench]] name = "iter" path = "benches/iter.rs" harness = false [[bench]] name = "random_access" path = "benches/random_access.rs" harness = false [dependencies.ahash] version = "0.8.7" default-features = false [dependencies.bumpalo] version = "3.14.0" [dependencies.evenio_macros] version = "0.6.0" [dependencies.hashbrown] version = "0.14.3" features = ["inline-more"] default-features = false [dependencies.indexmap] version = "2.2.3" default-features = false [dependencies.rayon] version = "1.8.1" optional = true [dependencies.slab] version = "0.4.9" [dev-dependencies.ahash] version = "0.8.7" [dev-dependencies.bevy_ecs] version = "0.13.2" features = ["multi-threaded"] [dev-dependencies.bevy_tasks] version = "0.13.2" [dev-dependencies.divan] version = "0.1.11" [dev-dependencies.rand] version = "0.8.5" [features] default = ["std"] rayon = ["dep:rayon"] std = [ "ahash/std", "ahash/runtime-rng", ] [lints.clippy] alloc_instead_of_core = "warn" as_ptr_cast_mut = "warn" as_underscore = "warn" bool_to_int_with_if = "warn" case_sensitive_file_extension_comparisons = "warn" cast_lossless = "warn" checked_conversions = "warn" cloned_instead_of_copied = "warn" copy_iterator = "warn" dbg_macro = "warn" doc_link_with_quotes = "warn" doc_markdown = "warn" empty_enum_variants_with_brackets = "warn" empty_structs_with_brackets = "warn" explicit_deref_methods = "warn" explicit_into_iter_loop = "warn" explicit_iter_loop = "warn" filter_map_next = "warn" flat_map_option = "warn" format_push_string = "warn" from_iter_instead_of_collect = "warn" get_unwrap = "warn" if_then_some_else_none = "warn" ignored_unit_patterns = "warn" impl_trait_in_params = "warn" implicit_clone = "warn" inconsistent_struct_constructor = "warn" inefficient_to_string = "warn" infinite_loop = "warn" into_iter_without_iter = "warn" invalid_upcast_comparisons = "warn" iter_filter_is_ok = "warn" iter_filter_is_some = "warn" iter_not_returning_iterator = "warn" iter_over_hash_type = "warn" iter_without_into_iter = "warn" large_stack_arrays = "warn" large_types_passed_by_value = "warn" macro_use_imports = "warn" manual_assert = "warn" manual_instant_elapsed = "warn" manual_is_variant_and = "warn" manual_let_else = "warn" manual_ok_or = "warn" manual_string_new = "warn" map_unwrap_or = "warn" match_bool = "warn" match_wildcard_for_single_variants = "warn" mismatching_type_param_order = "warn" missing_fields_in_debug = "warn" mixed_read_write_in_expression = "warn" mod_module_files = "warn" multiple_inherent_impl = "warn" mut_mut = "warn" mutex_atomic = "warn" needless_bitwise_bool = "warn" needless_continue = "warn" needless_for_each = "warn" needless_raw_string_hashes = "warn" needless_raw_strings = "warn" negative_feature_names = "warn" no_mangle_with_rust_abi = "warn" option_as_ref_cloned = "warn" pub_underscore_fields = "warn" rc_buffer = "warn" rc_mutex = "warn" redundant_else = "warn" redundant_feature_names = "warn" ref_patterns = "warn" rest_pat_in_fully_bound_structs = "warn" semicolon_outside_block = "warn" str_to_string = "warn" string_lit_chars_any = "warn" string_to_string = "warn" struct_field_names = "warn" tests_outside_test_module = "warn" todo = "warn" trivially_copy_pass_by_ref = "warn" try_err = "warn" uninlined_format_args = "warn" unnecessary_join = "warn" unnecessary_self_imports = "warn" unneeded_field_pattern = "warn" unnested_or_patterns = "warn" unseparated_literal_suffix = "warn" unused_self = "warn" used_underscore_binding = "warn" wildcard_dependencies = "warn" zero_sized_map_values = "warn" [lints.rust] elided_lifetimes_in_paths = "allow" future_incompatible = "warn" missing_debug_implementations = "warn" missing_docs = "warn" nonstandard_style = "warn" rust_2018_idioms = "warn" trivial_numeric_casts = "warn" unreachable_pub = "warn" unused_import_braces = "warn" unused_lifetimes = "warn" [lints.rustdoc] unescaped_backticks = "warn"