From 0b14ec2c3a970aad4c2fec879ecdfef8fb544676 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 22 Nov 2021 10:52:59 +0100 Subject: [PATCH 1/4] Remove html root url as it is not necessary anymore --- Cargo.toml | 2 +- src/lib.rs | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5a0f4b64c..b740be338 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sysfs_gpio" -version = "0.6.0" # remember to update html_root_url +version = "0.6.0" authors = [ "Paul Osborne ", "The Embedded Linux Team ", diff --git a/src/lib.rs b/src/lib.rs index ddfe6c76b..a90eb749e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -41,7 +41,6 @@ //! ``` #![cfg_attr(feature = "async-tokio", allow(deprecated))] -#![doc(html_root_url = "https://docs.rs/sysfs-gpio/0.6.0")] #[cfg(feature = "async-tokio")] extern crate futures; From 0d87b775c618796cb348242fec4bdb4fa0e9e138 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 22 Nov 2021 10:55:39 +0100 Subject: [PATCH 2/4] Update nix to version 0.23 since 0.22 is marked vulnerable: https://rustsec.org/advisories/RUSTSEC-2021-0119.html --- CHANGELOG.md | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index eafba2993..133e3d003 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,7 @@ ### Changed -- Updated nix to allow both version `0.22` or `0.23`. +- Updated nix to version `0.23`. ## [0.6.0] - 2021-09-24 diff --git a/Cargo.toml b/Cargo.toml index b740be338..a56484867 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -19,7 +19,7 @@ async-tokio = ["futures", "tokio", "mio-evented"] [dependencies] futures = { version = "0.3", optional = true } -nix = ">= 0.22, < 0.24" +nix = "0.23" mio = { version = "0.7", optional = true, features = ["os-ext"]} tokio = { version = "1", optional = true, features = ["net"] } From 58edb3c8fe132dde9b90f382c6cb87b93e52d93e Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 22 Nov 2021 11:00:07 +0100 Subject: [PATCH 3/4] Update mio to version 0.8 --- CHANGELOG.md | 3 ++- Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 133e3d003..634973bc0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ ### Changed -- Updated nix to version `0.23`. +- Updated `nix` to version `0.23`. +- Updated `mio` to version `0.8`. ## [0.6.0] - 2021-09-24 diff --git a/Cargo.toml b/Cargo.toml index a56484867..b1529dabb 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -20,7 +20,7 @@ async-tokio = ["futures", "tokio", "mio-evented"] [dependencies] futures = { version = "0.3", optional = true } nix = "0.23" -mio = { version = "0.7", optional = true, features = ["os-ext"]} +mio = { version = "0.8", optional = true, features = ["os-ext"]} tokio = { version = "1", optional = true, features = ["net"] } [dev-dependencies] From 088a09f733cc9c1908bef024d1c35eaf9ccc7544 Mon Sep 17 00:00:00 2001 From: Diego Barrios Romero Date: Mon, 22 Nov 2021 11:02:56 +0100 Subject: [PATCH 4/4] Prepare 0.6.1 release --- CHANGELOG.md | 5 ++++- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 634973bc0..c09823dfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [master] - Unreleased +## [0.6.1] - 2021-11-22 + ### Changed - Updated `nix` to version `0.23`. @@ -182,7 +184,8 @@ - Initial version of the library with basic functionality - Support for `export`/`unexport`/`get_value`/`set_value`/`set_direction` -[master]: https://github.com/rust-embedded/rust-sysfs-gpio/compare/0.6.0...master +[master]: https://github.com/rust-embedded/rust-sysfs-gpio/compare/0.6.1...master +[0.6.1]: https://github.com/rust-embedded/rust-sysfs-gpio/compare/0.6.0...0.6.1 [0.6.0]: https://github.com/rust-embedded/rust-sysfs-gpio/compare/0.5.3...0.6.0 [0.5.3]: https://github.com/rust-embedded/rust-sysfs-gpio/compare/0.5.2...0.5.3 [0.5.2]: https://github.com/rust-embedded/rust-sysfs-gpio/compare/0.5.1...0.5.2 diff --git a/Cargo.toml b/Cargo.toml index b1529dabb..149f25cc8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sysfs_gpio" -version = "0.6.0" +version = "0.6.1" authors = [ "Paul Osborne ", "The Embedded Linux Team ",