1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
cre8-util-legal-text crates cargo crate
Statute text as data: the cre8.legal.statute-section.v1 contract, its canonical hash form, and the structural parser for statute text.
1workspace deps
2direct dependents
68transitive dependents
3calls out
52calls in
324call-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
File call graph
Resolved calls between this crate's files, callers left of callees.
Heaviest functions
By call-graph weight (PageRank; 1.0 is the average function). 301 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Stream::ssrc/scan.rs:92 | method | 3 | 1 | 36 | 0 | 15.3 | |
| Stream::issrc/scan.rs:109 | method | 3 | 2 | 17 | 1 | 9.1 | |
| canonical_textsrc/canonical.rs:24 | fn | 10 | 1 | 9 | 0 | 8.9 | |
| content_sha256src/canonical.rs:36 | fn | 4 | 1 | 6 | 1 | 6.9 | |
| path_labelsrc/parsed.rs:77 | fn | 3 | 1 | 10 | 0 | 6.7 | |
| StatuteSection::newsrc/section.rs:119 | method | 27 | 1 | 10 | 1 | 5.6 | |
| Stream::seqsrc/scan.rs:129 | method | 8 | 3 | 21 | 1 | 4.8 | |
| Stream::newsrc/scan.rs:50 | method | 36 | 13 | 8 | 0 | 4.4 | |
| section_idsrc/section.rs:25 | fn | 3 | 1 | 7 | 0 | 3.8 | |
| Stream::kindsrc/scan.rs:96 | method | 3 | 1 | 3 | 0 | 3.7 | |
| parse_profilessrc/profile.rs:253 | fn | 12 | 3 | 9 | 0 | 3.1 | |
| Stream::is_anysrc/scan.rs:114 | method | 3 | 1 | 19 | 1 | 2.8 | |
| citessrc/citation.rs:720 | fn | 12 | 1 | 5 | 3 | 2.6 | |
| to_romansrc/structure.rs:237 | fn | 11 | 3 | 1 | 0 | 2.6 | |
| code_idsrc/section.rs:30 | fn | 3 | 1 | 7 | 0 | 2.5 | |
| Ladder::parenthesizedsrc/structure.rs:78 | method | 14 | 1 | 4 | 0 | 2.5 | |
| roman_valuesrc/structure.rs:215 | fn | 21 | 8 | 1 | 1 | 2.5 | |
| Stream::sentencessrc/scan.rs:184 | method | 22 | 11 | 6 | 5 | 2.4 | |
| robots_pattern_matchessrc/robots.rs:283 | fn | 23 | 7 | 1 | 0 | 2.4 | |
| Stream::adjacentsrc/scan.rs:139 | method | 6 | 2 | 8 | 0 | 2.4 | |
| label_candidatessrc/structure.rs:252 | fn | 43 | 18 | 4 | 1 | 2.3 | |
| parse_formsrc/structure.rs:151 | fn | 34 | 14 | 2 | 0 | 2.3 | |
| RobotsRules::is_allowedsrc/robots.rs:199 | method | 19 | 8 | 10 | 1 | 2.3 | |
| csv_recordssrc/local_registry.rs:320 | fn | 30 | 13 | 3 | 0 | 2.3 | |
| Ladder::candidatessrc/structure.rs:141 | method | 6 | 1 | 4 | 2 | 2.2 | |
| readsrc/penalty.rs:954 | fn | 15 | 1 | 4 | 2 | 2.2 | |
| Tree::buildsrc/structure.rs:450 | method | 94 | 20 | 3 | 5 | 2.1 | |
| pathssrc/structure.rs:820 | fn | 3 | 1 | 10 | 1 | 2.1 | |
| build_local_registrysrc/local_registry.rs:91 | fn | 23 | 4 | 1 | 5 | 2 | |
| rowsrc/local_codes.rs:1157 | fn | 14 | 1 | 2 | 0 | 2 | |
| clean_headingsrc/html_reader.rs:361 | fn | 4 | 1 | 3 | 0 | 2 | |
| containersrc/citation.rs:59 | fn | 3 | 1 | 5 | 0 | 1.9 | |
| Ladder::from_profilesrc/structure.rs:95 | method | 13 | 3 | 3 | 1 | 1.9 | |
| expand_templatesrc/html_reader.rs:180 | fn | 26 | 5 | 4 | 0 | 1.8 | |
| state_cousub_keysrc/local_registry.rs:249 | fn | 3 | 2 | 3 | 0 | 1.8 | |
| RobotsRules::parsesrc/robots.rs:87 | method | 87 | 21 | 9 | 4 | 1.8 | |
| ordinances_bodysrc/local_codes.rs:312 | fn | 114 | 8 | 3 | 4 | 1.8 | |
| Stream::is_numsrc/scan.rs:104 | method | 3 | 1 | 11 | 1 | 1.8 | |
| registrysrc/local_registry.rs:364 | fn | 10 | 1 | 3 | 1 | 1.8 | |
| Stream::is_wordsrc/scan.rs:100 | method | 3 | 1 | 5 | 1 | 1.7 |
Outside the workspace
serde serde_json sha2