This simple crate tests that jwt-compact
builds and can be used in WASM.
Note that chrono
and getrandom
crates need to be configured in Cargo.toml
in order to work with the WASM target:
[dependencies]
chrono = { version = "0.4.22", features = ["wasmbind"] }
getrandom = { version = "0.2", features = ["js"] }