Skip to content

Commit

Permalink
add image/default as default feature (#559)
Browse files Browse the repository at this point in the history
* add image/default

* rm --all-features from msrv workflow

* increase msrv
  • Loading branch information
cospectrum authored Mar 16, 2024
1 parent 03e4285 commit a864cb2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
# https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability
strategy:
matrix:
msrv: ["1.67.1"] # 2021 edition requires 1.56
msrv: ["1.70.0"] # 2021 edition requires 1.56
name: ubuntu / ${{ matrix.msrv }}
steps:
- uses: actions/checkout@v4
Expand All @@ -109,7 +109,7 @@ jobs:
with:
toolchain: ${{ matrix.msrv }}
- name: cargo +${{ matrix.msrv }} check
run: cargo check --all-features
run: cargo check
env:
RUSTFLAGS: -D warnings
semver:
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
name = "imageproc"
version = "0.24.0"
authors = ["theotherphil"]
rust-version = "1.67.1"
# note: when changed, also update `msrv` in `.github/workflows/check.yml`
rust-version = "1.70.0"
edition = "2021"
license = "MIT"
description = "Image processing operations"
Expand All @@ -12,7 +13,7 @@ homepage = "https://github.com/image-rs/imageproc"
exclude = ["examples/*.ttf"]

[features]
default = [ "rayon" ]
default = [ "rayon", "image/default" ]
property-testing = [ "quickcheck" ]
display-window = ["sdl2"]

Expand All @@ -35,7 +36,6 @@ getrandom = { version = "0.2", features = ["js"] }

[dev-dependencies]
assert_approx_eq = "1.1.0"
image = "0.25.0"
quickcheck = "1.0.3"
wasm-bindgen-test = "0.3.38"

Expand Down

0 comments on commit a864cb2

Please sign in to comment.