1 viewer
rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 s · crystals off
cre8-platform-time crates cargo crate
Platform-safe time primitives — now_ms / now_secs / Timestamp / sleep. Works on native AND wasm32 (where std::time panics). First crate in the cre8-platform-* tier (OS/network/clock substrate).
1workspace deps
226direct dependents
277transitive dependents
0calls out
2,178calls in
745call-graph weight
0.0%exact crystals
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Files
lowhigh
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 12 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| now_mssrc/lib.rs:35 | fn | 4 | 1 | 1062 | 0 | 439 | |
| now_ms_i64src/lib.rs:41 | fn | 3 | 1 | 621 | 1 | 97.4 | |
| now_secssrc/lib.rs:46 | fn | 3 | 1 | 219 | 1 | 93.3 | |
| Timestamp::elapsedsrc/lib.rs:29 | method | 3 | 1 | 139 | 1 | 39.1 | |
| Timestamp::elapsed_mssrc/lib.rs:24 | method | 3 | 1 | 12 | 1 | 34.7 | |
| now_nanossrc/lib.rs:56 | fn | 3 | 1 | 31 | 1 | 19 | |
| now_secs_i64src/lib.rs:51 | fn | 3 | 1 | 94 | 1 | 17.4 | |
| sleepsrc/lib.rs:61 | fn | 10 | 1 | 4 | 0 | 1.7 | |
| Timestamp::nowsrc/lib.rs:19 | method | 3 | 1 | 11 | 1 | 1.5 | |
| sleep_mssrc/lib.rs:73 | fn | 3 | 1 | 3 | 1 | 0.9 | |
| timestamp_elapsed_and_epoch_helpers_are_consistentsrc/lib.rs:82 | fn | 11 | 1 | 0 | 8 | 0.5 | |
| zero_duration_sleep_helpers_are_noopssrc/lib.rs:95 | fn | 4 | 1 | 0 | 2 | 0.5 |
Outside the workspace
serde_json