From 6486f80ac9cada4c0d367f2662a5bbb817d64371 Mon Sep 17 00:00:00 2001 From: Rene van der Meer <9930578+golemparts@users.noreply.github.com> Date: Mon, 15 Jan 2024 16:14:26 +0100 Subject: [PATCH] Bump version to 0.17.0 --- CHANGELOG.md | 2 +- Cargo.toml | 8 ++------ README.md | 4 ++-- src/lib.rs | 2 +- 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index abd50a37..9267beb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 0.17.0 (TBD) +## 0.17.0 (January 15, 2024) * (Breaking change) Update `embedded-hal` to v1.0.0 (contributed by @reitermarkus). diff --git a/Cargo.toml b/Cargo.toml index 4511d7e5..9aa548bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "rppal" # Also update html_root_url in lib.rs -version = "0.16.1" +version = "0.17.0" edition = "2021" rust-version = "1.60" authors = ["Rene van der Meer "] @@ -30,9 +30,5 @@ default = [] embedded-hal-0 = ["dep:embedded-hal-0", "dep:void", "embedded-hal-nb", "nb"] embedded-hal = ["dep:embedded-hal", "dep:spin_sleep"] embedded-hal-nb = ["dep:embedded-hal-nb", "embedded-hal"] -hal = [ - "embedded-hal-0", - "embedded-hal", - "embedded-hal-nb", -] +hal = ["embedded-hal-0", "embedded-hal", "embedded-hal-nb"] hal-unproven = ["embedded-hal-0/unproven", "hal"] diff --git a/README.md b/README.md index 054b48fd..bc942d8a 100644 --- a/README.md +++ b/README.md @@ -45,14 +45,14 @@ Add a dependency for `rppal` to your `Cargo.toml` using `cargo add rppal`, or by ```toml [dependencies] -rppal = "0.16.1" +rppal = "0.17.0" ``` If your project requires `embedded-hal` trait implementations, specify either the `hal` or `hal-unproven` feature flag in the dependency declaration. ```toml [dependencies] -rppal = { version = "0.16.1", features = ["hal"] } +rppal = { version = "0.17.0", features = ["hal"] } ``` Call `new()` on any of the peripherals to construct a new instance. diff --git a/src/lib.rs b/src/lib.rs index c1f5fb86..af5975a3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -13,7 +13,7 @@ //! guaranteed until v1.0.0. // Used by rustdoc to link other crates to rppal's docs -#![doc(html_root_url = "https://docs.rs/rppal/0.16.1")] +#![doc(html_root_url = "https://docs.rs/rppal/0.17.0")] #[macro_use] mod macros;