File tree Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Expand file tree Collapse file tree 3 files changed +10
-9
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## [ master] - Unreleased
4
4
5
+ ## [ 0.6.0] - 2021-09-24
6
+
5
7
### Changed
6
8
7
9
- [ breaking-change] Renamed ` use_tokio ` feature ` async-tokio ` .
8
- - Migrated to ' tokio' crate.
10
+ - Migrated to ` tokio ` crate version 1 .
9
11
- Updated ` nix ` to version 0.22.
10
- - Minimmum supported Rust version updated to 1.46.0.
11
- - Updated ` tokio ` to version 1.
12
12
- Updated ` mio ` to version 0.7.
13
13
- Updated ` futures ` to version 0.3.
14
+ - Minimmum supported Rust version updated to 1.46.0.
14
15
15
16
## [ 0.5.3] - 2018-04-19
16
17
176
177
- Initial version of the library with basic functionality
177
178
- Support for ` export ` /` unexport ` /` get_value ` /` set_value ` /` set_direction `
178
179
179
- [ master ] : https://github.com/posborne/rust-sysfs-gpio/compare/0.5.3...master
180
+ [ master ] : https://github.com/posborne/rust-sysfs-gpio/compare/0.6.0...master
181
+ [ 0.6.0 ] : https://github.com/posborne/rust-sysfs-gpio/compare/0.5.3...0.6.0
180
182
[ 0.5.3 ] : https://github.com/posborne/rust-sysfs-gpio/compare/0.5.2...0.5.3
181
183
[ 0.5.2 ] : https://github.com/posborne/rust-sysfs-gpio/compare/0.5.1...0.5.2
182
184
[ 0.5.1 ] : https://github.com/posborne/rust-sysfs-gpio/compare/0.5.0...0.5.1
Original file line number Diff line number Diff line change 1
1
[package ]
2
2
name = " sysfs_gpio"
3
- version = " 0.5.4 "
3
+ version = " 0.6.0 " # remember to update html_root_url
4
4
authors = [
5
5
" Paul Osborne <osbpau@gmail.com>" ,
6
6
" The Embedded Linux Team <embedded-linux@teams.rust-embedded.org>" ,
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ sysfs_gpio
3
3
4
4
[ ![ Build Status] ( https://github.com/rust-embedded/rust-sysfs-gpio/workflows/CI/badge.svg )] ( https://github.com/rust-embedded/rust-sysfs-gpio/actions )
5
5
[ ![ Version] ( https://img.shields.io/crates/v/sysfs-gpio.svg )] ( https://crates.io/crates/sysfs-gpio )
6
+ ![ Minimum Supported Rust Version] ( https://img.shields.io/badge/rustc-1.46+-blue.svg )
6
7
[ ![ License] ( https://img.shields.io/crates/l/sysfs-gpio.svg )] ( https://github.com/rust-embedded/rust-sysfs-gpio/blob/master/README.md#license )
7
8
8
9
- [ API Documentation] ( https://docs.rs/sysfs_gpio )
@@ -27,22 +28,20 @@ To use `sysfs_gpio`, first add this to your `Cargo.toml`:
27
28
28
29
``` toml
29
30
[dependencies ]
30
- sysfs_gpio = " 0.5 "
31
+ sysfs_gpio = " 0.6 "
31
32
```
32
33
33
34
Then, add this to your crate root:
34
35
35
36
``` rust
36
- extern crate sysfs_gpio;
37
+ use sysfs_gpio;
37
38
```
38
39
39
40
## Example/API
40
41
41
42
Blinking an LED:
42
43
43
44
``` rust
44
- extern crate sysfs_gpio;
45
-
46
45
use sysfs_gpio :: {Direction , Pin };
47
46
use std :: thread :: sleep;
48
47
use std :: time :: Duration ;
You can’t perform that action at this time.
0 commit comments