File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 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/).
1010### Added
1111
1212- Added async ` DelayNs ` implementation for ` tokio ` .
13+ - Added feature flag for ` serial ` .
1314
1415## [ v0.4.0] - 2024-01-10
1516
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ edition = "2018"
1616gpio_sysfs = [" sysfs_gpio" ]
1717gpio_cdev = [" gpio-cdev" ]
1818async-tokio = [" gpio-cdev/async-tokio" , " dep:embedded-hal-async" , " tokio/time" ]
19- i2c = [" i2cdev" ]
19+ i2c = [" i2cdev" , " nix " ]
2020spi = [" spidev" ]
2121serial = [" serialport" , " embedded-hal-nb" ]
2222
@@ -32,7 +32,7 @@ i2cdev = { version = "0.6.0", optional = true }
3232nb = " 1"
3333serialport = { version = " 4.2.0" , default-features = false , optional = true }
3434spidev = { version = " 0.6.0" , optional = true }
35- nix = " 0.27.1"
35+ nix = { version = " 0.27.1" , optional = true }
3636tokio = { version = " 1" , default-features = false , optional = true }
3737
3838[dev-dependencies ]
You can’t perform that action at this time.
0 commit comments