Skip to content

Commit

Permalink
zarrs_metadata: Mark ArrayMetadataV3 as non exhaustive
Browse files Browse the repository at this point in the history
  • Loading branch information
LDeakin committed Oct 3, 2024
1 parent d3899df commit 73eda4e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ members = [
]

[workspace.dependencies.zarrs_metadata]
version = "0.1.0"
version = "0.2.0"
path = "zarrs_metadata"

[workspace.dependencies.zarrs_storage]
Expand Down
3 changes: 3 additions & 0 deletions zarrs_metadata/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- **Breaking**: Mark `GroupMetadataV3` and `ArrayMetadataV3` as non-exhaustive

## [0.1.0] - 2024-09-02

### Added
Expand Down
2 changes: 1 addition & 1 deletion zarrs_metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zarrs_metadata"
version = "0.1.0"
version = "0.2.0"
authors = ["Lachlan Deakin <ljdgit@gmail.com>"]
edition = "2021"
rust-version = "1.76"
Expand Down
1 change: 1 addition & 0 deletions zarrs_metadata/src/v3/array.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ pub mod nan_representations;
/// }
/// }
/// ```
#[non_exhaustive]
#[derive(Serialize, Deserialize, Clone, PartialEq, Debug, Display)]
#[display("{}", serde_json::to_string(self).unwrap_or_default())]
pub struct ArrayMetadataV3 {
Expand Down

0 comments on commit 73eda4e

Please sign in to comment.