diff --git a/Cargo.toml b/Cargo.toml index 97cec89..35078ee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "gamenite" description = "A graph library for board games" -version = "0.1.0" +version = "0.1.1" edition = "2021" license = "GPL-3.0-or-later" homepage = "https://git.danejohnson.org/dane/gamenite" diff --git a/src/lib.rs b/src/lib.rs index a47dbde..1603d5c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,7 +29,7 @@ pub mod io; use serde::{ Serialize, Deserialize }; use std::collections::{ HashMap, HashSet }; -#[derive(Serialize, Deserialize, Debug)] +#[derive(Serialize, Deserialize, Debug, Clone)] #[serde(default)] /// Configuration options for a [Board] pub struct Config { @@ -127,7 +127,7 @@ impl Node { } } -#[derive(Serialize, Deserialize, Debug, Default)] +#[derive(Serialize, Deserialize, Debug, Default, Clone)] #[serde(default)] /// A graph of [Nodes](Node) and related information ///