airgap-it / tezos-rust-sdk

MIT License
20 stars 10 forks source link

chrono: disable default features (std only), fix deprecated call #2

Closed m-kus closed 1 year ago

m-kus commented 1 year ago

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.

RomarQ commented 1 year ago

The change has been merged to the develop branch. https://github.com/airgap-it/tezos-rust-sdk/commit/8fd6805b3e186eef29adf844cc12710f5baca2cf

Thanks for the contribution.