Skip to content

Commit

Permalink
bugfix: Fix CI errors
Browse files Browse the repository at this point in the history
- Remove the default features of the image crate.
- Remove exr from pinned deps
- Fix macro positioning
- Allow for clippy false positive

Signed-off-by: John Nunley <[email protected]>
  • Loading branch information
notgull authored Jun 22, 2024
1 parent d80ef86 commit ef60557
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
components: rustfmt
- name: Check Formatting
run: cargo +stable fmt --all -- --check
- uses: taiki-e/install-action@v2
- uses: taiki-e/install-action@v2
with:
tool: typos-cli
- name: Check Formatting
Expand Down Expand Up @@ -88,10 +88,9 @@ jobs:
- name: Pin deps that break MSRV
if: matrix.rust_version == '1.70.0'
run: |
cargo update -p exr --precise 1.71.0
cargo update -p ahash --precise 0.8.7
cargo update -p bumpalo --precise 3.14.0
- name: Build crate
shell: bash
run: cargo $CMD build --verbose --target ${{ matrix.platform.target }} $OPTIONS --features $FEATURES
Expand Down
1 change: 0 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ features = ["jpeg"]

[target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies]
# Turn rayon back on everywhere else; creating the separate entry resets the features to default.
image = "0.25.0"
rayon = "1.5.1"

[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![doc = include_str!("../README.md")]
#![allow(clippy::needless_doctest_main)]
#![deny(unsafe_op_in_unsafe_fn)]
#![warn(missing_docs)]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
Expand Down

0 comments on commit ef60557

Please sign in to comment.