Skip to content

Commit 851ea5c

Browse files
author
HeroicKatora
authored
Merge pull request #263 from image-rs/release-0.3.0
Add Changelog for Version 0.3
2 parents 1aace07 + 071bca9 commit 851ea5c

File tree

4 files changed

+24
-12
lines changed

4 files changed

+24
-12
lines changed

.github/workflows/rust.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
rust: ["1.56.0", stable, beta, nightly]
15+
rust: ["1.61.0", stable, beta, nightly]
1616
features: ["", "rayon"]
1717
command: [test, benchmark]
1818

@@ -29,12 +29,12 @@ jobs:
2929
- name: test
3030
run: >
3131
cargo test --tests --benches --no-default-features --features "$FEATURES"
32-
if: ${{ matrix.command == 'test' && matrix.rust != '1.56.0' }}
32+
if: ${{ matrix.command == 'test' && matrix.rust != '1.61.0' }}
3333
env:
3434
FEATURES: ${{ matrix.features }}
3535
- name: benchmark
3636
run: cargo bench --bench decoding_benchmark --no-default-features --features "$FEATURES" -- --warm-up-time 1 --measurement-time 1 --sample-size 25
37-
if: ${{ matrix.command == 'benchmark' && matrix.rust != '1.56.0' }}
37+
if: ${{ matrix.command == 'benchmark' && matrix.rust != '1.61.0' }}
3838
env:
3939
FEATURES: ${{ matrix.features }}
4040

@@ -81,10 +81,10 @@ jobs:
8181
- name: Install wasm-bindgen
8282
run: >
8383
curl -L "$WASMBINDGEN_UPSTREAM"
84-
| tar xzf - --strip-components=1 wasm-bindgen-0.2.82-x86_64-unknown-linux-musl/wasm-bindgen-test-runner
84+
| tar xzf - --strip-components=1 wasm-bindgen-0.2.83-x86_64-unknown-linux-musl/wasm-bindgen-test-runner
8585
&& sudo mv wasm-bindgen-test-runner /usr/bin/wasm-bindgen-test-runner
8686
env:
87-
WASMBINDGEN_UPSTREAM: https://github.com/rustwasm/wasm-bindgen/releases/download/0.2.82/wasm-bindgen-0.2.82-x86_64-unknown-linux-musl.tar.gz
87+
WASMBINDGEN_UPSTREAM: https://github.com/rustwasm/wasm-bindgen/releases/download/0.2.83/wasm-bindgen-0.2.83-x86_64-unknown-linux-musl.tar.gz
8888
- name: Installing Rust toolchain
8989
uses: actions-rs/toolchain@v1
9090
with:
@@ -95,7 +95,7 @@ jobs:
9595
- name: Test
9696
run: |
9797
cargo update
98-
cargo update -p wasm-bindgen --precise 0.2.82
98+
cargo update -p wasm-bindgen --precise 0.2.83
9999
cargo test -vv --target wasm32-unknown-unknown
100100
env:
101101
CARGO_TARGET_WASM32_UNKNOWN_UNKNOWN_RUNNER: wasm-bindgen-test-runner

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## v0.3.0 (2022-10-17)
6+
7+
- The MSRV policy is now managed by the `rust-version` field in `Cargo.toml`.
8+
- The color transform can now be overridden as well as hinted with
9+
`Decoder::set_color_transform`.
10+
511
## v0.2.6 (2022-05-09)
612

713
- Another fix to allow usage in WASM target.

Cargo.toml

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,20 @@
11
[package]
22
name = "jpeg-decoder"
3-
version = "0.2.6"
4-
authors = ["The image-rs Developers"]
3+
version = "0.3.0"
4+
edition = "2018"
5+
resolver = "2"
6+
7+
rust-version = "1.61.0"
8+
9+
license = "MIT / Apache-2.0"
510
description = "JPEG decoder"
11+
authors = ["The image-rs Developers"]
12+
readme = "README.md"
13+
614
documentation = "https://docs.rs/jpeg-decoder"
715
repository = "https://github.com/image-rs/jpeg-decoder"
8-
readme = "README.md"
916
keywords = ["jpeg", "jpg", "decoder", "image"]
10-
license = "MIT / Apache-2.0"
1117
exclude = ["/tests/*", "!/tests/*.rs"]
12-
edition = "2018"
1318

1419
[dependencies]
1520
rayon = { version = "1.5.1", optional = true }
@@ -19,6 +24,7 @@ png = "0.16"
1924
walkdir = "2.0"
2025
criterion = "0.3"
2126
wasm-bindgen-test = "0.3"
27+
wasm-bindgen = "=0.2.83"
2228

2329
[features]
2430
default = ["rayon"]

rust-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.56.0
1+
1.61.0

0 commit comments

Comments
 (0)