From a9261506dda2d576cad1190916cb5f14fe8e1bbe Mon Sep 17 00:00:00 2001 From: Jonathan Johnson Date: Mon, 27 Dec 2021 13:22:28 -0800 Subject: [PATCH] Added Clone to Config + v1.0.0-rc.2 --- CHANGELOG.md | 6 ++++++ pot/Cargo.toml | 2 +- pot/src/lib.rs | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e7bbf3a1..29903676 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## v1.0.0-rc.2 + +### Added + +- `Config` now implements `Clone` and `Debug`. + ## v1.0.0-rc.1 ### Added diff --git a/pot/Cargo.toml b/pot/Cargo.toml index c3381dc5..3a1ac384 100644 --- a/pot/Cargo.toml +++ b/pot/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pot" -version = "1.0.0-rc.1" +version = "1.0.0-rc.2" edition = "2021" description = "A concise binary serialization format written for `BonsaiDb`." license = "MIT OR Apache-2.0" diff --git a/pot/src/lib.rs b/pot/src/lib.rs index bc46ddaf..f3eb5fd7 100644 --- a/pot/src/lib.rs +++ b/pot/src/lib.rs @@ -98,6 +98,7 @@ where /// Serialization and deserialization configuration. #[must_use] +#[derive(Clone, Debug)] pub struct Config { allocation_budget: usize, }