Skip to content

Commit 7ba4356

Browse files
committed
embedded-hal: 1.0.0-rc.2 -> 1.0.0-rc.3
1 parent 7230e38 commit 7ba4356

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.20.0] - 2023-12-14
8+
### Changed
9+
- Updated the v1 release of `embedded-hal` from `1.0.0-rc.2` to `1.0.0-rc.3`.
10+
- Updated the v1 release of `embedded-hal-nb` from `1.0.0-rc.2` to `1.0.0-rc.3`.
11+
712
## [0.19.0] - 2023-11-29
813
### Changed
914
- Updated the v1 release of `embedded-hal` from `1.0.0-rc.1` to `1.0.0-rc.2`.
@@ -163,7 +168,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
163168
## [0.1.0] - 2020-09-12
164169
- Initial release
165170

166-
[Unreleased]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.19.0...HEAD
171+
[Unreleased]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.20.0...HEAD
172+
[0.20.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.19.0...v0.20.0
167173
[0.19.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.18.0...v0.19.0
168174
[0.18.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.17.0...v0.18.0
169175
[0.17.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.16.0...v0.17.0

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ftdi-embedded-hal"
3-
version = "0.19.0"
3+
version = "0.20.0"
44
authors = ["Alex Martens <alex@thinglab.org>"]
55
description = "embedded-hal implementation for FTDI USB devices."
66
keywords = ["ftdi", "usb", "io", "hal"]
@@ -17,8 +17,8 @@ default = []
1717

1818
[dependencies]
1919
eh0 = { package = "embedded-hal", version = "0.2.7", features = ["unproven"] }
20-
eh1 = { package = "embedded-hal", version = "=1.0.0-rc.2" }
21-
ehnb1 = { package = "embedded-hal-nb", version = "=1.0.0-rc.2" }
20+
eh1 = { package = "embedded-hal", version = "=1.0.0-rc.3" }
21+
ehnb1 = { package = "embedded-hal-nb", version = "=1.0.0-rc.3" }
2222
ftdi = { version = "0.1.3", optional = true }
2323
ftdi-mpsse = "0.1"
2424
libftd2xx = { version = "0.32", optional = true }

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ FTDI device into the [embedded-hal] traits.
2525

2626
```toml
2727
[dependencies.ftdi-embedded-hal]
28-
version = "0.19.0"
28+
version = "0.20.0"
2929
features = ["libftd2xx", "libftd2xx-static"]
3030
```
3131

src/gpio.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,11 +177,11 @@ where
177177
E: std::error::Error,
178178
Error<E>: From<E>,
179179
{
180-
fn is_high(&self) -> Result<bool, Self::Error> {
180+
fn is_high(&mut self) -> Result<bool, Self::Error> {
181181
self.get()
182182
}
183183

184-
fn is_low(&self) -> Result<bool, Self::Error> {
184+
fn is_low(&mut self) -> Result<bool, Self::Error> {
185185
self.get().map(|res| !res)
186186
}
187187
}

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//!
1919
//! ```toml
2020
//! [dependencies.ftdi-embedded-hal]
21-
//! version = "0.19.0"
21+
//! version = "0.20.0"
2222
//! features = ["libftd2xx", "libftd2xx-static"]
2323
//! ```
2424
//!

0 commit comments

Comments
 (0)