macaroons-rs
macaroons-rs copied to clipboard
proviede some examples
Would you mind to provide some basic simple examples?
I've been reluctant to document the library or create examples in the current form because I wanted to make some pretty substantial API changes first.
There's now a new V2 format for Macaroons:
https://groups.google.com/forum/#!msg/macaroons/EIDUZQoelq8/KnbVukmGBQAJ
I wanted to get the library into a form where the V2 Macaroons format could be added but both the V1 and V2 formats could be supported.
Additionally I just did a pretty substantial cleanup to the error handling.
All that said, documentation and examples coming soon!