Skip to content

Commit

Permalink
fix(packaging): use workspace deps
Browse files Browse the repository at this point in the history
  • Loading branch information
technobaboo committed Nov 1, 2024
1 parent e8e485b commit c830bec
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 136 deletions.
142 changes: 11 additions & 131 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ homepage = "https://stardustxr.org"
[workspace]
members = ["codegen"]

[workspace.dependencies.stardust-xr]
git = "https://github.com/StardustXR/core.git"

[[bin]]
name = "stardust-xr-server"
path = "src/main.rs"
Expand Down Expand Up @@ -110,7 +113,7 @@ features = ["no-event-loop"]
default-features = false

[dependencies.stardust-xr]
git = "https://github.com/StardustXR/core.git"
workspace = true

[dependencies.stardust-xr-server-codegen]
path = "codegen"
4 changes: 1 addition & 3 deletions codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,4 @@ mint = "0.5.9"
proc-macro2 = "1.0.71"
split-iter = "0.1.0"

[dependencies.stardust-xr-schemas]
git = "https://github.com/StardustXR/core.git"
branch = "dev"
stardust-xr = { workspace = true }
2 changes: 1 addition & 1 deletion codegen/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use convert_case::{Case, Casing};
use proc_macro2::{Ident, Span, TokenStream};
use quote::{quote, ToTokens};
use split_iter::Splittable;
use stardust_xr_schemas::protocol::*;
use stardust_xr::schemas::protocol::*;

fn fold_tokens(a: TokenStream, b: TokenStream) -> TokenStream {
quote!(#a #b)
Expand Down

0 comments on commit c830bec

Please sign in to comment.