Skip to content

Commit f59bf97

Browse files
committed
Update embedded-hal alpha release
1 parent 7319323 commit f59bf97

File tree

7 files changed

+26
-20
lines changed

7 files changed

+26
-20
lines changed

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.13.0] - 2022-09-28
8+
### Changed
9+
- Updated the alpha release of `embedded-hal` from `1.0.0-alpha.8` to `1.0.0-alpha.9`.
10+
711
## [0.12.0] - 2022-09-03
812
### Added
913
- Added re-exports for `libftd2xx` and `ftdi` when the respective feature is used.
@@ -123,7 +127,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
123127
## [0.1.0] - 2020-09-12
124128
- Initial release
125129

126-
[Unreleased]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.12.0...HEAD
130+
[Unreleased]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.13.0...HEAD
131+
[0.12.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.12.0...v0.13.0
127132
[0.12.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.11.0...v0.12.0
128133
[0.11.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.10.0...v0.11.0
129134
[0.10.0]: https://github.com/ftdi-rs/ftdi-embedded-hal/compare/v0.9.1...v0.10.0

Cargo.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "ftdi-embedded-hal"
3-
version = "0.12.0"
3+
version = "0.13.0"
44
authors = ["Alex Martens <[email protected]>"]
55
description = "embedded-hal implementation for FTDI USB devices."
66
keywords = ["ftdi", "usb", "io", "hal"]
@@ -17,7 +17,8 @@ default = []
1717

1818
[dependencies]
1919
eh0 = { package = "embedded-hal", version = "0.2.7", features = ["unproven"] }
20-
eh1 = { package = "embedded-hal", version = "1.0.0-alpha.8" }
20+
eh1 = { package = "embedded-hal", version = "1.0.0-alpha.9" }
21+
ehnb1 = { package = "embedded-hal-nb", version = "1.0.0-alpha.1" }
2122
ftdi = { version = "0.1.3", optional = true }
2223
ftdi-mpsse = "0.1"
2324
libftd2xx = { version = "0.32", optional = true }

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ FTDI device into the [embedded-hal] traits.
2525

2626
```toml
2727
[dependencies.ftdi-embedded-hal]
28-
version = "0.12.0"
28+
version = "0.13.0"
2929
features = ["libftd2xx", "libftd2xx-static"]
3030
```
3131

src/delay.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Implementation of the [`eh0::blocking::delay`] and [`eh1::delay::blocking`]
1+
//! Implementation of the [`eh0::blocking::delay`] and [`eh1::delay`]
22
//! traits.
33
44
/// Delay structure.
@@ -32,7 +32,7 @@ impl Default for Delay {
3232
}
3333
}
3434

35-
impl eh1::delay::blocking::DelayUs for Delay {
35+
impl eh1::delay::DelayUs for Delay {
3636
type Error = std::convert::Infallible;
3737

3838
fn delay_us(&mut self, us: u32) -> Result<(), Self::Error> {

src/gpio.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ where
7272
type Error = Error<E>;
7373
}
7474

75-
impl<'a, Device, E> eh1::digital::blocking::OutputPin for OutputPin<'a, Device>
75+
impl<'a, Device, E> eh1::digital::OutputPin for OutputPin<'a, Device>
7676
where
7777
Device: MpsseCmdExecutor<Error = E>,
7878
E: std::error::Error,
@@ -167,7 +167,7 @@ where
167167
type Error = Error<E>;
168168
}
169169

170-
impl<'a, Device, E> eh1::digital::blocking::InputPin for InputPin<'a, Device>
170+
impl<'a, Device, E> eh1::digital::InputPin for InputPin<'a, Device>
171171
where
172172
Device: MpsseCmdExecutor<Error = E>,
173173
E: std::error::Error,

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
//!
1919
//! ```toml
2020
//! [dependencies.ftdi-embedded-hal]
21-
//! version = "0.12.0"
21+
//! version = "0.13.0"
2222
//! features = ["libftd2xx", "libftd2xx-static"]
2323
//! ```
2424
//!

src/spi.rs

+11-11
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ where
221221
type Error = Error<E>;
222222
}
223223

224-
impl<'a, Device, E> eh1::spi::blocking::SpiBusFlush for Spi<'a, Device>
224+
impl<'a, Device, E> eh1::spi::SpiBusFlush for Spi<'a, Device>
225225
where
226226
Device: MpsseCmdExecutor<Error = E>,
227227
E: std::error::Error,
@@ -232,7 +232,7 @@ where
232232
}
233233
}
234234

