RevocationList2020
This library provides the implementation for the RevocationList2020
proposal described here.
Demo
The following demo uses the wasm library on a web page.
To run the demo locally, build the javascript library using:
wasm-pack build --target web --debug
and then launch a local web server, for example using python:
python3 -m http.server 7654
Usage/Examples
The following example shows how to use the library with Rust.
https://github.com/noandrea/rl2020.rs/blob/aa3b2f099c6faa9f2ad45618cc3b0d4ae6bc0f4e/examples/main.rs#L5-L33
To run the example locally use the command:
cargo run --example main
Running Tests
To run tests, run the following command
cargo test
Installation
Rust
The rust library is published on crates.io
Npm
The wasm library is published on npmjs