Skip to content

Commit 7df5623

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 <dfrankland@users.noreply.github.com>
2 parents b80182d + af73054 commit 7df5623

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/bors.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ required_approvals = 1
44
status = [
55
"CI (stable, x86_64-unknown-linux-gnu)",
66
"CI (stable, armv7-unknown-linux-gnueabihf)",
7-
"CI (1.35.0, x86_64-unknown-linux-gnu)",
7+
"CI (1.36.0, x86_64-unknown-linux-gnu)",
88
]

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
include:
2323
# Test MSRV
24-
- rust: 1.35.0
24+
- rust: 1.36.0
2525
TARGET: x86_64-unknown-linux-gnu
2626

2727
# Test nightly but don't fail
@@ -31,7 +31,7 @@ jobs:
3131

3232
steps:
3333
- uses: actions/checkout@v2
34-
34+
3535
- uses: actions-rs/toolchain@v1
3636
with:
3737
profile: minimal

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)