oxmpl 0.4.1

The Open Motion-Planning Library but Oxidised
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright (c) 2025 Ross Gardiner
//
// SPDX-License-Identifier: BSD-3-Clause

//! Time utilities that work across different targets including WASM.

pub use std::time::Duration;

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

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