diff --git a/.github/workflows/bevy_mod_scripting.yml b/.github/workflows/bevy_mod_scripting.yml index 8524716b..36ff0cb7 100644 --- a/.github/workflows/bevy_mod_scripting.yml +++ b/.github/workflows/bevy_mod_scripting.yml @@ -34,7 +34,9 @@ jobs: {label: Ubuntu - Lua52, os: ubuntu-latest, features: "lua52,lua_script_api", cross: x86_64-unknown-linux-gnu }, {label: Ubuntu - Lua53, os: ubuntu-latest, features: "lua53,lua_script_api", cross: x86_64-unknown-linux-gnu }, {label: Ubuntu - Luajit, os: ubuntu-latest, features: "luajit,lua_script_api", cross: x86_64-unknown-linux-gnu }, - {label: Ubuntu - Luajit52, os: ubuntu-latest, features: "luajit52,lua_script_api", cross: x86_64-unknown-linux-gnu } + {label: Ubuntu - Luajit52, os: ubuntu-latest, features: "luajit52,lua_script_api", cross: x86_64-unknown-linux-gnu }, + {label: Ubuntu - Luau, os: ubuntu-latest, features: "luau,lua_script_api", cross: x86_64-unknown-linux-gnu } + ] steps: - if: runner.os == 'linux' diff --git a/Cargo.toml b/Cargo.toml index 8a84bc61..b01280ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -44,6 +44,7 @@ lua53 = ["bevy_mod_scripting_lua/lua53", "lua"] lua54 = ["bevy_mod_scripting_lua/lua54", "lua"] luajit = ["bevy_mod_scripting_lua/luajit", "lua"] luajit52 = ["bevy_mod_scripting_lua/luajit52", "lua"] +luau = ["bevy_mod_scripting_lua/luau", "lua"] # optional lua_script_api = ["bevy_script_api/lua"] diff --git a/crates/bevy_script_api/Cargo.toml b/crates/bevy_script_api/Cargo.toml index ddde7b14..3d9dbd7a 100644 --- a/crates/bevy_script_api/Cargo.toml +++ b/crates/bevy_script_api/Cargo.toml @@ -18,7 +18,6 @@ rhai = ["bevy_mod_scripting_rhai"] [dependencies] bevy = { workspace = true, default-features = false, features = [ "bevy_asset", - "bevy_gltf", "bevy_animation", "bevy_core_pipeline", "bevy_ui", diff --git a/crates/languages/bevy_mod_scripting_lua/Cargo.toml b/crates/languages/bevy_mod_scripting_lua/Cargo.toml index f8288805..4da1e1fb 100644 --- a/crates/languages/bevy_mod_scripting_lua/Cargo.toml +++ b/crates/languages/bevy_mod_scripting_lua/Cargo.toml @@ -30,6 +30,7 @@ lua53 = ["tealr/mlua_lua53"] lua54 = ["tealr/mlua_lua54"] luajit = ["tealr/mlua_luajit"] luajit52 = ["tealr/mlua_luajit52"] +luau = ["tealr/mlua_luau"] mlua_serialize = ["tealr/mlua_serialize"] mlua_macros = ["tealr/mlua_macros"] mlua_async = ["tealr/mlua_async"]