You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
42: Update gpio-cdev and add MSRV r=posborne a=eldruin
Using `gpio-cdev` 0.3 we have a MSRV of 1.36.0 due to `nix`.
This superseeds #41
Co-authored-by: Diego Barrios Romero <[email protected]>
Copy file name to clipboardExpand all lines: README.md
+7-2
Original file line number
Diff line number
Diff line change
@@ -15,13 +15,18 @@ See [gpio-cdev documentation](https://github.com/rust-embedded/gpio-cdev#sysfs-g
15
15
16
16
This crate includes feature flag `gpio_cdev` that exposes `CdevPin` as wrapper around `LineHandle` from [gpio-cdev](https://crates.io/crates/gpio-cdev).
17
17
To enable it update your Cargo.toml. Please note that in order to prevent `LineHandle` fd from closing you should
18
-
assign to a variable, see [cdev issue](https://github.com/rust-embedded/gpio-cdev/issues/29) for more details.
18
+
assign to a variable, see [cdev issue](https://github.com/rust-embedded/gpio-cdev/issues/29) for more details.
19
19
```
20
20
linux-embedded-hal = { version = "0.3", features = ["gpio_cdev"] }
21
-
```
21
+
```
22
22
23
23
`SysfsPin` can be still used with feature flag `gpio_sysfs`.
24
24
25
+
# Minimum Supported Rust Version (MSRV)
26
+
27
+
This crate is guaranteed to compile on stable Rust 1.36.0 and up. It *might*
28
+
compile with older versions but that may change in any new patch release.
0 commit comments