From b13b3f6e13f9ac9fe7fee0b5a81b026f411f0301 Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 3 May 2026 20:31:00 +0200 Subject: build: make workspace members inherit other members as dependencies --- Cargo.toml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') 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" } -- cgit v1.2.3-18-g5258