Skip to content

[proposal] release 0.3.0 #175

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 9 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Added

### Changed

## [v0.3.0] - 2020-01-06

### Added
- A nonblocking trait for interfacing with random number generation hardware.
- A nonblocking `rng` trait for interfacing with random number generation hardware.

### Changed
- The current versions of `InputPin` have been proven. These are `digital::v1::InputPin`
and `digital::v2::InputPin`.
- `void::Void` type for infallible methods has been replaced with `core::convert::Infallible`
- `digital::v2` has been promoted to the default
- `digital::v2::InputPin` and `digital::v2::InputPin` have been proven

## [v0.2.3] - 2019-05-09

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

[dependencies.nb]
version = "0.1.1"
Expand Down
2 changes: 1 addition & 1 deletion src/digital/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ pub mod v2_compat;

// Re-export old traits so this isn't a breaking change
#[allow(deprecated)]
pub use self::v1::*;
pub use self::v2::*;
2 changes: 1 addition & 1 deletion src/digital/v2.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! Digital I/O
//!
//! Version 2 / fallible traits. Infallible implementations should set Error to `!`.
//! Version 2 / fallible traits. Infallible implementations should set Error to `core::convert::Infallible`.

/// Single digital push-pull output pin
pub trait OutputPin {
Expand Down