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-doc-spec crates cargo crate
Document spec family — DocumentSpec / RevisionSpec / ProseTake + the recursive DocNode tree they share. Long-form text (papers, novels, articles) sibling to cre8-media-spec. Pure data types, zero runtime deps. (2026-06-02).
0workspace deps
1direct dependents
9transitive dependents
0calls out
9calls in
24.6call-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). 32 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| base_specsrc/outline.rs:129 | fn | 18 | 1 | 2 | 0 | 2.8 | |
| DocNodeKind::heading_levelsrc/tree.rs:141 | method | 3 | 1 | 2 | 0 | 1.9 | |
| paper_outlinesrc/outline.rs:42 | fn | 42 | 1 | 6 | 1 | 1.6 | |
| DocBrief::newsrc/outline.rs:26 | method | 11 | 1 | 6 | 0 | 1.5 | |
| novel_outlinesrc/outline.rs:88 | fn | 39 | 1 | 2 | 1 | 1.1 | |
| ProseLeaf::textsrc/tree.rs:72 | method | 3 | 1 | 1 | 0 | 1.1 | |
| DocNode::collect_leavessrc/tree.rs:216 | method | 10 | 3 | 1 | 0 | 1 | |
| RevNode::select_countsrc/revision.rs:95 | method | 6 | 2 | 1 | 0 | 0.9 | |
| DocNode::leafsrc/tree.rs:148 | method | 11 | 1 | 2 | 1 | 0.7 | |
| DocNode::branchsrc/tree.rs:161 | method | 11 | 1 | 2 | 0 | 0.7 | |
| DocNode::node_countsrc/tree.rs:194 | method | 6 | 2 | 1 | 0 | 0.6 | |
| DocNode::leavessrc/tree.rs:210 | method | 5 | 1 | 1 | 1 | 0.6 | |
| ProvenanceRef::newsrc/common.rs:24 | method | 3 | 1 | 1 | 0 | 0.6 | |
| DocGenerator::defaultsrc/document.rs:102 | trait impl | 3 | 1 | 1 | 0 | 0.6 | |
| GroundingMode::defaultsrc/document.rs:129 | trait impl | 3 | 1 | 1 | 0 | 0.6 | |
| DocNode::with_headingsrc/tree.rs:174 | method | 4 | 1 | 1 | 0 | 0.6 | |
| DocNode::with_intentsrc/tree.rs:180 | method | 4 | 1 | 1 | 0 | 0.6 | |
| DocumentSpec::word_countsrc/document.rs:56 | method | 3 | 1 | 0 | 0 | 0.5 | |
| DocumentSpec::leaf_countsrc/document.rs:61 | method | 3 | 1 | 0 | 0 | 0.5 | |
| paper_outline_has_canonical_sectionssrc/lib.rs:61 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| novel_outline_units_map_to_chapterssrc/lib.rs:72 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| document_roundtrips_through_jsonsrc/lib.rs:83 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| revision_op_defaults_to_keepsrc/lib.rs:92 | fn | 5 | 1 | 0 | 0 | 0.5 | |
| tree_helpers_count_correctlysrc/lib.rs:99 | fn | 9 | 1 | 0 | 4 | 0.5 | |
| document_defaults_builders_and_word_count_are_coveredsrc/lib.rs:110 | fn | 36 | 1 | 0 | 7 | 0.5 | |
| revision_and_take_counts_walk_their_treessrc/lib.rs:148 | fn | 44 | 1 | 0 | 1 | 0.5 | |
| doc_node_kind_heading_levels_cover_renderer_mapsrc/lib.rs:194 | fn | 11 | 1 | 0 | 1 | 0.5 | |
| RevOp::defaultsrc/revision.rs:88 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| ProseTake::word_countsrc/take.rs:44 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ProseLeaf::word_countsrc/tree.rs:77 | method | 3 | 1 | 0 | 0 | 0.5 | |
| DocNode::leaf_countsrc/tree.rs:186 | method | 6 | 2 | 0 | 0 | 0.5 | |
| DocNode::word_countsrc/tree.rs:202 | method | 6 | 2 | 0 | 0 | 0.5 |
Outside the workspace
serde serde_json