mln-rs-util 0.0.17

Part of mln-rs, a Rust port of the MapLibre Native map rendering core. Depend on mln-rs instead.
Documentation
1
2
3
4
5
6
7
// Port-only: the clocks of std::time. On wasm32-unknown-unknown (the browser
// build) std's `Instant::now()` and `SystemTime::now()` panic, as there is no
// OS clock; web-time reads `performance.now()` and `Date.now()` there and
// re-exports std::time everywhere else. Every crate reads the clocks through
// here.

pub use web_time::{Instant, SystemTime, UNIX_EPOCH};