Skip to main content

dpp_digital_link/
lib.rs

1//! `dpp-digital-link` — GS1 Digital Link parsing, AAS mapping, JSON-LD, and link-type
2//! negotiation.
3//!
4//! Pure, stateless crate with no I/O or network dependencies. Compiles to both
5//! `std` and `wasm32`.
6
7pub mod aas;
8pub mod digital_link;
9pub mod jsonld;
10pub mod linktype;
11
12pub use aas::{
13    AasCollection, AasDataType, AasProperty, AasReference, AasSemId, AasSemIdKey, AasShell,
14    AasSubmodel, AasSubmodelElement, AasSubmodelRef, AssetInformation, SpecificAssetId,
15    SubmodelTemplate, boolean_property, build_aas_from_passport, double_property, integer_property,
16    map_dpp_to_aas_submodel, placeholder_templates, sector_submodel_template, semantic_ids,
17    string_property,
18};
19pub use digital_link::{
20    AI_TABLE, AiDescriptor, AiRole, DigitalLink, DigitalLinkError, ai_descriptor, build_qr_url,
21    validate_gtin,
22};
23pub use linktype::{
24    AccessTier, DppMediaType, Gs1LinkType, LinkDescriptor, ResolutionRequest, negotiate,
25};