commit 5af46fd41688403c9a5a065321085bb449518b3e parent fae9b4b0fdc783f6e7e2f66dea52f276f964d51b Author: mauricefisher64 <92736594+mauricefisher64@users.noreply.github.com> Date: Thu, 2 Mar 2023 15:49:00 -0500 Fix issue where value was inadvertently included in Exclusion structure (#197) Co-authored-by: Eric Scouten <scouten@adobe.com> Diffstat:
| M | sdk/src/utils/hash_utils.rs | | | 4 | +++- |
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/sdk/src/utils/hash_utils.rs b/sdk/src/utils/hash_utils.rs @@ -36,7 +36,9 @@ const MAX_HASH_BUF: usize = 256 * 1024 * 1024; // cap memory usage to 256MB pub struct Exclusion { start: usize, length: usize, - bmff_offset: Option<u64>, // optional offset position to include in BMFF_V2 hashes in BE format + + #[serde(skip)] + bmff_offset: Option<u64>, // optional tracking of offset positions to include in BMFF_V2 hashes in BE format } impl Exclusion {