-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Cargo.toml
119 lines (94 loc) · 2.75 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
[package]
name = "bevy_scriptum"
authors = ["Jaroslaw Konik <[email protected]>"]
version = "0.6.0"
edition = "2021"
license = "MIT OR Apache-2.0"
readme = "README.md"
categories = ["game-development"]
description = "Plugin for Bevy engine that allows you to write some of your game logic in a scripting language"
repository = "https://github.com/jarkonik/bevy_scriptum"
keywords = ["bevy", "rhai", "scripting", "game", "gamedev"]
[features]
lua = ["mlua/luajit"]
rhai = ["dep:rhai"]
[dependencies]
bevy = { default-features = false, version = "0.14", features = [
"bevy_asset",
] }
serde = "1.0.162"
rhai = { version = "1.14.0", features = ["sync", "internals", "unchecked"], optional = true }
thiserror = "1.0.40"
anyhow = "1.0.82"
tracing = "0.1.40"
mlua = { version = "0.9.8", features = ["luajit", "vendored", "send"], optional = true }
[[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 = "multiple_plugins_rhai"
path = "examples/rhai/multiple_plugins.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 = "multiple_plugins_lua"
path = "examples/lua/multiple_plugins.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"
[dev-dependencies]
tracing-subscriber = "0.3.18"
mlua = { version = "0.9.8", features = ["luajit", "vendored", "send"] }
rhai = { version = "1.14.0", features = ["sync", "internals", "unchecked"] }