fast image operations
| -rw-r--r-- | Cargo.toml | 2 | ||||
| -rw-r--r-- | src/lib.rs | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -1,6 +1,6 @@ [package] name = "fimg" -version = "0.2.0" +version = "0.2.1" authors = ["bend-n <[email protected]>"] license = "MIT" edition = "2021" @@ -239,6 +239,7 @@ impl<const CHANNELS: usize> Image<Vec<u8>, CHANNELS> { macro_rules! save { ($channels:literal == $clr:ident ($clrhuman:literal)) => { impl Image<Vec<u8>, $channels> { + #[cfg(feature = "save")] #[doc = "Save this "] #[doc = $clrhuman] #[doc = " image."] |