diff --git a/libs/rust/Cargo.toml b/libs/rust/Cargo.toml index e39698d..d81f72c 100644 --- a/libs/rust/Cargo.toml +++ b/libs/rust/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "dalet" -version = "1.0.0-pre2" +version = "1.0.0-pre3" edition = "2021" authors = ["artegoser"] license = "MIT" diff --git a/libs/rust/src/types.rs b/libs/rust/src/types.rs index f95bc86..76a88ce 100644 --- a/libs/rust/src/types.rs +++ b/libs/rust/src/types.rs @@ -1,6 +1,6 @@ use serde::Serialize; -#[derive(Serialize, Debug)] +#[derive(Serialize, Debug, Clone)] pub struct Tag { id: i8, body: Body, @@ -13,7 +13,7 @@ impl Tag { } } -#[derive(Debug)] +#[derive(Debug, Clone)] pub enum Body { Text(String), Tags(Vec), @@ -33,7 +33,7 @@ impl Serialize for Body { } } -#[derive(Debug)] +#[derive(Debug, Clone)] pub enum Argument { Text(String), Number(i8),