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-app-molecule molecule cargo crate
MoleculeApp: a library of chemical compounds pulled from PubChem (NIH / NLM), with identifiers, computed properties and a structure to draw.
10workspace deps
1direct dependents
8transitive dependents
88calls out
0calls in
106call-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). 134 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| compoundssrc/fixture.rs:115 | fn | 6 | 1 | 11 | 2 | 2.7 | |
| input_textsrc/connection.rs:89 | fn | 7 | 3 | 5 | 0 | 2.7 | |
| recordssrc/fixture.rs:102 | fn | 11 | 1 | 3 | 2 | 2.1 | |
| connectsrc/connection.rs:75 | fn | 13 | 5 | 6 | 6 | 2.1 | |
| Compound::from_provider_recordsrc/compound.rs:108 | method | 61 | 3 | 3 | 2 | 1.9 | |
| handle_syncsrc/connection.rs:196 | fn | 87 | 13 | 4 | 9 | 1.7 | |
| get_compoundsrc/store.rs:173 | fn | 9 | 1 | 6 | 5 | 1.6 | |
| with_actionsrc/connection.rs:349 | fn | 8 | 2 | 4 | 0 | 1.6 | |
| referencedsrc/connection.rs:286 | fn | 7 | 1 | 2 | 2 | 1.5 | |
| Compound::structure_payloadsrc/compound.rs:229 | method | 27 | 2 | 5 | 0 | 1.5 | |
| upsert_compoundssrc/store.rs:110 | fn | 10 | 2 | 8 | 4 | 1.5 | |
| split_chargesrc/view_templates.rs:205 | fn | 6 | 3 | 3 | 0 | 1.4 | |
| cid_from_referencesrc/compound.rs:82 | fn | 8 | 3 | 4 | 0 | 1.4 | |
| recordsrc/fixture.rs:38 | fn | 62 | 5 | 1 | 2 | 1.4 | |
| projection_svgsrc/svg.rs:67 | fn | 100 | 17 | 4 | 7 | 1.3 | |
| textsrc/compound.rs:91 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| numbersrc/compound.rs:95 | fn | 8 | 3 | 1 | 0 | 1.3 | |
| caffeinesrc/compound.rs:307 | fn | 3 | 1 | 4 | 1 | 1.2 | |
| ensure_tablessrc/store.rs:48 | fn | 3 | 1 | 3 | 1 | 1.2 | |
| is_inchikeysrc/compound.rs:72 | fn | 8 | 5 | 3 | 0 | 1.2 | |
| temp_dbsrc/connection.rs:388 | fn | 3 | 1 | 7 | 1 | 1.1 | |
| row_textsrc/fixture.rs:34 | fn | 3 | 1 | 1 | 0 | 1.1 | |
| sync_lookupsrc/connection.rs:140 | fn | 26 | 7 | 2 | 3 | 1.1 | |
| Compound::is_fixturesrc/compound.rs:170 | method | 3 | 1 | 5 | 0 | 1.1 | |
| temp_dbsrc/view_templates.rs:627 | fn | 3 | 1 | 7 | 1 | 1 | |
| bodysrc/view_templates.rs:631 | fn | 3 | 1 | 7 | 0 | 1 | |
| external_linksrc/view_templates.rs:129 | fn | 3 | 1 | 2 | 0 | 1 | |
| list_compoundssrc/store.rs:214 | fn | 30 | 1 | 4 | 6 | 1 | |
| render_compoundsrc/view_templates.rs:388 | fn | 47 | 3 | 5 | 5 | 1 | |
| Compound::atom_countsrc/compound.rs:190 | method | 3 | 1 | 6 | 0 | 1 | |
| render_librarysrc/view_templates.rs:229 | fn | 26 | 1 | 4 | 7 | 1 | |
| Compound::compositionsrc/compound.rs:260 | method | 28 | 5 | 3 | 1 | 1 | |
| search_textsrc/connection.rs:106 | fn | 3 | 1 | 3 | 1 | 0.9 | |
| utc_datesrc/view_templates.rs:134 | fn | 13 | 2 | 3 | 0 | 0.9 | |
| document_runtimesrc/view_templates.rs:106 | fn | 3 | 1 | 2 | 2 | 0.9 | |
| stored_compoundsrc/store.rs:125 | fn | 32 | 1 | 2 | 5 | 0.9 | |
| seedsrc/connection.rs:392 | fn | 3 | 1 | 4 | 1 | 0.9 | |
| view_axissrc/svg.rs:38 | fn | 15 | 3 | 2 | 1 | 0.9 | |
| rgbsrc/svg.rs:54 | fn | 4 | 1 | 2 | 0 | 0.9 | |
| letter_fillsrc/svg.rs:60 | fn | 4 | 2 | 2 | 0 | 0.9 |
Outside the workspace
anyhow serde_json