Skip to content

Commit

Permalink
embedded-hal: 1.0.0-rc.2 -> 1.0.0-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
newAM committed Dec 14, 2023
1 parent 7230e38 commit 7ba4356
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.20.0] - 2023-12-14
### Changed
- Updated the v1 release of `embedded-hal` from `1.0.0-rc.2` to `1.0.0-rc.3`.
- Updated the v1 release of `embedded-hal-nb` from `1.0.0-rc.2` to `1.0.0-rc.3`.

## [0.19.0] - 2023-11-29
### Changed
- Updated the v1 release of `embedded-hal` from `1.0.0-rc.1` to `1.0.0-rc.2`.
Expand Down Expand Up @@ -163,7 +168,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.1.0] - 2020-09-12
- Initial release

[Unreleased]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.19.0...HEAD
[Unreleased]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.20.0...HEAD
[0.20.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.19.0...v0.20.0
[0.19.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.18.0...v0.19.0
[0.18.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.17.0...v0.18.0
[0.17.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.16.0...v0.17.0
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ftdi-embedded-hal"
version = "0.19.0"
version = "0.20.0"
authors = ["Alex Martens <[email protected]>"]
description = "embedded-hal implementation for FTDI USB devices."
keywords = ["ftdi", "usb", "io", "hal"]
Expand All @@ -17,8 +17,8 @@ default = []

[dependencies]
eh0 = { package = "embedded-hal", version = "0.2.7", features = ["unproven"] }
eh1 = { package = "embedded-hal", version = "=1.0.0-rc.2" }
ehnb1 = { package = "embedded-hal-nb", version = "=1.0.0-rc.2" }
eh1 = { package = "embedded-hal", version = "=1.0.0-rc.3" }
ehnb1 = { package = "embedded-hal-nb", version = "=1.0.0-rc.3" }
ftdi = { version = "0.1.3", optional = true }
ftdi-mpsse = "0.1"
libftd2xx = { version = "0.32", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ FTDI device into the [embedded-hal] traits.

```toml
[dependencies.ftdi-embedded-hal]
version = "0.19.0"
version = "0.20.0"
features = ["libftd2xx", "libftd2xx-static"]
```

Expand Down
4 changes: 2 additions & 2 deletions src/gpio.rs
Original file line number Diff line number Diff line change
Expand Up @@ -177,11 +177,11 @@ where
E: std::error::Error,
Error<E>: From<E>,
{
fn is_high(&self) -> Result<bool, Self::Error> {
fn is_high(&mut self) -> Result<bool, Self::Error> {
self.get()
}

fn is_low(&self) -> Result<bool, Self::Error> {
fn is_low(&mut self) -> Result<bool, Self::Error> {
self.get().map(|res| !res)
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//!
//! ```toml
//! [dependencies.ftdi-embedded-hal]
//! version = "0.19.0"
//! version = "0.20.0"
//! features = ["libftd2xx", "libftd2xx-static"]
//! ```
//!
Expand Down

0 comments on commit 7ba4356

Please sign in to comment.