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-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.

crates/cre8-app-molecule · level 8 · 2,722 lines (2,299 code) · 8 files · 134 fns (42 tests) · cyclomatic Σ 287

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
compoundssrc/fixture.rs:115fn611122.7
input_textsrc/connection.rs:89fn73502.7
recordssrc/fixture.rs:102fn111322.1
connectsrc/connection.rs:75fn135662.1
Compound::from_provider_recordsrc/compound.rs:108method613321.9
handle_syncsrc/connection.rs:196fn8713491.7
get_compoundsrc/store.rs:173fn91651.6
with_actionsrc/connection.rs:349fn82401.6
referencedsrc/connection.rs:286fn71221.5
Compound::structure_payloadsrc/compound.rs:229method272501.5
upsert_compoundssrc/store.rs:110fn102841.5
split_chargesrc/view_templates.rs:205fn63301.4
cid_from_referencesrc/compound.rs:82fn83401.4
recordsrc/fixture.rs:38fn625121.4
projection_svgsrc/svg.rs:67fn10017471.3
textsrc/compound.rs:91fn31101.3
numbersrc/compound.rs:95fn83101.3
caffeinesrc/compound.rs:307fn31411.2
ensure_tablessrc/store.rs:48fn31311.2
is_inchikeysrc/compound.rs:72fn85301.2
temp_dbsrc/connection.rs:388fn31711.1
row_textsrc/fixture.rs:34fn31101.1
sync_lookupsrc/connection.rs:140fn267231.1
Compound::is_fixturesrc/compound.rs:170method31501.1
temp_dbsrc/view_templates.rs:627fn31711
bodysrc/view_templates.rs:631fn31701
external_linksrc/view_templates.rs:129fn31201
list_compoundssrc/store.rs:214fn301461
render_compoundsrc/view_templates.rs:388fn473551
Compound::atom_countsrc/compound.rs:190method31601
render_librarysrc/view_templates.rs:229fn261471
Compound::compositionsrc/compound.rs:260method285311
search_textsrc/connection.rs:106fn31310.9
utc_datesrc/view_templates.rs:134fn132300.9
document_runtimesrc/view_templates.rs:106fn31220.9
stored_compoundsrc/store.rs:125fn321250.9
seedsrc/connection.rs:392fn31410.9
view_axissrc/svg.rs:38fn153210.9
rgbsrc/svg.rs:54fn41200.9
letter_fillsrc/svg.rs:60fn42200.9

Outside the workspace

anyhow serde_json