Skip to content

Commit f2dcb18

Browse files
authored
Merge pull request #86 from eldruin/some-improvements
Some improvements
2 parents b6037b0 + 10494e8 commit f2dcb18

File tree

4 files changed

+110
-14
lines changed

4 files changed

+110
-14
lines changed

.github/workflows/ci.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
on:
2+
push:
3+
branches: [ staging, trying, master ]
4+
pull_request:
5+
6+
name: CI
7+
8+
jobs:
9+
ci-linux:
10+
name: CI
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
rust: [stable]
16+
17+
include:
18+
# Test nightly but don't fail
19+
- rust: nightly
20+
experimental: true
21+
TARGET: x86_64-unknown-linux-gnu
22+
23+
steps:
24+
- uses: actions/checkout@v2
25+
26+
- uses: actions-rs/toolchain@v1
27+
with:
28+
profile: minimal
29+
toolchain: ${{ matrix.rust }}
30+
target: ${{ matrix.TARGET }}
31+
override: true
32+
33+
- name: Install libusb library
34+
run: sudo apt-get install -y libusb-1.0.0-dev
35+
36+
- uses: actions-rs/cargo@v1
37+
with:
38+
command: check
39+
args: --all-targets
40+
41+
- uses: actions-rs/cargo@v1
42+
with:
43+
command: check
44+
args: --features control-buffer-256

.github/workflows/rustfmt.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
on:
2+
push:
3+
branches: [ staging, trying, master ]
4+
pull_request:
5+
6+
name: Code formatting check
7+
8+
jobs:
9+
fmt:
10+
name: Rustfmt
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions-rs/toolchain@v1
15+
with:
16+
profile: minimal
17+
toolchain: stable
18+
override: true
19+
components: rustfmt
20+
- uses: actions-rs/cargo@v1
21+
with:
22+
command: fmt
23+
args: --all -- --check

.travis.yml

Lines changed: 0 additions & 14 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7+
8+
## [Unreleased]
9+
10+
...
11+
12+
## [0.2.8] - 2021-03-13
13+
14+
## [0.2.7] - 2020-10-03
15+
16+
## [0.2.6] - 2020-09-22
17+
18+
## [0.2.5] - 2020-02-10
19+
20+
## [0.2.4] - 2020-02-01
21+
22+
## [0.2.3] - 2019-08-28
23+
24+
## [0.2.2] - 2019-07-27
25+
26+
## [0.2.1] - 2019-06-07
27+
28+
## [0.2.0] - 2019-06-07
29+
30+
## 0.1.0 - 2019-06-07
31+
32+
This is the initial release to crates.io.
33+
34+
[Unreleased]: https://github.com/rust-embedded-community/usb-device/compare/v0.2.8...HEAD
35+
[0.2.8]: https://github.com/rust-embedded-community/usb-device/compare/v0.2.7...v0.2.8
36+
[0.2.7]: https://github.com/rust-embedded-community/usb-device/compare/v0.2.6...v0.2.7
37+
[0.2.6]: https://github.com/rust-embedded-community/usb-device/compare/v0.2.5...v0.2.6
38+
[0.2.5]: https://github.com/rust-embedded-community/usb-device/compare/v0.2.4...v0.2.5
39+
[0.2.4]: https://github.com/rust-embedded-community/usb-device/compare/v0.2.3...v0.2.4
40+
[0.2.3]: https://github.com/rust-embedded-community/usb-device/compare/v0.2.2...v0.2.3
41+
[0.2.2]: https://github.com/rust-embedded-community/usb-device/compare/v0.2.1...v0.2.2
42+
[0.2.1]: https://github.com/rust-embedded-community/usb-device/compare/v0.2.0...v0.2.1
43+
[0.2.0]: https://github.com/rust-embedded-community/usb-device/compare/v0.1.0...v0.2.0

0 commit comments

Comments
 (0)