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

mod.rs (1583B)


      1 // Copyright 2022 Adobe. All rights reserved.
      2 // This file is licensed to you under the Apache License,
      3 // Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0)
      4 // or the MIT license (http://opensource.org/licenses/MIT),
      5 // at your option.
      6 
      7 // Unless required by applicable law or agreed to in writing,
      8 // this software is distributed on an "AS IS" BASIS, WITHOUT
      9 // WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or
     10 // implied. See the LICENSE-MIT and LICENSE-APACHE files for the
     11 // specific language governing permissions and limitations under
     12 // each license.
     13 
     14 //! Assertion helpers to build, validate, and parse assertions.
     15 
     16 mod actions;
     17 pub use actions::{c2pa_action, Action, Actions, SoftwareAgent};
     18 
     19 mod bmff_hash;
     20 pub use bmff_hash::{BmffHash, BmffMerkleMap, DataMap, ExclusionsMap, SubsetMap};
     21 
     22 mod box_hash;
     23 pub use box_hash::{BoxHash, BoxMap, C2PA_BOXHASH};
     24 
     25 mod data_hash;
     26 pub use data_hash::DataHash;
     27 
     28 mod creative_work;
     29 pub use creative_work::CreativeWork;
     30 
     31 mod exif;
     32 pub use exif::Exif;
     33 
     34 #[allow(dead_code)] // will become public later
     35 mod ingredient;
     36 pub(crate) use ingredient::{Ingredient, Relationship};
     37 
     38 pub mod labels;
     39 
     40 mod metadata;
     41 pub use metadata::{
     42     c2pa_source, Actor, AssetType, DataBox, DataSource, Metadata, ReviewCode, ReviewRating,
     43 };
     44 
     45 mod schema_org;
     46 pub use schema_org::{SchemaDotOrg, SchemaDotOrgPerson};
     47 
     48 mod thumbnail;
     49 pub(crate) use thumbnail::Thumbnail;
     50 
     51 mod user;
     52 pub(crate) use user::User;
     53 
     54 mod user_cbor;
     55 pub(crate) use user_cbor::UserCbor;
     56 
     57 mod uuid_assertion;
     58 #[allow(unused_imports)]
     59 pub(crate) use uuid_assertion::Uuid;