Skip to main content

Crate dpp_digital_link

Crate dpp_digital_link 

Source
Expand description

dpp-digital-link — GS1 Digital Link parsing and building, and GS1 link-type negotiation.

Pure, stateless crate with no I/O or network dependencies. Compiles to both std and wasm32.

This crate previously also carried AAS mapping and a JSON-LD context behind its name. Both have moved out — the AAS projection to dpp-aas, the JSON-LD context to dpp-vc — and neither is reachable from here, which is the point: a consumer that wants a GS1 parser no longer compiles an AAS mapper to get one.

Re-exports§

pub use digital_link::AI_TABLE;
pub use digital_link::AiDescriptor;
pub use digital_link::AiRole;
pub use digital_link::DigitalLinkError;
pub use digital_link::ai_descriptor;
pub use digital_link::build_qr_url;
pub use digital_link::short_serial;
pub use digital_link::validate_gtin;
pub use linktype::DppMediaType;
pub use linktype::Gs1LinkType;
pub use linktype::LinkDescriptor;
pub use linktype::ResolutionRequest;
pub use linktype::negotiate;

Modules§

digital_link
GS1 Digital Link parser, builder, and GTIN utilities.
linktype
GS1 Digital Link link-type negotiation.

Enums§

Audience
Re-export the canonical access vocabulary from dpp-domain. Who is asking for passport data.