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-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
215transitive dependents
0calls out
252calls in
66.4call-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 | 118 | 0 | 32.8 | |
| SecretString::expose_secretsrc/lib.rs:39 | method | 3 | 1 | 144 | 0 | 26.7 | |
| 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 |