diff --git a/CHANGELOG.md b/CHANGELOG.md index 13358da9..3b35567b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -31,6 +31,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Use codec identifiers in the example for `experimental_codec_names` remapping - Allow `{Array,Group}::new_with_metadata()` and `{Array,Group}Builder` to create arrays with `"must_understand": true` additional fields - `{Array,Group}::[async_]open[_opt]` continue to fail with additional fields with `"must_understand": true` +- Bump `derive_more` to 0.2.0 ## [0.19.2] - 2025-02-13 diff --git a/zarrs/Cargo.toml b/zarrs/Cargo.toml index 881b5493..28b801b6 100644 --- a/zarrs/Cargo.toml +++ b/zarrs/Cargo.toml @@ -48,7 +48,7 @@ bytemuck = { version = "1.14.0", features = ["extern_crate_alloc", "must_cast", bytes = "1.6.0" bzip2 = { version = "0.5.0", optional = true, features = ["static"] } crc32c = { version = "0.6.5", optional = true } -derive_more = { version = "1.0.0", features = ["deref", "display", "from"] } +derive_more = { version = "2.0.0", features = ["deref", "display", "from"] } flate2 = { version = "1.0.30", optional = true } futures = { version = "0.3.29", optional = true } gdeflate-sys = { version = "0.4.1", optional = true } diff --git a/zarrs/src/array_subset.rs b/zarrs/src/array_subset.rs index ef8846e0..36c65cdd 100644 --- a/zarrs/src/array_subset.rs +++ b/zarrs/src/array_subset.rs @@ -10,13 +10,17 @@ pub mod iterators; -use std::{fmt::Debug, num::NonZeroU64, ops::Range}; +use std::{ + fmt::{Debug, Display}, + num::NonZeroU64, + ops::Range, +}; use iterators::{ Chunks, ContiguousIndices, ContiguousLinearisedIndices, Indices, LinearisedIndices, }; -use derive_more::{Display, From}; +use derive_more::From; use itertools::izip; use thiserror::Error; diff --git a/zarrs_data_type/CHANGELOG.md b/zarrs_data_type/CHANGELOG.md index 91bd6bbf..b84fcc12 100644 --- a/zarrs_data_type/CHANGELOG.md +++ b/zarrs_data_type/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Bump `derive_more` to 0.2.0 + ## [0.1.0] - 2025-01-24 ### Added diff --git a/zarrs_data_type/Cargo.toml b/zarrs_data_type/Cargo.toml index cc028d01..01844a5e 100644 --- a/zarrs_data_type/Cargo.toml +++ b/zarrs_data_type/Cargo.toml @@ -22,7 +22,7 @@ all-features = true half = { workspace = true } num = { workspace = true } thiserror = "2.0.0" -derive_more = { version = "1.0.0", features = ["display", "from"] } +derive_more = { version = "2.0.0", features = ["display", "from"] } zarrs_metadata = { workspace = true } [dev-dependencies] diff --git a/zarrs_filesystem/CHANGELOG.md b/zarrs_filesystem/CHANGELOG.md index 905bd85d..4c3edc4f 100644 --- a/zarrs_filesystem/CHANGELOG.md +++ b/zarrs_filesystem/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Bump `itertools` to 0.14 +- Bump `derive_more` to 0.2.0 ### Fixed - Fix `clippy::single_char_pattern` lint diff --git a/zarrs_filesystem/Cargo.toml b/zarrs_filesystem/Cargo.toml index 5dd882d5..dcc1c251 100644 --- a/zarrs_filesystem/Cargo.toml +++ b/zarrs_filesystem/Cargo.toml @@ -17,7 +17,7 @@ workspace = true [dependencies] bytes = "1.6.0" -derive_more = { version = "1.0.0", features = ["from"] } +derive_more = { version = "2.0.0", features = ["from"] } itertools = "0.14.0" libc = "0.2.158" page_size = "0.6.0" diff --git a/zarrs_metadata/CHANGELOG.md b/zarrs_metadata/CHANGELOG.md index e879b783..ac729d99 100644 --- a/zarrs_metadata/CHANGELOG.md +++ b/zarrs_metadata/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Bump `derive_more` to 0.2.0 + ## [0.3.5] - 2025-02-18 ### Fixed diff --git a/zarrs_metadata/Cargo.toml b/zarrs_metadata/Cargo.toml index 3282079d..7d613671 100644 --- a/zarrs_metadata/Cargo.toml +++ b/zarrs_metadata/Cargo.toml @@ -16,7 +16,7 @@ categories = ["encoding"] workspace = true [dependencies] -derive_more = { version = "1.0.0", features = ["display", "from"] } +derive_more = { version = "2.0.0", features = ["display", "from"] } half = { workspace = true } monostate = "0.1.0" num = { workspace = true } diff --git a/zarrs_metadata/src/v3/array/data_type.rs b/zarrs_metadata/src/v3/array/data_type.rs index 9d128e68..452b9cdd 100644 --- a/zarrs_metadata/src/v3/array/data_type.rs +++ b/zarrs_metadata/src/v3/array/data_type.rs @@ -2,8 +2,6 @@ //! //! See . -use derive_more::From; - use crate::v3::MetadataV3; /// A data type. diff --git a/zarrs_storage/CHANGELOG.md b/zarrs_storage/CHANGELOG.md index d0691909..c59e25f1 100644 --- a/zarrs_storage/CHANGELOG.md +++ b/zarrs_storage/CHANGELOG.md @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Changed +- Bump `derive_more` to 0.2.0 + ## [0.3.1] - 2025-01-10 ### Changed diff --git a/zarrs_storage/Cargo.toml b/zarrs_storage/Cargo.toml index 7c8d619a..230e5390 100644 --- a/zarrs_storage/Cargo.toml +++ b/zarrs_storage/Cargo.toml @@ -25,7 +25,7 @@ all-features = true [dependencies] async-trait = { version = "0.1.74", optional = true } bytes = "1.6.0" -derive_more = { version = "1.0.0", features = ["deref", "display", "from"] } +derive_more = { version = "2.0.0", features = ["deref", "display", "from"] } futures = { version = "0.3.29", optional = true } itertools = "0.14.0" parking_lot = "0.12.0" # TODO: Remove with Rust 1.78+ diff --git a/zarrs_zip/CHANGELOG.md b/zarrs_zip/CHANGELOG.md index 4fc07551..fbfcf660 100644 --- a/zarrs_zip/CHANGELOG.md +++ b/zarrs_zip/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## Changed - Bump `itertools` to 0.14 +- Bump `derive_more` to 0.2.0 ## [0.2.0] - 2024-11-15 diff --git a/zarrs_zip/Cargo.toml b/zarrs_zip/Cargo.toml index 1ca195fa..1bc74ea8 100644 --- a/zarrs_zip/Cargo.toml +++ b/zarrs_zip/Cargo.toml @@ -16,7 +16,7 @@ categories = ["encoding"] workspace = true [dependencies] -derive_more = { version = "1.0.0", features = ["from"] } +derive_more = { version = "2.0.0", features = ["from"] } itertools = "0.14.0" thiserror = "2.0.0" zarrs_storage = { workspace = true }