Skip to content

Commit 04cd071

Browse files
committed
removed pin exports, updated changelog
1 parent 35ff43e commit 04cd071

File tree

2 files changed

+5
-15
lines changed

2 files changed

+5
-15
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- Set default features to build both sysfs and cdev pin types
13+
- Removed `Pin` export, use `CdevPin` or `SysfsPin`
14+
1015
## [v0.3.0] - 2019-11-25
1116

1217
### Added

src/lib.rs

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -115,21 +115,6 @@ impl hal::blocking::delay::DelayMs<u64> for Delay {
115115
}
116116

117117

118-
#[cfg(all(feature = "gpio_sysfs", feature = "gpio_cdev"))]
119-
/// Re-export of `sysfs_pin::SysfsPin` when both pin types are enabled
120-
/// This exists to maintain backwards compatibility with existing users
121-
pub type Pin = sysfs_pin::SysfsPin;
122-
123-
#[cfg(all(feature = "gpio_sysfs", not(feature = "gpio_cdev")))]
124-
/// Re-export of `sysfs_pin::SysfsPin` pin type when `gpio_sysfs` feature is selected
125-
pub type Pin = sysfs_pin::SysfsPin;
126-
127-
#[cfg(all(feature = "gpio_cdev", not(feature = "gpio_sysfs")))]
128-
/// Re-export of `cdev_pin::CdevPin` pin type when `gpio_cdev` feature is selected
129-
pub type Pin = cdev_pin::CdevPin;
130-
131-
132-
133118
/// Newtype around [`i2cdev::linux::LinuxI2CDevice`] that implements the `embedded-hal` traits
134119
///
135120
/// [`i2cdev::linux::LinuxI2CDevice`]: https://docs.rs/i2cdev/0.3.1/i2cdev/linux/struct.LinuxI2CDevice.html

0 commit comments

Comments
 (0)