File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
10
10
### Added
11
11
12
12
- Added async ` DelayNs ` implementation for ` tokio ` .
13
+ - Added feature flag for ` serial ` .
13
14
14
15
## [ v0.4.0] - 2024-01-10
15
16
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ edition = "2018"
16
16
gpio_sysfs = [" sysfs_gpio" ]
17
17
gpio_cdev = [" gpio-cdev" ]
18
18
async-tokio = [" gpio-cdev/async-tokio" , " dep:embedded-hal-async" , " tokio/time" ]
19
- i2c = [" i2cdev" ]
19
+ i2c = [" i2cdev" , " nix " ]
20
20
spi = [" spidev" ]
21
21
serial = [" serialport" , " embedded-hal-nb" ]
22
22
@@ -32,7 +32,7 @@ i2cdev = { version = "0.6.0", optional = true }
32
32
nb = " 1"
33
33
serialport = { version = " 4.2.0" , default-features = false , optional = true }
34
34
spidev = { version = " 0.6.0" , optional = true }
35
- nix = " 0.27.1"
35
+ nix = { version = " 0.27.1" , optional = true }
36
36
tokio = { version = " 1" , default-features = false , optional = true }
37
37
38
38
[dev-dependencies ]
You can’t perform that action at this time.
0 commit comments