borntyping / rust-simple_logger

A rust logger that prints all messages with a readable output format.
https://crates.io/crates/simple_logger
MIT License
220 stars 48 forks source link

Build error on WebAsssembly #82

Closed riidefi closed 8 months ago

riidefi commented 11 months ago

Please update your time dependency

https://github.com/time-rs/time/blob/main/CHANGELOG.md#fixed-5 https://github.com/time-rs/time/blob/main/CHANGELOG.md#0313-2022-08-09

borntyping commented 11 months ago

simple_logger's dependencies should allow you to upgrade to time 0.3.18. It depends on ^0.3.16 which expands to >= 0.3.16, < 0.4.0 [1].

I've not used cargo in a while, but I belive cargo update should upgrade time and failing that I would try cargo update --package simple_logger --aggressive to specifically instruct it to upgrade simple_logger's dependencies.