From a15045bba8e07554861440daf6faff4418500a86 Mon Sep 17 00:00:00 2001 From: Nova Date: Sun, 1 Oct 2023 00:40:05 -0400 Subject: [PATCH] fix: use core version on git --- Cargo.lock | 6 ++---- Cargo.toml | 16 ++++++++++------ 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index a6febe7..6294437 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2040,8 +2040,7 @@ dependencies = [ [[package]] name = "stardust-xr" version = "0.14.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "368849e5163c14386d58962ba5b24f833d15b1cc7cf8186db8b1e3ade8e3abf4" +source = "git+https://github.com/StardustXR/core.git#f19187dc1d0015b29e542010ad3e9dbd64d5645e" dependencies = [ "cluFlock", "color-rs", @@ -2061,8 +2060,7 @@ dependencies = [ [[package]] name = "stardust-xr-schemas" version = "1.5.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68d1cc2732943497bc7ae6a55630d18bb2efdcfd0ea9462340ac703724bf1372" +source = "git+https://github.com/StardustXR/core.git#f19187dc1d0015b29e542010ad3e9dbd64d5645e" dependencies = [ "flatbuffers", "flexbuffers", diff --git a/Cargo.toml b/Cargo.toml index bd5317a..6df1eca 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -50,7 +50,6 @@ rustc-hash = "1.1.0" tokio = { version = "1.27.0", features = ["rt-multi-thread", "signal", "time"] } send_wrapper = "0.6.0" prisma = "0.1.1" -stardust-xr = "0.14.1" directories = "5.0.0" serde = { version = "1.0.160", features = ["derive"] } serde_repr = "0.1.16" @@ -68,7 +67,13 @@ libc = "0.2.148" git = "https://github.com/smithay/smithay.git" # Until we get stereokit to understand OES samplers and external textures # path = "../smithay" default-features = false -features = ["desktop", "backend_drm", "renderer_gl", "wayland_frontend"] +features = [ + "desktop", + "backend_drm", + "backend_egl", + "renderer_gl", + "wayland_frontend", +] version = "*" optional = true @@ -85,11 +90,10 @@ optional = true version = "0.7.1" optional = true +[dependencies.stardust-xr] +git = "https://github.com/StardustXR/core.git" + # [patch.crates-io.stereokit] # path = "../stereokit-rs" # [patch.crates-io.stereokit-sys] # path = "../stereokit-sys" -# [patch.crates-io.stardust-xr] -# path = "../core/core" -# [patch.crates-io.stardust-xr-schemas] -# path = "../core/schemas"