# 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 = "bevy_scriptum" version = "0.6.0" authors = ["Jaroslaw Konik "] description = "Plugin for Bevy engine that allows you to write some of your game logic in a scripting language" readme = "README.md" keywords = [ "bevy", "rhai", "scripting", "game", "gamedev", ] categories = ["game-development"] license = "MIT OR Apache-2.0" repository = "https://github.com/jarkonik/bevy_scriptum" [[example]] name = "call_function_from_rust_rhai" path = "examples/rhai/call_function_from_rust.rs" [[example]] name = "current_entity_rhai" path = "examples/rhai/current_entity.rs" [[example]] name = "custom_type_rhai" path = "examples/rhai/custom_type.rs" [[example]] name = "ecs_rhai" path = "examples/rhai/ecs.rs" [[example]] name = "entity_variable_rhai" path = "examples/rhai/entity_variable.rs" [[example]] name = "function_params_rhai" path = "examples/rhai/function_params.rs" [[example]] name = "hello_world_rhai" path = "examples/rhai/hello_world.rs" [[example]] name = "non_closure_system_rhai" path = "examples/rhai/non_closure_system.rs" [[example]] name = "promises_rhai" path = "examples/rhai/promises.rs" [[example]] name = "side_effects_rhai" path = "examples/rhai/side_effects.rs" [[example]] name = "call_function_from_rust_lua" path = "examples/lua/call_function_from_rust.rs" [[example]] name = "current_entity_lua" path = "examples/lua/current_entity.rs" [[example]] name = "custom_type_lua" path = "examples/lua/custom_type.rs" [[example]] name = "ecs_lua" path = "examples/lua/ecs.rs" [[example]] name = "entity_variable_lua" path = "examples/lua/entity_variable.rs" [[example]] name = "function_params_lua" path = "examples/lua/function_params.rs" [[example]] name = "hello_world_lua" path = "examples/lua/hello_world.rs" [[example]] name = "non_closure_system_lua" path = "examples/lua/non_closure_system.rs" [[example]] name = "promises_lua" path = "examples/lua/promises.rs" [[example]] name = "side_effects_lua" path = "examples/lua/side_effects.rs" [dependencies.anyhow] version = "1.0.82" [dependencies.bevy] version = "0.14" features = ["bevy_asset"] default-features = false [dependencies.mlua] version = "0.9.8" features = [ "luajit", "vendored", "send", ] optional = true [dependencies.rhai] version = "1.14.0" features = [ "sync", "internals", "unchecked", ] optional = true [dependencies.serde] version = "1.0.162" [dependencies.thiserror] version = "1.0.40" [dependencies.tracing] version = "0.1.40" [dev-dependencies.mlua] version = "0.9.8" features = [ "luajit", "vendored", "send", ] [dev-dependencies.rhai] version = "1.14.0" features = [ "sync", "internals", "unchecked", ] [dev-dependencies.tracing-subscriber] version = "0.3.18" [features] lua = ["mlua/luajit"] rhai = ["dep:rhai"]