did-rs 0.1.5

Implements a parser for decentralized identifiers
Documentation

did

Implements a parser for decentralized identifiers. Uses pest for now to define the grammar of the generic scheme defined in the specification. This will be changed in the future to something more performant like nom.

Usage

use did_rs::DID;

fn main() {
    let d = DID::parse("did:example:").expect("failed");
    println!("{}", d);
}