Skip to content
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).

crates/cre8-doc-spec · level 0 · 921 lines (618 code) · 7 files · 32 fns (8 tests) · cyclomatic Σ 38

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
base_specsrc/outline.rs:129fn181202.8
DocNodeKind::heading_levelsrc/tree.rs:141method31201.9
paper_outlinesrc/outline.rs:42fn421611.6
DocBrief::newsrc/outline.rs:26method111601.5
novel_outlinesrc/outline.rs:88fn391211.1
ProseLeaf::textsrc/tree.rs:72method31101.1
DocNode::collect_leavessrc/tree.rs:216method103101
RevNode::select_countsrc/revision.rs:95method62100.9
DocNode::leafsrc/tree.rs:148method111210.7
DocNode::branchsrc/tree.rs:161method111200.7
DocNode::node_countsrc/tree.rs:194method62100.6
DocNode::leavessrc/tree.rs:210method51110.6
ProvenanceRef::newsrc/common.rs:24method31100.6
DocGenerator::defaultsrc/document.rs:102trait impl31100.6
GroundingMode::defaultsrc/document.rs:129trait impl31100.6
DocNode::with_headingsrc/tree.rs:174method41100.6
DocNode::with_intentsrc/tree.rs:180method41100.6
DocumentSpec::word_countsrc/document.rs:56method31000.5
DocumentSpec::leaf_countsrc/document.rs:61method31000.5
paper_outline_has_canonical_sectionssrc/lib.rs:61fn91020.5
novel_outline_units_map_to_chapterssrc/lib.rs:72fn91020.5
document_roundtrips_through_jsonsrc/lib.rs:83fn71020.5
revision_op_defaults_to_keepsrc/lib.rs:92fn51000.5
tree_helpers_count_correctlysrc/lib.rs:99fn91040.5
document_defaults_builders_and_word_count_are_coveredsrc/lib.rs:110fn361070.5
revision_and_take_counts_walk_their_treessrc/lib.rs:148fn441010.5
doc_node_kind_heading_levels_cover_renderer_mapsrc/lib.rs:194fn111010.5
RevOp::defaultsrc/revision.rs:88trait impl31000.5
ProseTake::word_countsrc/take.rs:44method31000.5
ProseLeaf::word_countsrc/tree.rs:77method31000.5
DocNode::leaf_countsrc/tree.rs:186method62000.5
DocNode::word_countsrc/tree.rs:202method62000.5

Outside the workspace

serde serde_json