Skip to content

Commit

Permalink
Allow both image 0.24 & 0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
alpine-alpaca committed Jul 21, 2024
1 parent 78d3a56 commit 2955d81
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ jobs:
run: cargo test --all-features --verbose
- name: Run clippy
run: cargo clippy --all-features -- -D warnings
- name: Test with image 0.24
run: cargo update -p image --precise 0.24.9 && cargo test --all-features --verbose
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ utils = []
bitflags = "2"
byteorder = "1.3"
flate2 = "1.0"
image = { version = "0.24", default-features = false }
image = { version = ">= 0.24, < 0.26", default-features = false }
log = "0.4"
nohash = "0.2"

[dev-dependencies]
image = { version = "0.24", default-features = false, features = ["png"] }
image = { version = ">= 0.24, < 0.26", default-features = false, features = ["png"] }
rand = ">=0.7, <0.9"
rect_packer = "0.2"

0 comments on commit 2955d81

Please sign in to comment.