From 995f9c3bb6e52c89161dac9bafa9298c2396f1e1 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 22 Nov 2021 10:29:33 +0100 Subject: [PATCH 1/3] Remove html root url since it is not necessary anymore --- Cargo.toml | 3 +-- src/lib.rs | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 74406819..b92a00ae 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "i2cdev" -version = "0.5.0" # remember to update html_root_url +version = "0.5.0" authors = ["Paul Osborne "] license = "MIT/Apache-2.0" repository = "https://github.com/rust-embedded/rust-i2cdev" @@ -22,4 +22,3 @@ nix = ">= 0.22, < 0.24" [dev-dependencies] docopt = "1" - diff --git a/src/lib.rs b/src/lib.rs index a97bf3d1..e845e0df 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -97,7 +97,6 @@ #![crate_name = "i2cdev"] #![crate_type = "lib"] #![deny(missing_docs)] -#![doc(html_root_url = "https://docs.rs/i2cdev/0.5.0")] #[macro_use] extern crate bitflags; From 7e31c8d945232834cb54e2b139da3fda236258e5 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 22 Nov 2021 10:31:18 +0100 Subject: [PATCH 2/3] Update nix to allow only 0.23 since 0.22 is marked vulnerable: https://rustsec.org/advisories/RUSTSEC-2021-0119.html --- CHANGELOG.md | 3 +-- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b71da4ba..7dd137c1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,7 +8,7 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] -- Updated nix to allow both version `0.22` or `0.23`. +- Updated nix to version `0.23`. - Add PEC support for SMBus compatible adapters - Add `LinuxI2CDevice::force_new()` to open the device without checking if the address is bound to a driver. @@ -24,4 +24,3 @@ The changelog for previous versions was not recorded. [Unreleased]: https://github.com/rust-embedded/rust-i2cdev/compare/0.5.0...HEAD [v0.5.0]: https://github.com/rust-embedded/rust-i2cdev/compare/0.4.0...0.5.0 - diff --git a/Cargo.toml b/Cargo.toml index b92a00ae..0dedbaad 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ Provides API for safe access to Linux i2c device interface. libc = "0.2" bitflags = "1.3" byteorder = "1" -nix = ">= 0.22, < 0.24" +nix = "0.23" [dev-dependencies] docopt = "1" From c7efe8e2114ebd8d7d6be6d4b9bd837e993c47d9 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 22 Nov 2021 10:32:47 +0100 Subject: [PATCH 3/3] Prepare 0.5.1 release --- CHANGELOG.md | 8 ++++++-- Cargo.toml | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dd137c1..a6a363cd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,8 +8,11 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +## [v0.5.1] - 2021-11-22 + - Updated nix to version `0.23`. -- Add PEC support for SMBus compatible adapters +- Add PEC support for SMBus compatible adapters. - Add `LinuxI2CDevice::force_new()` to open the device without checking if the address is bound to a driver. ## [v0.5.0] - 2021-09-21 @@ -22,5 +25,6 @@ Versioning](https://semver.org/spec/v2.0.0.html). The changelog for previous versions was not recorded. -[Unreleased]: https://github.com/rust-embedded/rust-i2cdev/compare/0.5.0...HEAD +[Unreleased]: https://github.com/rust-embedded/rust-i2cdev/compare/0.5.1...HEAD +[v0.5.1]: https://github.com/rust-embedded/rust-i2cdev/compare/0.5.0...0.5.1 [v0.5.0]: https://github.com/rust-embedded/rust-i2cdev/compare/0.4.0...0.5.0 diff --git a/Cargo.toml b/Cargo.toml index 0dedbaad..0a1f792e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "i2cdev" -version = "0.5.0" +version = "0.5.1" authors = ["Paul Osborne "] license = "MIT/Apache-2.0" repository = "https://github.com/rust-embedded/rust-i2cdev"