Skip to content

Commit

Permalink
fix: finally fix re-exporting png (#44)
Browse files Browse the repository at this point in the history
* feat: re-export `png` with feature gate `png`

* ci: check all features

* fix: use absolute path for png crate
  • Loading branch information
mokurin000 authored Feb 14, 2024
1 parent bf26a35 commit 11bf79c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
run: cargo build --verbose --all-features

- name: Run tests
run: cargo test --verbose
run: cargo test --verbose --all-features
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,4 @@ pub use crate::apng::*;
pub use crate::png::*;

#[cfg(feature = "png")]
pub use png as image_png;
pub use ::png as image_png;

0 comments on commit 11bf79c

Please sign in to comment.