235-
impl<'a, Device, E> eh1::spi::blocking::SpiBusWrite<u8> for Spi<'a, Device>
235+
impl<'a, Device, E> eh1::spi::SpiBusWrite<u8> for Spi<'a, Device>
236236
where
237237
Device: MpsseCmdExecutor<Error = E>,
238238
E: std::error::Error,
@@ -250,7 +250,7 @@ where
250250
}
251251
}
252252

253-
impl<'a, Device, E> eh1::spi::blocking::SpiBusRead<u8> for Spi<'a, Device>
253+
impl<'a, Device, E> eh1::spi::SpiBusRead<u8> for Spi<'a, Device>
254254
where
255255
Device: MpsseCmdExecutor<Error = E>,
256256
E: std::error::Error,
@@ -270,7 +270,7 @@ where
270270
}
271271
}
272272

273-
impl<'a, Device, E> eh1::spi::blocking::SpiBus<u8> for Spi<'a, Device>
273+
impl<'a, Device, E> eh1::spi::SpiBus<u8> for Spi<'a, Device>
274274
where
275275
Device: MpsseCmdExecutor<Error = E>,
276276
E: std::error::Error,
@@ -302,7 +302,7 @@ where
302302
}
303303
}
304304

305-
impl<'a, Device, E> eh1::spi::nb::FullDuplex<u8> for Spi<'a, Device>
305+
impl<'a, Device, E> ehnb1::spi::FullDuplex<u8> for Spi<'a, Device>
306306
where
307307
Device: MpsseCmdExecutor<Error = E>,
308308
E: std::error::Error,
@@ -348,7 +348,7 @@ where
348348
type Error = Error<E>;
349349
}
350350

351-
impl<'a, Device, E> eh1::spi::blocking::SpiBusFlush for SpiDeviceBus<'a, Device>
351+
impl<'a, Device, E> eh1::spi::SpiBusFlush for SpiDeviceBus<'a, Device>
352352
where
353353
Device: MpsseCmdExecutor<Error = E>,
354354
E: std::error::Error,
@@ -359,7 +359,7 @@ where
359359
}
360360
}
361361

362-
impl<'a, Device, E> eh1::spi::blocking::SpiBusRead<u8> for SpiDeviceBus<'a, Device>
362+
impl<'a, Device, E> eh1::spi::SpiBusRead<u8> for SpiDeviceBus<'a, Device>
363363
where
364364
Device: MpsseCmdExecutor<Error = E>,
365365
E: std::error::Error,
@@ -377,7 +377,7 @@ where
377377
}
378378
}
379379

380-
impl<'a, Device, E> eh1::spi::blocking::SpiBusWrite<u8> for SpiDeviceBus<'a, Device>
380+
impl<'a, Device, E> eh1::spi::SpiBusWrite<u8> for SpiDeviceBus<'a, Device>
381381
where
382382
Device: MpsseCmdExecutor<Error = E>,
383383
E: std::error::Error,
@@ -394,7 +394,7 @@ where
394394
}
395395
}
396396

397-
impl<'a, Device, E> eh1::spi::blocking::SpiBus<u8> for SpiDeviceBus<'a, Device>
397+
impl<'a, Device, E> eh1::spi::SpiBus<u8> for SpiDeviceBus<'a, Device>
398398
where
399399
Device: MpsseCmdExecutor<Error = E>,
400400
E: std::error::Error,
@@ -515,7 +515,7 @@ where
515515
type Error = Error<E>;
516516
}
517517

518-
impl<'a, Device, E> eh1::spi::blocking::SpiDevice for SpiDevice<'a, Device>
518+
impl<'a, Device, E> eh1::spi::SpiDevice for SpiDevice<'a, Device>
519519
where
520520
Device: MpsseCmdExecutor<Error = E>,
521521
E: std::error::Error,
@@ -550,7 +550,7 @@ where
550550

551551
// flush the bus
552552
{
553-
use eh1::spi::blocking::SpiBusFlush;
553+
use eh1::spi::SpiBusFlush;
554554
bus.flush()?;
555555
}
556556

0 commit comments

Comments
 (0)