Skip to content

ureeves/did.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
}

About

Implements a parser for decentralized identifiers.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Languages