commit b57a87c56ad1d6e96a4592b0bd2e4b1b3bf26fa1
parent ffa1d553a7e2a5e64bd7fcfaac9b4af40d622f5f
Author: Eric Scouten <scouten@adobe.com>
Date: Thu, 21 Jul 2022 15:11:55 -0700
(MINOR) PR #87 should have been flagged for breaking API compatibility (#88)
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/sdk/src/manifest.rs b/sdk/src/manifest.rs
@@ -36,7 +36,8 @@ use std::path::Path;
use uuid::Uuid;
/// Function that is used by serde to determine whether or not we should serialize
-/// thumbnail data based on the "serialize_thumbnails" flag (serialization is disabled by default)
+/// thumbnail data based on the `serialize_thumbnails` flag.
+/// (Serialization is disabled by default.)
fn skip_serializing_thumbnails(value: &Option<(String, Vec<u8>)>) -> bool {
!cfg!(feature = "serialize_thumbnails") || value.is_none()
}