summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2026-05-03 20:31:00 +0200
committerHampusM <hampus@hampusmat.com>2026-05-03 20:31:00 +0200
commitb13b3f6e13f9ac9fe7fee0b5a81b026f411f0301 (patch)
tree9430215b69eb34596120eae95459472ae6087bc8 /Cargo.toml
parent9dfd0a9ef9a54dab5fb88ed9158bd4184212008e (diff)
build: make workspace members inherit other members as dependenciesHEADmaster
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml10
1 files changed, 9 insertions, 1 deletions
diff --git a/Cargo.toml b/Cargo.toml
index be3aa8a..98b5502 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,15 @@ version = "0.1.0"
edition = "2021"
[workspace]
-members = ["engine", "engine-macros", "ecs", "ecs-macros", "util-macros", "opengl-bindings"]
+members = ["engine*", "ecs*", "util-macros", "opengl-bindings"]
+
+[workspace.dependencies]
+engine = { path = "engine" }
+engine-macros = { path = "engine-macros" }
+ecs = { path = "ecs" }
+ecs-macros = { path = "ecs-macros" }
+util-macros= { path = "util-macros" }
+opengl-bindings = { path = "opengl-bindings" }
[dependencies]
engine = { path = "./engine" }