ringgrid 0.5.6

Pure-Rust detector for coded ring calibration targets
Documentation
1
2
3
4
5
6
7
8
9
10
//! Platform-compatible `Instant` for pipeline timing.
//!
//! On native targets, re-exports `std::time::Instant`.
//! On WASM, uses `web_time::Instant` which delegates to `performance.now()`.

#[cfg(not(target_arch = "wasm32"))]
pub(crate) use std::time::Instant;

#[cfg(target_arch = "wasm32")]
pub(crate) use web_time::Instant;