Skip to content

Commit 519abeb

Browse files
committed
Fix std without image feature
1 parent f3b591b commit 519abeb

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/tests.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ jobs:
5656
- name: Check no-default-features
5757
run: cargo check --no-default-features
5858

59+
- name: Check no-default-features with std
60+
run: cargo check --no-default-features --features std
61+
5962
tests:
6063

6164
name: Tests

src/errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use core::str::Utf8Error;
55

66
#[cfg(feature = "images")]
77
use image::ImageError;
8-
#[cfg(feature = "images")]
8+
#[cfg(feature = "std")]
99
use std::io::Error as IOError;
1010

1111
/// Error that can occur when reading and parsing bytes.

0 commit comments

Comments
 (0)