From 5fb3bc6ff77945fb924199e855e4b8907218e869 Mon Sep 17 00:00:00 2001 From: gentoo90 Date: Mon, 3 Apr 2023 21:11:50 +0300 Subject: [PATCH] Bump version to 0.50.0 Versions `<0.50` are left for possible `winapi` branch fixes --- CHANGELOG.md | 6 ++++++ Cargo.toml | 2 +- README.md | 6 +++--- src/lib.rs | 2 +- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 687c375..8303a57 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## 0.50.0 + +* Breaking change: [`winapi-rs`](https://crates.io/crates/winapi) is not maintained any more, so migrate to Microsofts [`windows-sys`](https://crates.io/crates/windows-sys) as a backend ([#48](https://github.com/gentoo90/winreg-rs/pull/48), [#51](https://github.com/gentoo90/winreg-rs/pull/51)) +* Breaking change: Increase minimum supported Rust version to `1.46` since `windows-sys` doesn't compile with older versions +* Replace deprecated methods from `chrono` ([#48](https://github.com/gentoo90/winreg-rs/pull/48)) + ## 0.11.0 * Migrate to the 2018 edition of Rust diff --git a/Cargo.toml b/Cargo.toml index 0944c48..4d623c2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "winreg" edition = "2018" -version = "0.11.0" +version = "0.50.0" authors = ["Igor Shaula "] license = "MIT" description = "Rust bindings to MS Windows Registry API" diff --git a/README.md b/README.md index c605751..7d823c8 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ Current features: ```toml # Cargo.toml [dependencies] -winreg = "0.11" +winreg = "0.50" ``` ```rust @@ -138,7 +138,7 @@ fn main() -> io::Result<()> { ```toml # Cargo.toml [dependencies] -winreg = { version = "0.11", features = ["transactions"] } +winreg = { version = "0.50", features = ["transactions"] } ``` ```rust @@ -179,7 +179,7 @@ fn main() -> io::Result<()> { ```toml # Cargo.toml [dependencies] -winreg = { version = "0.11", features = ["serialization-serde"] } +winreg = { version = "0.50", features = ["serialization-serde"] } serde = "1" serde_derive = "1" ``` diff --git a/src/lib.rs b/src/lib.rs index 2b4bad3..54b8486 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,7 @@ //!```toml,ignore //!# Cargo.toml //![dependencies] -//!winreg = "0.11" +//!winreg = "0.50" //!``` //! //!```no_run