File tree Expand file tree Collapse file tree 8 files changed +71
-68
lines changed Expand file tree Collapse file tree 8 files changed +71
-68
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ name : CI
2
+
3
+ on : [push, pull_request]
4
+
5
+ jobs :
6
+ rustfmt :
7
+ name : Check formatting
8
+ runs-on : ubuntu-latest
9
+ steps :
10
+ - uses : actions/checkout@v4
11
+ - uses : dtolnay/rust-toolchain@stable
12
+ with :
13
+ components : rustfmt
14
+ - run : cargo fmt --check
15
+
16
+ tests :
17
+ name : Tests (stable)
18
+ runs-on : ubuntu-latest
19
+ steps :
20
+ - uses : actions/checkout@v4
21
+ - uses : dtolnay/rust-toolchain@stable
22
+ - run : cargo test
23
+
24
+ tests-msrv :
25
+ name : Tests (MSRV)
26
+ runs-on : ubuntu-latest
27
+ steps :
28
+ - uses : actions/checkout@v4
29
+
30
+ - run : cargo test
31
+
32
+ build-no_std :
33
+ name : Build no_std
34
+ runs-on : ubuntu-latest
35
+ steps :
36
+ - uses : actions/checkout@v4
37
+ - uses : dtolnay/rust-toolchain@stable
38
+ with :
39
+ target : thumbv7m-none-eabi
40
+ - run : cargo build --target thumbv7m-none-eabi
41
+
42
+ build-benches :
43
+ name : Build benches
44
+ runs-on : ubuntu-latest
45
+ steps :
46
+ - uses : actions/checkout@v4
47
+ - uses : dtolnay/rust-toolchain@stable
48
+ - run : cargo bench --no-run
49
+
50
+ check-readme :
51
+ name : Check readme
52
+ runs-on : ubuntu-latest
53
+ steps :
54
+ - uses : taiki-e/install-action@just
55
+ - uses : taiki-e/install-action@v2
56
+ with :
57
+ tool : cargo-readme
58
+ - uses : actions/checkout@v4
59
+ - uses : dtolnay/rust-toolchain@stable
60
+ - run : just check-readme
Original file line number Diff line number Diff line change 6
6
7
7
## [ Unreleased] - ReleaseDate
8
8
9
- - [ # 46 ] ( https://github.com/embedded-graphics/tinybmp/pull/46 ) ` Bmp::from_slice ` is now ` const ` , so BMPs can be put in ` const ` s and ` static ` s.
9
+ ### Changed
10
10
11
- - [ #47 ] ( https://github.com/embedded-graphics/tinybmp/pull/47 ) Ignore compressed data length on RGB compression mehod
11
+ - ** (breaking)** [ #49 ] ( https://github.com/embedded-graphics/tinybmp/pull/41 ) Use 1.81 as the MSRV.
12
+ - [ #46 ] ( https://github.com/embedded-graphics/tinybmp/pull/46 ) ` Bmp::from_slice ` is now ` const ` , so BMPs can be put in ` const ` s and ` static ` s.
13
+ - [ #47 ] ( https://github.com/embedded-graphics/tinybmp/pull/47 ) Ignore compressed data length on RGB compression method.
12
14
13
15
## [ 0.6.0] - 2024-06-11
14
16
15
17
### Added
16
18
17
- - [ #41 ] ( https://github.com/embedded-graphics/tinybmp/pull/41 ) Added support for RLE8 and RLE4 encoded bitmaps
19
+ - [ #41 ] ( https://github.com/embedded-graphics/tinybmp/pull/41 ) Added support for RLE8 and RLE4 encoded bitmaps.
18
20
19
21
### Changed
20
22
Original file line number Diff line number Diff line change @@ -12,13 +12,9 @@ readme = "./README.md"
12
12
license = " MIT OR Apache-2.0"
13
13
exclude = [
14
14
" /.github/" ,
15
- " /.circleci/" ,
16
15
" .gitignore" ,
17
16
]
18
17
19
- [badges ]
20
- circle-ci = { repository = " embedded-graphics/tinybmp" , branch = " master" }
21
-
22
18
[[test ]]
23
19
name = " embedded_graphics"
24
20
@@ -36,4 +32,4 @@ embedded-graphics = "0.8.0"
36
32
[dev-dependencies ]
37
33
clap = { version = " 3.1.6" , features = [" derive" ] }
38
34
criterion = " 0.3.5"
39
- embedded-graphics-simulator = " 0.5.0"
35
+ embedded-graphics-simulator = { version = " 0.5.0" , default-features = false }
Original file line number Diff line number Diff line change 1
1
# TinyBMP
2
2
3
- [ ![ Build Status] ( https://circleci .com/gh/ embedded-graphics/tinybmp/tree/master. svg?style=shield )] ( https://circleci .com/gh/ embedded-graphics/tinybmp/tree/master )
3
+ [ ![ CI Status] ( https://github .com/embedded-graphics/tinybmp/actions/workflows/ci.yml/badge. svg )] ( https://github .com/embedded-graphics/tinybmp/actions/workflows/ci.yml )
4
4
[ ![ Crates.io] ( https://img.shields.io/crates/v/tinybmp.svg )] ( https://crates.io/crates/tinybmp )
5
5
[ ![ Docs.rs] ( https://docs.rs/tinybmp/badge.svg )] ( https://docs.rs/tinybmp )
6
6
[ ![ embedded-graphics on Matrix] ( https://img.shields.io/matrix/rust-embedded-graphics:matrix.org )] ( https://matrix.to/#/#rust-embedded-graphics:matrix.org )
@@ -131,7 +131,7 @@ assert_eq!(pixel, Some(0xFFFFFFu32));
131
131
132
132
## Minimum supported Rust version
133
133
134
- The minimum supported Rust version for tinybmp is ` 1.71 ` or greater. Ensure you have the correct
134
+ The minimum supported Rust version for tinybmp is ` 1.81 ` or greater. Ensure you have the correct
135
135
version of Rust installed, preferably through < https://rustup.rs > .
136
136
137
137
[ `Bmp` ] : https://docs.rs/tinybmp/latest/tinybmp/struct.Bmp.html
Original file line number Diff line number Diff line change 1
1
# TinyBMP
2
2
3
- [](https://circleci .com/gh/ embedded-graphics/tinybmp/tree/master )
3
+ [](https://github .com/embedded-graphics/tinybmp/actions/workflows/ci.yml )
4
4
[](https://crates.io/crates/tinybmp)
5
5
[](https://docs.rs/tinybmp)
6
6
[](https://matrix.to/#/#rust-embedded-graphics:matrix.org)
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ Target audience: crate maintainers who wish to release `tinybmp`.
7
7
## On GitHub
8
8
9
9
- Check that all desired PRs are merged and all desired issues are closed/resolved.
10
- - Check that the latest master build passed in CircleCI .
10
+ - Check that the latest main branch build passed all CI tests .
11
11
12
12
## On your local machine
13
13
Original file line number Diff line number Diff line change 133
133
//!
134
134
//! # Minimum supported Rust version
135
135
//!
136
- //! The minimum supported Rust version for tinybmp is `1.71 ` or greater. Ensure you have the correct
136
+ //! The minimum supported Rust version for tinybmp is `1.81 ` or greater. Ensure you have the correct
137
137
//! version of Rust installed, preferably through <https://rustup.rs>.
138
138
//!
139
139
//! <!-- README-LINKS
You can’t perform that action at this time.
0 commit comments