From 2b8b534ae832e639cb6d7103d3ccc156f11721b1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 04:26:11 +0000 Subject: [PATCH 1/2] chore: release v2.2.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 34ad944..b16576f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -31,7 +31,7 @@ checksum = "2261d10cca569e4643e526d8dc2e62e433cc8aba21ab764233731f8d369bf394" [[package]] name = "bytesize" -version = "2.1.0" +version = "2.2.0" dependencies = [ "arbitrary", "divan", diff --git a/Cargo.toml b/Cargo.toml index b1a1dff..cbf5ddd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "bytesize" description = "Semantic wrapper for byte count representations" -version = "2.1.0" +version = "2.2.0" authors = [ "Hyunsik Choi ", "MrCroxx ", From bd0febf4ab9bd9ea60ef8c18ac4f17790c1d6de8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 10 Nov 2025 04:26:13 +0000 Subject: [PATCH 2/2] docs: update changelog versions --- CHANGELOG.md | 2 ++ README.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c12ddb5..cbf6454 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 2.2.0 + - Add `ByteSize::as_*()` methods to return equivalent sizes in KB, GiB, etc. ## 2.1.0 diff --git a/README.md b/README.md index ad45667..bf57b91 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,11 @@ [![crates.io](https://img.shields.io/crates/v/bytesize?label=latest)](https://crates.io/crates/bytesize) -[![Documentation](https://docs.rs/bytesize/badge.svg?version=2.1.0)](https://docs.rs/bytesize/2.1.0) +[![Documentation](https://docs.rs/bytesize/badge.svg?version=2.2.0)](https://docs.rs/bytesize/2.2.0) ![Version](https://img.shields.io/badge/rustc-1.70+-ab6000.svg) ![Apache 2.0 licensed](https://img.shields.io/crates/l/bytesize.svg)
-[![Dependency Status](https://deps.rs/crate/bytesize/2.1.0/status.svg)](https://deps.rs/crate/bytesize/2.1.0) +[![Dependency Status](https://deps.rs/crate/bytesize/2.2.0/status.svg)](https://deps.rs/crate/bytesize/2.2.0) [![Download](https://img.shields.io/crates/d/bytesize.svg)](https://crates.io/crates/bytesize)