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-ooxml crates cargo crate
The Office Open XML package (.xlsx, .docx, .pptx): a size-capped zip, [Content_Types].xml, relationships and theme colours, read and written with no Office install. External targets are recorded, never followed.
0workspace deps
0direct dependents
0transitive dependents
0calls out
0calls in
101call-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). 114 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Rgb::newsrc/theme.rs:31 | method | 3 | 1 | 7 | 0 | 3.7 | |
| XmlReader::malformedsrc/xml.rs:118 | method | 3 | 1 | 8 | 0 | 3.4 | |
| is_xml_charsrc/xml.rs:226 | fn | 3 | 1 | 2 | 0 | 3.2 | |
| push_attrsrc/xml.rs:249 | fn | 15 | 11 | 2 | 1 | 2.6 | |
| Tag::valuesrc/xml.rs:50 | method | 3 | 1 | 3 | 0 | 2.5 | |
| push_attributesrc/xml.rs:266 | fn | 7 | 1 | 4 | 1 | 2.4 | |
| Rgb::from_u32src/theme.rs:36 | method | 3 | 1 | 5 | 1 | 2.4 | |
| Archive::stored_namesrc/archive.rs:103 | method | 7 | 3 | 4 | 0 | 2.2 | |
| XmlReader::nextsrc/xml.rs:122 | method | 24 | 10 | 5 | 1 | 2.1 | |
| PackageWriter::finishsrc/writer.rs:124 | method | 29 | 5 | 3 | 3 | 1.9 | |
| source_keysrc/package.rs:16 | fn | 3 | 1 | 2 | 0 | 1.9 | |
| Tag::attrsrc/xml.rs:56 | method | 4 | 1 | 6 | 1 | 1.6 | |
| declared_entry_countsrc/archive.rs:181 | fn | 19 | 7 | 1 | 3 | 1.6 | |
| Limits::defaultsrc/limits.rs:35 | trait impl | 3 | 1 | 10 | 0 | 1.5 | |
| Package::relationshipssrc/package.rs:78 | method | 3 | 1 | 4 | 1 | 1.5 | |
| zip_ofsrc/tests.rs:14 | fn | 9 | 2 | 9 | 1 | 1.5 | |
| Archive::readsrc/archive.rs:29 | method | 73 | 18 | 7 | 1 | 1.3 | |
| PackageWriter::push_relsrc/writer.rs:61 | method | 7 | 1 | 2 | 0 | 1.3 | |
| Archive::namessrc/archive.rs:142 | method | 3 | 1 | 3 | 0 | 1.3 | |
| source_of_rels_partsrc/rels.rs:44 | fn | 27 | 8 | 3 | 0 | 1.2 | |
| rels_part_forsrc/rels.rs:31 | fn | 9 | 3 | 2 | 0 | 1.1 | |
| SchemeColor::element_namesrc/theme.rs:159 | method | 16 | 12 | 3 | 0 | 1.1 | |
| SchemeColor::indexsrc/theme.rs:177 | method | 3 | 1 | 2 | 0 | 1.1 | |
| PackageWriter::content_types_xmlsrc/writer.rs:83 | method | 22 | 4 | 1 | 1 | 1 | |
| PackageWriter::rels_xmlsrc/writer.rs:106 | method | 16 | 3 | 1 | 1 | 1 | |
| Package::relatedsrc/package.rs:88 | method | 3 | 1 | 2 | 2 | 1 | |
| PackageWriter::newsrc/writer.rs:39 | method | 6 | 1 | 2 | 0 | 1 | |
| Theme::officesrc/theme.rs:239 | method | 21 | 1 | 3 | 1 | 1 | |
| local_namesrc/xml.rs:32 | fn | 6 | 2 | 2 | 0 | 1 | |
| Relationship::kindsrc/rels.rs:24 | method | 3 | 1 | 2 | 0 | 1 | |
| u16_atsrc/archive.rs:166 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| u32_atsrc/archive.rs:170 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| u64_atsrc/archive.rs:174 | fn | 3 | 1 | 1 | 0 | 0.9 | |
| Tag::namesrc/xml.rs:46 | method | 3 | 1 | 2 | 0 | 0.9 | |
| Package::opensrc/package.rs:25 | method | 16 | 4 | 5 | 6 | 0.9 | |
| relative_targetsrc/rels.rs:106 | fn | 18 | 2 | 2 | 0 | 0.9 | |
| XmlReader::newsrc/xml.rs:108 | method | 3 | 1 | 5 | 0 | 0.8 | |
| XmlReader::rootsrc/xml.rs:148 | method | 10 | 4 | 5 | 2 | 0.8 | |
| from_linearsrc/theme.rs:17 | fn | 5 | 2 | 3 | 0 | 0.8 | |
| unit_to_bytesrc/theme.rs:23 | fn | 3 | 1 | 1 | 0 | 0.8 |
Outside the workspace
quick-xml zip