1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//! C2PA (Coalition for Content Provenance and Authenticity) support
//!
//! This module provides types and utilities for working with C2PA manifests
//! and assets in machine learning contexts. C2PA is a standard for establishing
//! the provenance and authenticity of digital content.
//!
//! # Key Components
//!
//! - **ManifestId**: Unique identifiers for C2PA manifests
//! - **ManifestMetadata**: Metadata structure for manifests
//! - **AssetType**: Classification of ML assets (models, datasets, etc.)
//! - **DateTimeWrapper**: Time handling with validation
//!
//! # Example
//!
//! ```rust
//! use atlas_common::c2pa::{
//! ManifestId, ManifestMetadata, ManifestType,
//! determine_asset_type, AssetKind
//! };
//! use std::path::Path;
//!
//! // Create a manifest ID
//! let id = ManifestId::new();
//! println!("URN: {}", id.as_urn());
//!
//! // Determine asset type
//! let model_path = Path::new("model.onnx");
//! let asset_type = determine_asset_type(model_path, AssetKind::Model)?;
//! # Ok::<(), atlas_common::Error>(())
//! ```
pub use ;
pub use DateTimeWrapper;
pub use ;