From 662817e6367a865a2d86a99581172cc45f585807 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Thu, 4 May 2023 13:02:39 +0800 Subject: Completed the procedural macro for deriving Graphs. The macro `graph_derive` can automatically write the boiler-plate codes for wrapper types one of whose sub-fields implements the `Graph` trait. The generated implementation will delegate the `Graph` operations to the sub-field which implements the `Graph` trait. I plan to add more macros, corresponding to various other graph-related traits, so that no such boiler-plate codes are needed, at least for my use-cases. --- graph_macro/Cargo.toml | 1 + 1 file changed, 1 insertion(+) (limited to 'graph_macro/Cargo.toml') diff --git a/graph_macro/Cargo.toml b/graph_macro/Cargo.toml index 1e4c4db..6e96140 100644 --- a/graph_macro/Cargo.toml +++ b/graph_macro/Cargo.toml @@ -9,3 +9,4 @@ edition = "2021" proc-macro = true [dependencies] +graph = { path = "../graph" } \ No newline at end of file -- cgit v1.2.3-18-g5258