Skip to content

Commit 8cbbd2e

Browse files
Merge #55
55: Update gpio-cdev to 0.4.0 and add async-tokio feature r=ryankurte a=dfrankland It'd be lovely to allow streaming of chip line events asynchronously now that `gpio-cdev` supports it. Co-authored-by: Dylan Frankland <[email protected]>
2 parents e9076f8 + 83008e2 commit 8cbbd2e

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)