Skip to content
1 viewer

rust 1,854,448 · typescript 233,181 · javascript 132,491 · python 19,572 · 6,381 files · digest 17250db9be6a · built in 2.2 s · crystals off

cre8-bio-core crates cargo crate

Shared substrate for the biological-coverage apps (Plant / Organism / Brain): the kingdom-agnostic Taxon tree, the day-stage growth/maturation model, hypergraph plumbing, and the slug/rank/router helpers — parameterized by a BioSchema so each app supplies its own vertex kinds, id prefix, ranks and default kingdom. Extracted from the byte-identical code the Plant and Organism apps had each forked.

crates/cre8-bio-core · level 9 · 561 lines (389 code) · 7 files · 33 fns (9 tests) · cyclomatic Σ 53

4workspace deps
6direct dependents
14transitive dependents
12calls out
111calls in
73.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). 33 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
canonical_slugsrc/slug.rs:13fn246918.3
list_kind_sortedsrc/graph.rs:47fn181536.8
str_fieldsrc/action.rs:6fn313306.6
props_valuesrc/graph.rs:24fn72706.1
upsert_vertexsrc/graph.rs:14fn711813.9
default_stage_vecsrc/stage.rs:36fn31303.8
get_taxonsrc/taxon.rs:69fn41553.5
read_vertexsrc/graph.rs:33fn31432.7
spec_vertex_idsrc/schema.rs:45fn31402.4
list_taxasrc/taxon.rs:74fn151412.1
all_of_kindsrc/graph.rs:39fn51532
upsert_taxonsrc/taxon.rs:41fn272452
effective_slugsrc/slug.rs:58fn93412
stage_progresssrc/stage.rs:71fn455502
stages_from_valuesrc/stage.rs:20fn153311.9
days_to_maturitysrc/stage.rs:45fn31301.7
count_kindsrc/graph.rs:67fn31221.6
normalize_ranksrc/slug.rs:72fn193401.5
taxon_vertex_idsrc/schema.rs:40fn31201.4
normalize_tagssrc/slug.rs:39fn71201.3
normalize_slugssrc/slug.rs:49fn61211.3
stages_to_valuesrc/stage.rs:40fn31201.3
schema_withsrc/slug.rs:97fn111301.1
spinesrc/stage.rs:121fn31301.1
limit_fieldsrc/action.rs:11fn31501.1
empty_rank_defaults_to_species_for_linnaean_ladderssrc/slug.rs:110fn91020.5
empty_rank_falls_back_to_finest_without_a_species_ranksrc/slug.rs:121fn61020.5
known_ranks_normalize_and_bespoke_ranks_pass_throughsrc/slug.rs:129fn51020.5
walks_stages_and_reaches_maturitysrc/stage.rs:126fn91020.5
clamps_pre_start_timesrc/stage.rs:137fn51020.5
extreme_planted_at_does_not_overflowsrc/stage.rs:144fn81020.5
from_value_falls_back_to_defaultssrc/stage.rs:154fn41020.5
taxon_lineagesrc/taxon.rs:91fn174010.5

Outside the workspace

anyhow hyperdb serde serde_json