1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 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
231direct dependents
282transitive dependents
0calls out
2,282calls in
768call-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 | 1116 | 0 | 453 | |
| now_ms_i64src/lib.rs:41 | fn | 3 | 1 | 660 | 1 | 105 | |
| now_secssrc/lib.rs:46 | fn | 3 | 1 | 223 | 1 | 93.6 | |
| Timestamp::elapsedsrc/lib.rs:29 | method | 3 | 1 | 142 | 1 | 39.2 | |
| Timestamp::elapsed_mssrc/lib.rs:24 | method | 3 | 1 | 12 | 1 | 34.8 | |
| now_nanossrc/lib.rs:56 | fn | 3 | 1 | 35 | 1 | 20.3 | |
| 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.4 | |
| 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