From b41dfccbdb9fdae8f7cc35e58c077f8334b1119b Mon Sep 17 00:00:00 2001 From: James Pace Date: Sun, 19 Jul 2026 19:56:21 -0400 Subject: [PATCH] Make graph clone. --- Cargo.toml | 3 ++- src/lib.rs | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 7a389d4..b4a8576 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,5 +4,6 @@ version = "0.1.0" edition = "2024" [dependencies] -limbo_graph = { branch = "main", git="https://git.jpace121.net/public/limbo_graph.git" } +#limbo_graph = { branch = "main", git="https://git.jpace121.net/public/limbo_graph.git" } +limbo_graph = { path="../limbo_graph/" } thiserror = { version = "2.0.18", default-features = false } \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index f7ff80a..a52a18d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -37,6 +37,7 @@ use crate::name_parsing::*; /// Diagnostics are stored in a tree by their namme. /// Their levels can be reconciled, and the individual /// statuses queried. +#[derive(Clone)] pub struct DiagnosticGraph { graph: limbo_graph::Graph, }