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-energy energy cargo crate

EnergyApp — virtual renewable generation on the economy spine: EnergySite vertices (solar panels / wind turbines placed at real lat/lon) accrue watt-hours from a fully deterministic sun-geometry + weather-field model, and settled generation mints spendable cre8/energy/{vsolar|vwind} to the site owner through the manifold commit chokepoint. The meter is a pure function of (site, UTC interval), so any peer can re-derive and audit every minted credit. (2026-08-27).

crates/cre8-app-energy · level 14 · 6,839 lines (5,340 code) · 13 files · 319 fns (90 tests) · cyclomatic Σ 557

15workspace deps
1direct dependents
8transitive dependents
181calls out
0calls in
268call-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). 319 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
connectsrc/connection.rs:212fn1011713.7
EnergySite::newsrc/model.rs:69method301523.5
bucket_floorsrc/sim.rs:260fn31803.3
SiteKind::parsesrc/sim.rs:53method73302.7
derive_offer_idsrc/market.rs:148fn31212.6
EnergyOffer::newsrc/market.rs:153method141412.4
i_typesrc/proven.rs:102fn31202.2
EnergySite::site_kindsrc/model.rs:100method31312.2
parsesrc/connection.rs:508fn31802.2
callsrc/e2e_tests.rs:32fn31622.1
deterministic_ts_from_refsrc/credit.rs:98fn31502
r_typesrc/proven.rs:99fn31302
derive_site_idsrc/model.rs:64fn31112
value_noise3src/sim.rs:156fn177221.9
offersrc/market.rs:706fn31911.8
build_meter_elfsrc/proven.rs:252fn238621.8
verify_structuralsrc/proven.rs:454fn4314661.8
samplesrc/sim.rs:239fn192761.7
honest_envelopesrc/proven.rs:840fn81741.7
plant_energy_namespacesrc/init.rs:22fn82131.6
str_atsrc/view_templates.rs:81fn31501.6
participant_rejectsrc/market.rs:197fn104401.6
settle_all_atsrc/credit.rs:298fn6512561.5
balance_ofsrc/e2e_tests.rs:155fn311001.5
solar_declination_radsrc/sim.rs:105fn41101.5
addisrc/proven.rs:124fn31311.4
EnergyOffer::price_per_kwhsrc/market.rs:174method31301.4
market_board_htmlsrc/view_templates.rs:302fn464371.4
str_fieldsrc/market.rs:435fn31501.4
energy_doc_patch_valuesrc/view_templates.rs:293fn31331.4
runsrc/init.rs:15fn41211.3
offer_create_handlersrc/market.rs:456fn5942121.3
offer_list_handlersrc/market.rs:518fn292241.3
offer_get_handlersrc/market.rs:549fn141241.3
offer_fill_handlersrc/market.rs:565fn6372121.3
offer_cancel_handlersrc/market.rs:632fn5272101.3
register_meter_handlersrc/meter.rs:267fn735271.3
list_meters_handlersrc/meter.rs:342fn131221.3
prove_interval_handlersrc/proven.rs:672fn163231.3
submit_proven_interval_handlersrc/proven.rs:692fn136172101.3

Outside the workspace

anyhow cre8-lib-math cre8-lib-rng cre8-vm hyperdb serde serde_json ureq