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

ProposalApp — proposals with persistence, policy, reputation weighting, and store helpers.

crates/cre8-app-proposal · level 10 · 2,971 lines (2,313 code) · 8 files · 145 fns (48 tests) · cyclomatic Σ 252

9workspace deps
2direct dependents
79transitive dependents
36calls out
14calls in
147call-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). 145 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
storesrc/store.rs:43fn31519.1
ProposalStore::newsrc/store.rs:36method31108.2
lock_storesrc/store.rs:47fn31713.6
create_fullsrc/policy.rs:103fn3411122.9
clear_proposal_store_for_testsrc/store.rs:105fn62212.6
get_proposalsrc/store.rs:61fn41912.5
tally_weightedsrc/policy.rs:580fn1011232.5
test_scopesrc/policy.rs:677fn512712.4
proposal_scopesrc/policy.rs:683fn312702.4
insert_proposalsrc/store.rs:51fn51322.3
votesrc/policy.rs:142fn2832552.3
add_approval_weightsrc/policy.rs:279fn103102.1
verdictsrc/persistence.rs:538fn92402
create_with_alternativessrc/policy.rs:73fn251512
add_choice_weightsrc/policy.rs:266fn127211.9
get_votes_lockedsrc/store.rs:86fn31401.8
TallyStrategy::simple_majoritysrc/types.rs:134method311301.6
evaluate_strategysrc/policy.rs:307fn192131.5
insert_proposal_lockedsrc/store.rs:57fn31101.5
create_durable_fullsrc/persistence.rs:187fn382231.5
createsrc/policy.rs:55fn1211311.5
persist_proposalsrc/persistence.rs:49fn142341.5
handle_proposal_votesrc/connection.rs:92fn284351.4
compute_weighted_tallysrc/policy.rs:595fn323241.4
ratify_durablesrc/persistence.rs:379fn72231.3
with_storesrc/persistence.rs:42fn61311.3
handle_proposal_getsrc/connection.rs:146fn142421.3
validate_approval_labelssrc/policy.rs:211fn142101.2
charter_scopesrc/persistence.rs:359fn73101.2
build_tallysrc/policy.rs:290fn162211.2
weight_for_votersrc/rep_weight.rs:7fn155101.2
ensure_session_identitysrc/connection.rs:21fn62311.1
with_store_mutsrc/persistence.rs:35fn61311.1
upsert_votesrc/store.rs:90fn51221.1
create_durable_with_alternativessrc/persistence.rs:149fn271111
connectsrc/connection.rs:38fn127271
upsert_vote_lockedsrc/store.rs:96fn41101
tallysrc/policy.rs:226fn61731
compute_tallysrc/policy.rs:236fn51220.9
unique_idsrc/persistence.rs:429fn41400.9

Outside the workspace

anyhow hyperdb serde serde_json thiserror