Registry / utility / trice

trice

JSON →
library0.4.0rscratesunverified

A minimal replacement for std::time::Instant that works in WASM for web and Node.js.

utilityasync
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

use trice::Instant;

Measures elapsed time using trice::Instant.

use trice::Instant; fn main() { let start = Instant::now(); // ... do something ... let elapsed = start.elapsed(); println!("Elapsed: {:?}", elapsed); }
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
30 hits · last 30 days
petalbot
6
gptbot
3
amazonbot
3
bytedance
3
claudebot
3
mj12bot
1
Resources