From b45bd791ec6a10260d490b317b63583d3c820051 Mon Sep 17 00:00:00 2001 From: Richard Schneeman Date: Wed, 11 Jan 2023 10:06:37 -0600 Subject: [PATCH] Update Store derives (#547) --- CHANGELOG.md | 8 ++++++++ libcnb-data/src/store.rs | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3423a2ad..26be5d8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ separate changelogs for each crate were used. If you need to refer to these old ## [Unreleased] +### Fixed + +### Added + +- libcnb-data: Store struct now supports `clone()` and `default()`. ([#547](https://github.com/heroku/libcnb.rs/pull/547)) + +### Changed + ## [0.11.3] 2023-01-09 ### Added diff --git a/libcnb-data/src/store.rs b/libcnb-data/src/store.rs index 7806102b..f60e8665 100644 --- a/libcnb-data/src/store.rs +++ b/libcnb-data/src/store.rs @@ -1,7 +1,7 @@ use serde::{Deserialize, Serialize}; use toml::value::Table; -#[derive(Debug, Deserialize, Serialize)] +#[derive(Clone, Default, Debug, Deserialize, Serialize)] #[serde(deny_unknown_fields)] pub struct Store { pub metadata: Table,