As it is, this package does not work with the wasm32-unknown-unknown target. This adds support for it by bringing in an optional dependency on wasm-timer that implements an equivalent of the SystemTime type using JS's DateTime.now() under the hood.
This PR also adds a js feature that will enable said support. This is similar to what the uuid package does.
As it is, this package does not work with the wasm32-unknown-unknown target. This adds support for it by bringing in an optional dependency on wasm-timer that implements an equivalent of the
SystemTime
type using JS'sDateTime.now()
under the hood. This PR also adds ajs
feature that will enable said support. This is similar to what the uuid package does.