Skip to content

Commit

Permalink
Add deps as workspace dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
vojd committed Dec 29, 2023
1 parent 50b7dc0 commit 05280e3
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 21 deletions.
39 changes: 26 additions & 13 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,34 +11,47 @@ version = "0.1.0"
authors = ["vojd <github.com/vojd>", "klovman <github.com/bysse>"]
edition = "2018"

[workspace.dependencies]
bytemuck = "1.9"
egui = { version = "0.22.0", features = ["bytemuck"] }
egui-winit = { version = "0.22.0", optional = false, default-features = true }
gl = "*"
glam = "0.24"
glow = "0.12"
glutin = "0.30"
glutin-winit = "0.3.0"

tracing = { version = "0.1", default-features = false, features = ["std"] }
winit = "0.28.6"

[dependencies]

# local dependencies
ui-backend = { path = "components/ui-backend", version = "0.1.0" }
glsl-watcher = { path = "components/glsl-watcher", version = "0.0.1" }
macros = { path = "components/macros", version = "0.1" }

anyhow = "1.0"
bytemuck = "1.9"
bytemuck = { workspace = true }
clap = { version = "4.3", features = ["derive"] }
egui = { version = "0.22.0", features = ["bytemuck"]}
egui-winit = { version = "0.22.0", optional = false, default-features = true }
gl = "*"
glam = "0.24"
glow = "0.12"
glutin = "0.30"
glutin-winit = "0.3.0"
egui = { workspace = true }
egui-winit = { workspace = true }
gl = { workspace = true }
glam = { workspace = true }
glow = { workspace = true }
glutin = { workspace = true }
glutin-winit = { workspace = true }
winit = { workspace = true }

log = "0.4"
macros = { path = "components/macros", version = "0.1" }
memoffset = "0.9"
# required by glutin to access the raw window handle from the &Window
raw-window-handle = "0.5.0"
regex = "1.9"
serde = { version = "1.0", features = ["derive"] }
simple_logger = "4.2"
# simple_logger is dependent on `time`.
time = { version = "0.3.26", features = ["local-offset"]}
tracing = { version = "0.1", default-features = false, features = ["std"] }
time = { version = "0.3.26", features = ["local-offset"] }
tracing = { workspace = true }
quote = "1.0"
#clap = { git = "https://github.com/clap-rs/clap/", version = "3.0.0-beta.4" } #clap-v3 = "3.0.0-beta.1"
winit = "0.28.6"
which = "4.4" # Used for locating minime-preprocess
4 changes: 2 additions & 2 deletions components/macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
glow = "0.12"
tracing = { version = "0.1", default-features = false, features = ["std"] }
glow = { workspace = true }
tracing = { workspace = true }
15 changes: 9 additions & 6 deletions components/ui-backend/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,13 @@ license = "MIT"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
bytemuck = "1.9"
egui = { version = "0.22.0", features = ["bytemuck"]}
egui-winit = { version = "0.22.0", optional = false, default-features = true }
glow = "0.12"
# local deps
macros = { path = "../macros", version = "0.1.0" }
tracing = { version = "0.1", default-features = false, features = ["std"] }
winit = "0.28.6"

# external deps
bytemuck = { workspace = true }
egui = { workspace = true }
egui-winit = { workspace = true }
glow = { workspace = true }
tracing = { workspace = true }
winit = { workspace = true }

0 comments on commit 05280e3

Please sign in to comment.