From 17d724e8dbaf2628b177fe1724035ac59280f68b Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 21 Apr 2024 18:55:56 +0200 Subject: [PATCH 1/5] Update changelog --- Changelog.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index e0e882d..bbd1643 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,11 @@ # Unreleased -- Add `VolatileRef::borrow` and `VolatileRef::borrow_mut` +* Add `#[derive(Volatile)]` for easy, access-limited field-based access to structs by @mkroening in https://github.com/rust-osdev/volatile/pull/49 +* Add `VolatileRef::restrict` and `VolatilePtr::restrict` by @mkroening in https://github.com/rust-osdev/volatile/pull/47 +* Add `VolatileRef::borrow` and `VolatileRef::borrow_mut` by @mkroening in https://github.com/rust-osdev/volatile/pull/46 +* Add support for nested `map_field` operations by @phil-opp in https://github.com/rust-osdev/volatile/pull/50 +* docs: remove unused `NonNull` imports by @mkroening in https://github.com/rust-osdev/volatile/pull/48 +* fix(Cargo.toml): add categories by @mkroening in https://github.com/rust-osdev/volatile/pull/52 # 0.5.2 – 2024-03-22 From 43b20435c410929adbfb1089a1e47d3fbf44f085 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 21 Apr 2024 19:10:00 +0200 Subject: [PATCH 2/5] chore: Release --- Cargo.toml | 4 ++-- volatile-macro/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4b4adb4..dec024c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "volatile" -version = "0.5.2" +version = "0.5.3-rc.1" authors = ["Philipp Oppermann "] license = "MIT OR Apache-2.0" keywords = ["volatile"] @@ -11,7 +11,7 @@ repository = "https://github.com/rust-osdev/volatile" edition = "2021" [dependencies] -volatile-macro = { version = "=0.5.2", optional = true, path = "volatile-macro" } +volatile-macro = { version = "=0.5.3-rc.1", optional = true, path = "volatile-macro" } [features] derive = ["dep:volatile-macro"] diff --git a/volatile-macro/Cargo.toml b/volatile-macro/Cargo.toml index 24c4ba2..affac37 100644 --- a/volatile-macro/Cargo.toml +++ b/volatile-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "volatile-macro" -version = "0.5.2" +version = "0.5.3-rc.1" authors = ["Martin Kröning "] edition = "2021" description = "Procedural macros for the volatile crate." From 3a5d142bb7729a878eda1417946dac0072e4cadc Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 21 Apr 2024 19:16:32 +0200 Subject: [PATCH 3/5] Fix derive macro name in changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Martin Kröning --- Changelog.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Changelog.md b/Changelog.md index bbd1643..50cb2d1 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,6 +1,6 @@ # Unreleased -* Add `#[derive(Volatile)]` for easy, access-limited field-based access to structs by @mkroening in https://github.com/rust-osdev/volatile/pull/49 +* Add `#[derive(VolatileFieldAccess)]` for easy, access-limited field-based access to structs by @mkroening in https://github.com/rust-osdev/volatile/pull/49 * Add `VolatileRef::restrict` and `VolatilePtr::restrict` by @mkroening in https://github.com/rust-osdev/volatile/pull/47 * Add `VolatileRef::borrow` and `VolatileRef::borrow_mut` by @mkroening in https://github.com/rust-osdev/volatile/pull/46 * Add support for nested `map_field` operations by @phil-opp in https://github.com/rust-osdev/volatile/pull/50 From 4dc2d47d7fef8729767e983327ac38531b200553 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 21 Apr 2024 19:19:39 +0200 Subject: [PATCH 4/5] chore: Release --- Cargo.toml | 4 ++-- volatile-macro/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f44b209..b8bb727 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "volatile" -version = "0.5.3-rc.1" +version = "0.5.3-rc.2" authors = ["Philipp Oppermann "] license = "MIT OR Apache-2.0" keywords = ["volatile"] @@ -11,7 +11,7 @@ repository = "https://github.com/rust-osdev/volatile" edition = "2021" [dependencies] -volatile-macro = { version = "=0.5.3-rc.1", optional = true, path = "volatile-macro" } +volatile-macro = { version = "=0.5.3-rc.2", optional = true, path = "volatile-macro" } [features] derive = ["dep:volatile-macro"] diff --git a/volatile-macro/Cargo.toml b/volatile-macro/Cargo.toml index affac37..b46ea3d 100644 --- a/volatile-macro/Cargo.toml +++ b/volatile-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "volatile-macro" -version = "0.5.3-rc.1" +version = "0.5.3-rc.2" authors = ["Martin Kröning "] edition = "2021" description = "Procedural macros for the volatile crate." From de4a5e192419e659f9721360ce4a15198729e43a Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 21 Apr 2024 19:29:22 +0200 Subject: [PATCH 5/5] chore: Release --- Cargo.toml | 4 ++-- Changelog.md | 2 ++ volatile-macro/Cargo.toml | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index b8bb727..d09832e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "volatile" -version = "0.5.3-rc.2" +version = "0.5.3" authors = ["Philipp Oppermann "] license = "MIT OR Apache-2.0" keywords = ["volatile"] @@ -11,7 +11,7 @@ repository = "https://github.com/rust-osdev/volatile" edition = "2021" [dependencies] -volatile-macro = { version = "=0.5.3-rc.2", optional = true, path = "volatile-macro" } +volatile-macro = { version = "=0.5.3", optional = true, path = "volatile-macro" } [features] derive = ["dep:volatile-macro"] diff --git a/Changelog.md b/Changelog.md index 50cb2d1..41fc963 100644 --- a/Changelog.md +++ b/Changelog.md @@ -1,5 +1,7 @@ # Unreleased +# 0.5.3 – 2024-04-21 + * Add `#[derive(VolatileFieldAccess)]` for easy, access-limited field-based access to structs by @mkroening in https://github.com/rust-osdev/volatile/pull/49 * Add `VolatileRef::restrict` and `VolatilePtr::restrict` by @mkroening in https://github.com/rust-osdev/volatile/pull/47 * Add `VolatileRef::borrow` and `VolatileRef::borrow_mut` by @mkroening in https://github.com/rust-osdev/volatile/pull/46 diff --git a/volatile-macro/Cargo.toml b/volatile-macro/Cargo.toml index b46ea3d..20e9ef6 100644 --- a/volatile-macro/Cargo.toml +++ b/volatile-macro/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "volatile-macro" -version = "0.5.3-rc.2" +version = "0.5.3" authors = ["Martin Kröning "] edition = "2021" description = "Procedural macros for the volatile crate."