File tree Expand file tree Collapse file tree 9 files changed +46
-20
lines changed Expand file tree Collapse file tree 9 files changed +46
-20
lines changed Original file line number Diff line number Diff line change @@ -28,4 +28,4 @@ status = [
2828
2929 " checks"
3030]
31- timeout_sec = 7200
31+ timeout_sec = 3600
Original file line number Diff line number Diff line change 6565 command : test
6666 args : --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
6767
68+ ci-linux-msrv :
69+ name : CI
70+ runs-on : ubuntu-latest
71+ strategy :
72+ matrix :
73+ rust : [1.46.0]
74+ FEATURES : ["", "--features=async-tokio", "--features=mio-evented"]
75+ TARGET :
76+ - x86_64-unknown-linux-gnu
77+
78+ steps :
79+ - uses : actions/checkout@v2
80+ - uses : actions-rs/toolchain@v1
81+ with :
82+ profile : minimal
83+ toolchain : ${{ matrix.rust }}
84+ target : ${{ matrix.TARGET }}
85+ override : true
86+
87+ - name : Build
88+ uses : actions-rs/cargo@v1
89+ with :
90+ command : build
91+ args : --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
92+
93+ - name : Test
94+ uses : actions-rs/cargo@v1
95+ with :
96+ use-cross : true
97+ command : test
98+ args : --target=${{ matrix.TARGET }} ${{ matrix.FEATURES }}
99+
68100 ci-macos :
69- name : CI-macOS
101+ name : CI
70102 runs-on : macos-11
71103
72104 strategy :
Original file line number Diff line number Diff line change 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
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
Original file line number Diff line number Diff line change 11[package ]
22name = " sysfs_gpio"
3- version = " 0.5.4 "
3+ version = " 0.6.0 " # remember to update html_root_url
44authors = [
55 " Paul Osborne <osbpau@gmail.com>" ,
66 " The Embedded Linux Team <embedded-linux@teams.rust-embedded.org>" ,
Original file line number Diff line number Diff line change 11sysfs_gpio
22==========
33
4- [ ![ Build Status] ( https://travis-ci.org /rust-embedded/rust-sysfs-gpio.svg?branch=master )] ( https://travis-ci.org /rust-embedded/rust-sysfs-gpio )
4+ [ ![ 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
3334Then, add this to your crate root:
3435
3536``` rust
36- extern crate sysfs_gpio;
37+ use sysfs_gpio;
3738```
3839
3940## Example/API
4041
4142Blinking an LED:
4243
4344``` rust
44- extern crate sysfs_gpio;
45-
4645use sysfs_gpio :: {Direction , Pin };
4746use std :: thread :: sleep;
4847use std :: time :: Duration ;
Original file line number Diff line number Diff line change 66// option. This file may not be copied, modified, or distributed
77// except according to those terms.
88
9- extern crate sysfs_gpio;
10-
119use std:: env;
1210use std:: thread:: sleep;
1311use std:: time:: Duration ;
Original file line number Diff line number Diff line change 66// option. This file may not be copied, modified, or distributed
77// except according to those terms.
88
9- extern crate sysfs_gpio;
10-
119use std:: env;
1210use std:: io:: prelude:: * ;
1311use std:: io:: stdout;
Original file line number Diff line number Diff line change 66// option. This file may not be copied, modified, or distributed
77// except according to those terms.
88
9- extern crate sysfs_gpio;
10-
119use std:: env;
1210use std:: thread:: sleep;
1311use std:: time:: Duration ;
Original file line number Diff line number Diff line change 2222//! the following:
2323//!
2424//! ```no_run
25- //! extern crate sysfs_gpio;
26- //!
2725//! use sysfs_gpio::{Direction, Pin};
2826//! use std::thread::sleep;
2927//! use std::time::Duration;
4341//! ```
4442
4543#![ cfg_attr( feature = "async-tokio" , allow( deprecated) ) ]
44+ #![ doc( html_root_url = "https://docs.rs/sysfs-gpio/0.6.0" ) ]
4645
4746#[ cfg( feature = "async-tokio" ) ]
4847extern crate futures;
You can’t perform that action at this time.
0 commit comments