You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. wasm-bindgen 0.2.86 effectively breaks the stdweb library, which is a pretty old library that is an optional dependency of instant. While instant still currently works, as long as that stdweb feature isn't enabled, it hasn't seen updates in a while and apparently has 2 critical issues, according to a long discussion post in the rust discord.
Describe the solution you'd like
Apparently, however, a new library meant as a drop-in replacement to instant now exists, called web-time (github), which aims to have greater similarity with sys::time. I have tried it in one of my projects, and it seems to work just fine. Like instant, it reverts to using sys::time if not in the browser.
Describe alternatives you've considered
The main option would be to continue using instant, being aware that the stdweb feature shouldn't be enabled.
Additional context
Github issue with stdweb and wasm-bindgen
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
wasm-bindgen 0.2.86
effectively breaks thestdweb
library, which is a pretty old library that is an optional dependency ofinstant
. Whileinstant
still currently works, as long as thatstdweb
feature isn't enabled, it hasn't seen updates in a while and apparently has 2 critical issues, according to a long discussion post in the rust discord.Describe the solution you'd like
Apparently, however, a new library meant as a drop-in replacement to instant now exists, called
web-time
(github), which aims to have greater similarity withsys::time
. I have tried it in one of my projects, and it seems to work just fine. Likeinstant
, it reverts to usingsys::time
if not in the browser.Describe alternatives you've considered
The main option would be to continue using
instant
, being aware that thestdweb
feature shouldn't be enabled.Additional context
Github issue with
stdweb
andwasm-bindgen
The text was updated successfully, but these errors were encountered: