Closed torokati44 closed 1 week ago
Thank you for the quick merge! As with every PR - and especially ones motivated by issues downstream -, I'd highly appreciate a new release on crates.io as soon after merging as possible. ☺️
@torokati44 see #667.
Fixes https://github.com/console-rs/indicatif/issues/665. See: https://crates.io/crates/web-time.
Note that unlike
instant
,web-time
falls back tostd::time
on non-WASM, so this kind of conditional exports are not really necessary:Instead, it could unconditionally be
web_time::Instant
, if makingweb-time
a (really light, to be fair) dependency on non-WASM platforms as well is acceptable. I can update the PR accordingly, if desired.