# 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 = "flecs_ecs" version = "0.1.3" authors = ["Indra de Backere "] exclude = ["assets/"] description = "Rust API for the C/CPP flecs ECS library " readme = "README.md" keywords = [ "ecs", "flecs", "ECS", "game-development", "gamedev", ] categories = [ "game-development", "api-bindings", "simulation", "data-structures", ] license = "MIT" repository = "https://github.com/Indra-db/Flecs-Rust" [package.metadata.docs.rs] cargo-args = [ "-Zunstable-options", "-Zrustdoc-scrape-examples", ] rustdoc-args = [ "-Zunstable-options", "--generate-link-to-definition", ] [[example]] name = "examples" path = "examples/flecs/z_ignore_main_test.rs" test = true doc-scrape-examples = true [dependencies.bitflags] version = "2.6.0" [dependencies.compact_str] version = "0.8.0" [dependencies.flecs_ecs_derive] version = "0.1.0" [dependencies.flecs_ecs_sys] version = "0.1.2" [dependencies.fxhash] version = "0.2.1" [dev-dependencies.criterion] version = "0.5.1" [dev-dependencies.ctor] version = "0.2.7" [dev-dependencies.insta] version = "1.38.0" features = [ "yaml", "filters", ] [dev-dependencies.rand] version = "0.8.5" [dev-dependencies.seq-macro] version = "0.3.5" [features] default = [ "flecs_module", "flecs_script", "flecs_snapshot", "flecs_stats", "flecs_metrics", "flecs_alerts", "flecs_system", "flecs_pipeline", "flecs_timer", "flecs_meta", "flecs_units", "flecs_json", "flecs_doc", "flecs_log", "flecs_app", "flecs_os_api_impl", "flecs_http", "flecs_rest", ] flecs_alerts = [ "flecs_ecs_sys/flecs_alerts", "flecs_pipeline", ] flecs_app = [ "flecs_ecs_sys/flecs_app", "flecs_pipeline", ] flecs_disable_build_c = ["flecs_ecs_sys/disable_build_c"] flecs_doc = [ "flecs_ecs_sys/flecs_doc", "flecs_module", ] flecs_force_build_debug_c = ["flecs_ecs_sys/force_build_debug"] flecs_force_build_release_c = ["flecs_ecs_sys/force_build_release"] flecs_force_enable_ecs_asserts = ["flecs_ecs_sys/flecs_force_enable_ecs_asserts"] flecs_http = ["flecs_ecs_sys/flecs_http"] flecs_journal = [ "flecs_ecs_sys/flecs_journal", "flecs_log", ] flecs_json = [ "flecs_ecs_sys/flecs_json", "flecs_meta", ] flecs_log = ["flecs_ecs_sys/flecs_log"] flecs_manual_registration = [] flecs_meta = [ "flecs_ecs_sys/flecs_meta", "flecs_module", ] flecs_metrics = [ "flecs_ecs_sys/flecs_metrics", "flecs_meta", "flecs_units", "flecs_pipeline", ] flecs_module = ["flecs_ecs_sys/flecs_module"] flecs_nightly_tests = [] flecs_os_api_impl = ["flecs_ecs_sys/flecs_os_api_impl"] flecs_pipeline = [ "flecs_ecs_sys/flecs_pipeline", "flecs_module", "flecs_system", ] flecs_regenerate_binding_c = ["flecs_ecs_sys/regenerate_binding"] flecs_rest = [ "flecs_ecs_sys/flecs_rest", "flecs_http", "flecs_json", "flecs_pipeline", ] flecs_script = [ "flecs_ecs_sys/flecs_script", "flecs_meta", "flecs_doc", "flecs_module", ] flecs_snapshot = ["flecs_ecs_sys/flecs_snapshot"] flecs_stats = [ "flecs_ecs_sys/flecs_stats", "flecs_pipeline", "flecs_timer", "flecs_module", ] flecs_system = [ "flecs_ecs_sys/flecs_system", "flecs_module", ] flecs_term_count_64 = ["flecs_ecs_sys/flecs_term_count_64"] flecs_timer = [ "flecs_ecs_sys/flecs_timer", "flecs_module", "flecs_pipeline", ] flecs_units = [ "flecs_ecs_sys/flecs_units", "flecs_module", "flecs_meta", ] flecs_use_os_alloc = ["flecs_ecs_sys/use_os_alloc"] [lints.clippy] doc_markdown = "warn" float_cmp = "warn" float_cmp_const = "warn" print_stderr = "warn" print_stdout = "warn" semicolon_if_nothing_returned = "warn" [lints.rust] unused_lifetimes = "warn"