Cargo Features
[dependencies]
bevy_mod_scripting = { version = "0.12.0", default-features = false, features = ["lua", "lua51", "lua52", "lua53", "lua54", "luajit", "luajit52", "luau", "core_functions", "bevy_core_bindings", "bevy_ecs_bindings", "bevy_hierarchy_bindings", "bevy_input_bindings", "bevy_math_bindings", "bevy_reflect_bindings", "bevy_time_bindings", "bevy_transform_bindings", "unsafe_lua_modules", "mlua_serialize", "mlua_macros", "mlua_async", "rhai", "profile_with_tracy"] }
- default = bevy_core_bindings, bevy_ecs_bindings, bevy_hierarchy_bindings, bevy_input_bindings, bevy_math_bindings, bevy_reflect_bindings, bevy_time_bindings, bevy_transform_bindings, core_functions
-
These default features are set whenever
bevy_mod_scripting
is added without
somewhere in the dependency tree.default-features = false - lua lua51? lua52? lua53? lua54? luajit? luajit52? luau? = bevy_mod_scripting_lua
-
Enables lua_bindings of bevy_mod_scripting_functions
Affects
bevy_mod_scripting::lua
… - lua51 = lua
-
one of these must be selected
Enables lua51 of bevy_mod_scripting_lua
- lua52 = lua
-
Enables lua52 of bevy_mod_scripting_lua
- lua53 = lua
-
Enables lua53 of bevy_mod_scripting_lua
- lua54 = lua
-
Enables lua54 of bevy_mod_scripting_lua
- luajit = lua
-
Enables luajit of bevy_mod_scripting_lua
- luajit52 = lua
-
Enables luajit52 of bevy_mod_scripting_lua
- luau = lua
-
Enables luau of bevy_mod_scripting_lua
- core_functions default
-
bindings
Enables core_functions of bevy_mod_scripting_functions
- bevy_core_bindings default
-
Enables bevy_core of bevy_mod_scripting_functions
- bevy_ecs_bindings default
-
Enables bevy_ecs of bevy_mod_scripting_functions
- bevy_hierarchy_bindings default
-
Enables bevy_hierarchy of bevy_mod_scripting_functions
- bevy_input_bindings default
-
Enables bevy_input of bevy_mod_scripting_functions
- bevy_math_bindings default
-
Enables bevy_math of bevy_mod_scripting_functions
- bevy_reflect_bindings default
-
Enables bevy_reflect of bevy_mod_scripting_functions
- bevy_time_bindings default
-
Enables bevy_time of bevy_mod_scripting_functions
- bevy_transform_bindings default
-
Enables bevy_transform of bevy_mod_scripting_functions
- unsafe_lua_modules
-
optional
Enables unsafe_lua_modules of optional bevy_mod_scripting_lua
- mlua_serialize
-
Enables mlua_serialize of optional bevy_mod_scripting_lua
- mlua_macros
-
Enables mlua_macros of optional bevy_mod_scripting_lua
- mlua_async
-
Enables mlua_async of optional bevy_mod_scripting_lua
- rhai = bevy_mod_scripting_rhai
-
Enables rhai_bindings of bevy_mod_scripting_functions
Affects
bevy_mod_scripting::rhai
… - profile_with_tracy
-
Profiling
Enables trace_tracy of bevy ^0.15.3
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.