From 0e9d018c3c859b6091d4642f32bac66cfe1a85af Mon Sep 17 00:00:00 2001 From: Dylan Frankland Date: Sun, 3 Jan 2021 17:52:12 -0800 Subject: [PATCH 1/2] Update gpio-cdev to 0.4.0 and add async-tokio feature Allows streaming of chip line events asynchronously --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 744236e..ae62c40 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,12 +15,13 @@ edition = "2018" [features] gpio_sysfs = ["sysfs_gpio"] gpio_cdev = ["gpio-cdev"] +async-tokio = ["gpio-cdev/async-tokio"] default = [ "gpio_cdev", "gpio_sysfs" ] [dependencies] embedded-hal = "=1.0.0-alpha.4" -gpio-cdev = { version = "0.3", optional = true } +gpio-cdev = { version = "0.4", optional = true } sysfs_gpio = { version = "0.5", optional = true } i2cdev = "0.4.3" @@ -36,4 +37,3 @@ openpty = "0.1.0" # we don't need the `Error` implementation default-features = false version = "0.2.2" - From af73054784762e90a9dd2111d6b23677957c20dc Mon Sep 17 00:00:00 2001 From: Dylan Frankland Date: Wed, 10 Feb 2021 11:29:51 -0800 Subject: [PATCH 2/2] Update CI to use MSRV of 1.36.0 The README.md was previously updated due to the dependency on `nix` with PR #42 --- .github/bors.toml | 2 +- .github/workflows/ci.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/bors.toml b/.github/bors.toml index b47d1a9..183d1f0 100644 --- a/.github/bors.toml +++ b/.github/bors.toml @@ -4,5 +4,5 @@ required_approvals = 1 status = [ "CI (stable, x86_64-unknown-linux-gnu)", "CI (stable, armv7-unknown-linux-gnueabihf)", - "CI (1.35.0, x86_64-unknown-linux-gnu)", + "CI (1.36.0, x86_64-unknown-linux-gnu)", ] diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68596fd..a84d4fd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,7 +21,7 @@ jobs: include: # Test MSRV - - rust: 1.35.0 + - rust: 1.36.0 TARGET: x86_64-unknown-linux-gnu # Test nightly but don't fail @@ -31,7 +31,7 @@ jobs: steps: - uses: actions/checkout@v2 - + - uses: actions-rs/toolchain@v1 with: profile: minimal