chrono crate enables wasmbindgen and clock features by default which leads to import errors when trying to compile for wasm32-unknown-unknown because it treats it as browser target which is not always the case.
In this PR default features are disabled and explicitly specified instead.
Also, a deprecated chrono call is fixed.
chrono
crate enableswasmbindgen
andclock
features by default which leads to import errors when trying to compile for wasm32-unknown-unknown because it treats it as browser target which is not always the case. In this PR default features are disabled and explicitly specified instead. Also, a deprecated chrono call is fixed.