c2pa-rs

A fork of https://github.com/contentauth/c2pa-rs/
git clone git://archive.git.mtrnord.blog/mtrnords-photography-manager/c2pa-rs.git
Log | Files | Refs | README

commit 362880eac85af52a734508f563fe97cbb5c7200d
parent f48cb7d282ce4e7f43d8b72f11e4f5179bdb6503
Author: Dave Kozma <dkozma@adobe.com>
Date:   Wed, 21 Jun 2023 15:42:04 -0400

Add `Send` to `CAIRead` trait so that it can be used across threads (#271)


Diffstat:
Msdk/src/asset_io.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sdk/src/asset_io.rs b/sdk/src/asset_io.rs @@ -40,7 +40,7 @@ pub struct HashObjectPositions { pub htype: HashBlockObjectType, // type of hash block object } /// CAIReader trait to insure CAILoader method support both Read & Seek -pub trait CAIRead: Read + Seek {} +pub trait CAIRead: Read + Seek + Send {} impl CAIRead for std::fs::File {} impl CAIRead for std::io::Cursor<&[u8]> {}