Skip to content

Commit 0e9d018

Browse files
committed
Update gpio-cdev to 0.4.0 and add async-tokio feature
Allows streaming of chip line events asynchronously
1 parent b80182d commit 0e9d018

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ edition = "2018"
1515
[features]
1616
gpio_sysfs = ["sysfs_gpio"]
1717
gpio_cdev = ["gpio-cdev"]
18+
async-tokio = ["gpio-cdev/async-tokio"]
1819

1920
default = [ "gpio_cdev", "gpio_sysfs" ]
2021

2122
[dependencies]
2223
embedded-hal = "=1.0.0-alpha.4"
23-
gpio-cdev = { version = "0.3", optional = true }
24+
gpio-cdev = { version = "0.4", optional = true }
2425
sysfs_gpio = { version = "0.5", optional = true }
2526

2627
i2cdev = "0.4.3"
@@ -36,4 +37,3 @@ openpty = "0.1.0"
3637
# we don't need the `Error` implementation
3738
default-features = false
3839
version = "0.2.2"
39-

0 commit comments

Comments
 (0)