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-util-pdf crates cargo crate

A pure-Rust PDF reader for the documents CRE8 ingests: classic and stream cross-reference tables, object streams, incremental updates and damaged-file recovery, the Standard security handler (RC4, AES-128, AES-256 R6) with an empty or supplied password, Flate/LZW/ASCII/run-length filters with predictors, and a text layer of positioned runs decoded through ToUnicode CMaps and simple encodings. A table module recovers a printed spreadsheet's grid from its header line. No C library and no network; builds for wasm.

crates/cre8-util-pdf · level 0 · 3,645 lines (3,087 code) · 12 files · 161 fns (12 tests) · cyclomatic Σ 702

0workspace deps
1direct dependents
70transitive dependents
0calls out
37calls in
157call-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). 161 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
Object::as_f64src/object.rs:57method731308.3
Object::as_arraysrc/object.rs:82method622605.9
is_whitesrc/parse.rs:8fn31603.6
malformedsrc/lib.rs:73fn311803.5
Object::as_i64src/object.rs:48method751102.2
Dict::namesrc/object.rs:158method31522.1
Document::open_with_passwordsrc/document.rs:86method205262.1
cbc_decryptsrc/crypt.rs:318fn153102
rc4src/crypt.rs:278fn203401.9
Parser::token_at_depthsrc/parse.rs:94method57193101.9
Object::as_namesrc/object.rs:66method62401.9
Parser::wordsrc/parse.rs:73method51421.8
hex_valuesrc/parse.rs:326fn84201.7
aes_cbc_decryptsrc/crypt.rs:334fn84211.7
Parser::regularsrc/parse.rs:63method73321.7
Parser::skip_whitesrc/parse.rs:48method136611.7
Document::opensrc/document.rs:81method311011.7
is_delimitersrc/parse.rs:13fn31401.7
Document::getsrc/document.rs:197method73521.6
Parser::newsrc/parse.rs:35method311001.6
Document::object_streamsrc/document.rs:271method343291.6
Object::as_dictsrc/object.rs:90method731101.6
page_runssrc/text.rs:360fn267151.5
findsrc/parse.rs:440fn63401.5
linessrc/text.rs:390fn165201.4
CMap::parsesrc/font.rs:73method10131481.4
Dict::getsrc/object.rs:129method31101.4
Dict::is_typesrc/object.rs:163method31611.3
Document::resolvesrc/document.rs:206method134521.3
Parser::tokensrc/parse.rs:90method31511.2
ObjRef::newsrc/object.rs:14method31601.2
Document::page_runssrc/document.rs:234method41311.2
Document::load_atsrc/document.rs:257method135151.2
Document::load_compressedsrc/document.rs:306method73111.2
paddedsrc/crypt.rs:167fn71201.2
Parser::unsignedsrc/parse.rs:80method73511.1
Decryptor::decryptsrc/crypt.rs:144method84231.1
Parser::objectsrc/parse.rs:167method73531.1
Document::page_textsrc/document.rs:240method31421.1
aes128_cbc_encryptsrc/crypt.rs:299fn183101

Outside the workspace

aes md-5 miniz_oxide sha2