diff --git a/Cargo.toml b/Cargo.toml index 52eff39..c5e2764 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fimg" -version = "0.2.0" +version = "0.2.1" authors = ["bend-n "] license = "MIT" edition = "2021" diff --git a/src/lib.rs b/src/lib.rs index c8a2e34..59cd542 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -239,6 +239,7 @@ impl Image, CHANNELS> { macro_rules! save { ($channels:literal == $clr:ident ($clrhuman:literal)) => { impl Image, $channels> { + #[cfg(feature = "save")] #[doc = "Save this "] #[doc = $clrhuman] #[doc = " image."]