Skip to content

Commit dbe325d

Browse files
committed
Prepare 0.6.0 release + small fixes
1 parent 09edb30 commit dbe325d

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

CHANGELOG.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,16 @@
22

33
## [master] - Unreleased
44

5+
## [0.6.0] - 2021-09-24
6+
57
### Changed
68

79
- [breaking-change] Renamed `use_tokio` feature `async-tokio`.
8-
- Migrated to 'tokio' crate.
10+
- Migrated to `tokio` crate version 1.
911
- Updated `nix` to version 0.22.
10-
- Minimmum supported Rust version updated to 1.46.0.
11-
- Updated `tokio`to version 1.
1212
- Updated `mio` to version 0.7.
1313
- Updated `futures` to version 0.3.
14+
- Minimmum supported Rust version updated to 1.46.0.
1415

1516
## [0.5.3] - 2018-04-19
1617

@@ -176,7 +177,8 @@
176177
- Initial version of the library with basic functionality
177178
- Support for `export`/`unexport`/`get_value`/`set_value`/`set_direction`
178179

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
180182
[0.5.3]: https://github.com/posborne/rust-sysfs-gpio/compare/0.5.2...0.5.3
181183
[0.5.2]: https://github.com/posborne/rust-sysfs-gpio/compare/0.5.1...0.5.2
182184
[0.5.1]: https://github.com/posborne/rust-sysfs-gpio/compare/0.5.0...0.5.1

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sysfs_gpio"
3-
version = "0.5.4"
3+
version = "0.6.0" # remember to update html_root_url
44
authors = [
55
"Paul Osborne <[email protected]>",
66
"The Embedded Linux Team <[email protected]>",

README.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ sysfs_gpio
33

44
[![Build Status](https://github.com/rust-embedded/rust-sysfs-gpio/workflows/CI/badge.svg)](https://github.com/rust-embedded/rust-sysfs-gpio/actions)
55
[![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)
67
[![License](https://img.shields.io/crates/l/sysfs-gpio.svg)](https://github.com/rust-embedded/rust-sysfs-gpio/blob/master/README.md#license)
78

89
- [API Documentation](https://docs.rs/sysfs_gpio)
@@ -27,22 +28,20 @@ To use `sysfs_gpio`, first add this to your `Cargo.toml`:
2728

2829
```toml
2930
[dependencies]
30-
sysfs_gpio = "0.5"
31+
sysfs_gpio = "0.6"
3132
```
3233

3334
Then, add this to your crate root:
3435

3536
```rust
36-
extern crate sysfs_gpio;
37+
use sysfs_gpio;
3738
```
3839

3940
## Example/API
4041

4142
Blinking an LED:
4243

4344
```rust
44-
extern crate sysfs_gpio;
45-
4645
use sysfs_gpio::{Direction, Pin};
4746
use std::thread::sleep;
4847
use std::time::Duration;

0 commit comments

Comments
 (0)