[][src]Crate did_rs

Implements a parser for decentralized identifiers.

Given the fact that the spec is still in draft this module implements the parser using pest, leading to less than ideal

  • but still quite ok - performance. This allows for quicker changes adjusting to the spec.

When the spec is out of draft stage the parsing backend will be reimplemented using something like nom. However, the public interface should remain the same.

Examples

use did_rs::DID;
let d = DID::parse()

Structs

DID

Decentralized identifier as specified in the spec.

Enums

Rule