Skip to content

Commit a7b3989

Browse files
bors[bot]eldruin
andauthored
Merge #69
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 <[email protected]>
2 parents 72af109 + fd5f016 commit a7b3989

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
88
## [Unreleased]
99

1010

11+
## [v0.3.2] - 2021-10-25
12+
13+
### Fixed
14+
- Readd `Pin` type export as an alias to `SysfsPin` for compatibility with the `0.3.0` version.
15+
1116
## [v0.3.1] - 2021-09-27
1217
### Added
1318

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ keywords = ["Linux", "hal"]
99
license = "MIT OR Apache-2.0"
1010
name = "linux-embedded-hal"
1111
repository = "https://github.com/rust-embedded/linux-embedded-hal"
12-
version = "0.3.1"
12+
version = "0.3.2"
1313
readme = "README.md"
1414

1515
[features]

src/lib.rs

+3
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,9 @@ pub use cdev_pin::CdevPin;
5858
/// Sysfs pin re-export
5959
pub use sysfs_pin::SysfsPin;
6060

61+
#[cfg(feature = "gpio_sysfs")]
62+
pub use sysfs_pin::SysfsPin as Pin;
63+
6164
/// Empty struct that provides delay functionality on top of `thread::sleep`
6265
pub struct Delay;
6366

0 commit comments

Comments
 (0)