From 815d04da602c58ed8b13eeb612fe73180204039d Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 26 Feb 2024 20:05:27 +0100 Subject: fix(ecs): make Component trait not automatic & add derive macro --- Cargo.lock | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 0498fd9..e7a1b5a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -122,12 +122,22 @@ dependencies = [ name = "ecs" version = "0.1.0" dependencies = [ + "ecs-macros", "itertools", "proc-macro2", "quote", "seq-macro", ] +[[package]] +name = "ecs-macros" +version = "0.1.0" +dependencies = [ + "proc-macro2", + "quote", + "syn", +] + [[package]] name = "either" version = "1.10.0" @@ -471,9 +481,9 @@ checksum = "942b4a808e05215192e39f4ab80813e599068285906cc91aa64f923db842bd5a" [[package]] name = "syn" -version = "2.0.48" +version = "2.0.51" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f3531638e407dfc0814761abb7c00a5b54992b849452a0646b7f65c9f770f3f" +checksum = "6ab617d94515e94ae53b8406c628598680aa0c9587474ecbe58188f7b345d66c" dependencies = [ "proc-macro2", "quote", -- cgit v1.2.3-18-g5258