From fd41988c10c59f29c41e1b014eb6ea26543497f2 Mon Sep 17 00:00:00 2001 From: bendn Date: Tue, 5 Sep 2023 12:37:04 +0700 Subject: [PATCH] fix saveless --- Cargo.toml | 2 +- src/lib.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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."]