From b267c98e21a488582d1f22044d2384ff969c9a02 Mon Sep 17 00:00:00 2001 From: vE5li Date: Sat, 9 Mar 2024 03:04:19 +0100 Subject: [PATCH] Move ragnarok dependencies to workspace --- Cargo.lock | 4 ++++ Cargo.toml | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4e719868..245ef9c9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1326,6 +1326,10 @@ dependencies = [ [[package]] name = "ragnarok_types" version = "0.1.0" +dependencies = [ + "ragnarok_bytes", + "ragnarok_procedural", +] [[package]] name = "rand" diff --git a/Cargo.toml b/Cargo.toml index d1692981..e14fb039 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,8 @@ members = ["ragnarok_*", "procedural"] [workspace.dependencies] cgmath = { version = "0.18", features = ["serde"] } +ragnarok_bytes = { path = "ragnarok_bytes", features = ["cgmath"] } +ragnarok_procedural = { path = "ragnarok_procedural" } [package] name = "korangar" @@ -25,8 +27,8 @@ num = "*" option-ext = "0.2.0" pathfinding = "2.2.2" procedural = { path = "procedural" } -ragnarok_bytes = { path = "ragnarok_bytes", features = ["cgmath"] } -ragnarok_procedural = { path = "ragnarok_procedural" } +ragnarok_bytes = { workspace = true, features = ["cgmath"] } +ragnarok_procedural = { workspace = true } rand = "0.8.5" random_color = { version = "0.6.1", optional = true } rayon = "1.5.3"