File tree 3 files changed +12
-2
lines changed
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
4
4
The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) ,
5
5
and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
6
6
7
+ ## [ Unreleased]
8
+ ### Added
9
+ - Added re-exports for ` libftd2xx ` and ` ftdi ` when the respective feature is used.
10
+
7
11
## [ 0.11.0] - 2022-01-18
8
12
### Added
9
13
- Added support for input pins.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ FTDI device into the [embedded-hal] traits.
26
26
``` toml
27
27
[dependencies .ftdi-embedded-hal ]
28
28
version = " 0.11"
29
- features = [" libftd2xx-static" ]
29
+ features = [" libftd2xx" , " libftd2xx -static" ]
30
30
```
31
31
32
32
## Limitations
Original file line number Diff line number Diff line change 19
19
//! ```toml
20
20
//! [dependencies.ftdi-embedded-hal]
21
21
//! version = "0.11"
22
- //! features = ["libftd2xx-static"]
22
+ //! features = ["libftd2xx", "libftd2xx -static"]
23
23
//! ```
24
24
//!
25
25
//! # Limitations
145
145
pub use embedded_hal;
146
146
pub use ftdi_mpsse;
147
147
148
+ #[ cfg( feature = "ftdi" ) ]
149
+ pub use ftdi;
150
+
151
+ #[ cfg( feature = "libftd2xx" ) ]
152
+ pub use libftd2xx;
153
+
148
154
mod delay;
149
155
mod error;
150
156
mod gpio;
You can’t perform that action at this time.
0 commit comments