diff --git a/CHANGELOG.md b/CHANGELOG.md index 118349c2..294ebf5b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- `libcnb`: + - `LayerTypes` now implements `Copy` and `Clone`. ([#670](https://github.com/heroku/libcnb.rs/pull/670)). - `libcnb-data`: - `ExecDProgramOutputKey`, `ProcessType`, `LayerName`, `BuildpackId` and `StackId` now implement `Ord` and `PartialOrd`. ([#658](https://github.com/heroku/libcnb.rs/pull/658)) - Added `generic::GenericMetadata` as a generic metadata type. Also makes it the default for `BuildpackDescriptor`, `SingleBuildpackDescriptor`, `CompositeBuildpackDescriptor` and `LayerContentMetadata`. ([#664](https://github.com/heroku/libcnb.rs/pull/664)) diff --git a/libcnb-data/src/layer_content_metadata.rs b/libcnb-data/src/layer_content_metadata.rs index e5f8026b..dadec05b 100644 --- a/libcnb-data/src/layer_content_metadata.rs +++ b/libcnb-data/src/layer_content_metadata.rs @@ -21,7 +21,7 @@ impl PartialEq for LayerContentMetadata { /// Used to specify layer availability based /// on buildpack phase. -#[derive(Debug, Default, Deserialize, Serialize, Eq, PartialEq)] +#[derive(Debug, Default, Deserialize, Serialize, Eq, PartialEq, Copy, Clone)] #[serde(deny_unknown_fields)] pub struct LayerTypes { /// Whether the layer is intended for launch.