From 0a31506eabd7b9c4ea76d26fa93edda6077d54b2 Mon Sep 17 00:00:00 2001 From: Kabir Kwatra Date: Thu, 25 Jan 2024 18:14:18 -0800 Subject: [PATCH] feat: derive `Clone` trait for `Sqids` struct --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 8d389f0..e2a7d0d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -119,7 +119,7 @@ impl Default for Options { } /// A generator for sqids. -#[derive(Debug, Builder)] +#[derive(Clone, Debug, Builder)] #[builder(build_fn(skip, error = "Error"), pattern = "owned")] pub struct Sqids { /// The alphabet that is being used when generating sqids.