refactor(jans-cedarling): improve WASM compatibility #10330
Labels
comp-jans-cedarling
Touching folder /jans-cedarling
enhancement
kind-enhancement
Issue or PR is an enhancement to an existing functionality
Milestone
Is your feature request related to a problem? Please describe.
Cedarling can't compile to WASM because of
std::time
.reqwest::blocking::Client
Describe the solution you'd like
chrono
crate could be used instead ofstd::time
to fetch the time since it has WASM support.reqwest::Client
with thetokio
runtime to remove the blocking api.Describe alternatives you've considered
An alternative solution is to write our own interface to the JS Date API.
Additional context
N/A
The text was updated successfully, but these errors were encountered: