Cargo Features
[dependencies]
bevy_mod_scripting = { version = "0.9.5", default-features = false, features = ["lua", "lua51", "lua52", "lua53", "lua54", "luajit", "luajit52", "luau", "core_functions", "bevy_bindings", "unsafe_lua_modules", "mlua_serialize", "mlua_macros", "mlua_async", "rhai"] }
- default = bevy_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
-
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_bindings default
-
Enables bevy_bindings 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
-
Affects
bevy_mod_scripting::rhai
…
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.