Skip to content

Commit

Permalink
Merge #69
Browse files Browse the repository at this point in the history
69: Readd Pin type as an alias to SysfsPin for compatibility with the 0.3.0 release r=ryankurte a=eldruin

This fixes a breaking change that slipped thorough in release 0.3.1.
We can yank 0.3.1 once 0.3.2 has been published.

Co-authored-by: Diego Barrios Romero <eldruin@gmail.com>
  • Loading branch information
bors[bot] and eldruin committed Oct 25, 2021
2 parents 72af109 + fd5f016 commit a7b3989
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
## [Unreleased]


## [v0.3.2] - 2021-10-25

### Fixed
- Readd `Pin` type export as an alias to `SysfsPin` for compatibility with the `0.3.0` version.

## [v0.3.1] - 2021-09-27
### Added

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ keywords = ["Linux", "hal"]
license = "MIT OR Apache-2.0"
name = "linux-embedded-hal"
repository = "https://github.com/rust-embedded/linux-embedded-hal"
version = "0.3.1"
version = "0.3.2"
readme = "README.md"

[features]
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ pub use cdev_pin::CdevPin;
/// Sysfs pin re-export
pub use sysfs_pin::SysfsPin;

#[cfg(feature = "gpio_sysfs")]
pub use sysfs_pin::SysfsPin as Pin;

/// Empty struct that provides delay functionality on top of `thread::sleep`
pub struct Delay;

Expand Down

0 comments on commit a7b3989

Please sign in to comment.