1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off
cre8-util-secret crates cargo crate
SecretString — String newtype that masks Debug output, refuses Serialize, and best-effort zeroizes on drop. Sixth crate in the cre8-util-* tier. Pure std.
0workspace deps
19direct dependents
210transitive dependents
0calls out
249calls in
65.7call-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). 16 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| SecretString::newsrc/lib.rs:32 | method | 3 | 1 | 117 | 0 | 32.6 | |
| SecretString::expose_secretsrc/lib.rs:39 | method | 3 | 1 | 142 | 0 | 26.2 | |
| SecretString::is_emptysrc/lib.rs:45 | method | 3 | 1 | 0 | 0 | 0.5 | |
| SecretString::lensrc/lib.rs:51 | method | 3 | 1 | 0 | 0 | 0.5 | |
| SecretString::fmtsrc/lib.rs:57 | trait impl | 5 | 1 | 0 | 0 | 0.5 | |
| SecretString::dropsrc/lib.rs:72 | trait impl | 16 | 2 | 0 | 0 | 0.5 | |
| SecretString::clonesrc/lib.rs:91 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| SecretString::fromsrc/lib.rs:97 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| SecretString::fromsrc/lib.rs:103 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| SecretString::eqsrc/lib.rs:114 | trait impl | 10 | 3 | 0 | 0 | 0.5 | |
| debug_does_not_leak_valuesrc/lib.rs:133 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| expose_secret_returns_valuesrc/lib.rs:144 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| is_empty_and_lensrc/lib.rs:150 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| from_str_and_stringsrc/lib.rs:161 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| equality_is_value_basedsrc/lib.rs:168 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| clone_produces_independent_secretsrc/lib.rs:180 | fn | 8 | 1 | 0 | 2 | 0.5 |