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-matching-model matching cargo crate
Shared Matching types — PositionRecord, PositionBook, MatchingResult, MatcherConfig, MatchAlgorithm. Phase 2 wave 10 (2026-05-22). Lifted from the old root matching model — foundational for ballot, position, wallet, compute, attention, and the extracted cre8-app-matching crate.
2workspace deps
27direct dependents
210transitive dependents
8calls out
818calls in
856call-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). 491 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Arc::newsrc/algebra.rs:476 | method | 3 | 1 | 255 | 0 | 101 | |
| BTreeMap::fromsrc/algebra.rs:802 | trait impl | 3 | 1 | 124 | 0 | 36.1 | |
| ExactRatioV1::from_u128src/chart.rs:80 | method | 15 | 5 | 3 | 1 | 19.4 | |
| ExactRatioV1::checked_mulsrc/chart.rs:62 | method | 9 | 1 | 29 | 1 | 19.2 | |
| gcd_u128src/chart.rs:97 | fn | 8 | 2 | 1 | 0 | 17 | |
| AssetSet::newsrc/algebra.rs:221 | method | 10 | 1 | 9 | 0 | 12.4 | |
| AssetSet::parsesrc/algebra.rs:241 | method | 3 | 1 | 18 | 1 | 11.7 | |
| Arc::split_keysrc/algebra.rs:500 | method | 3 | 1 | 10 | 0 | 10.5 | |
| PositionRecord::is_provider_observationsrc/lib.rs:410 | method | 3 | 1 | 20 | 0 | 10.2 | |
| AssetSet::from_keyssrc/algebra.rs:234 | method | 3 | 1 | 4 | 0 | 9.4 | |
| Arc::parsesrc/algebra.rs:493 | method | 4 | 1 | 18 | 2 | 8.2 | |
| Vec::fromsrc/algebra.rs:419 | trait impl | 3 | 1 | 5 | 0 | 8 | |
| Arc::of_positionsrc/algebra.rs:482 | method | 3 | 1 | 5 | 1 | 7.8 | |
| asset_index_hashsrc/index.rs:99 | fn | 6 | 1 | 2 | 0 | 7.8 | |
| Arc::of_sidessrc/algebra.rs:486 | method | 4 | 2 | 2 | 1 | 7.7 | |
| PositionIntentEpochV1::buildsrc/lib.rs:551 | method | 22 | 1 | 4 | 1 | 6.8 | |
| PositionIntentEpochV1::compute_hashsrc/lib.rs:574 | method | 14 | 1 | 3 | 1 | 6.8 | |
| validate_shared_liquidity_problemsrc/shared_liquidity.rs:68 | fn | 47 | 23 | 6 | 0 | 6.7 | |
| BTreeSet::fromsrc/algebra.rs:425 | trait impl | 3 | 1 | 28 | 0 | 6.6 | |
| domain_hashsrc/chart.rs:599 | fn | 6 | 1 | 9 | 0 | 6.6 | |
| AssetIndexV1::newsrc/index.rs:31 | method | 9 | 2 | 9 | 1 | 6.3 | |
| Rng::next_u64src/test_support.rs:21 | method | 8 | 1 | 4 | 0 | 6 | |
| Parser::parse_exprsrc/expr.rs:163 | method | 8 | 3 | 2 | 2 | 5.4 | |
| entrysrc/value_lens.rs:1156 | fn | 14 | 1 | 15 | 0 | 5.4 | |
| parse_asset_exprsrc/expr.rs:235 | fn | 8 | 2 | 18 | 1 | 5.3 | |
| Side::sizesrc/value_lens.rs:464 | method | 6 | 2 | 16 | 0 | 5.3 | |
| StructuralWorkBudgetV1::defaultsrc/factorization.rs:49 | trait impl | 3 | 1 | 7 | 0 | 5.2 | |
| AssetSet::intersectionsrc/algebra.rs:290 | method | 16 | 5 | 13 | 0 | 5.2 | |
| build_lens_booksrc/value_lens.rs:202 | fn | 65 | 16 | 8 | 3 | 5 | |
| AssetSet::ranksrc/algebra.rs:250 | method | 3 | 1 | 12 | 0 | 4.9 | |
| PositionIntentEpochV1::genesissrc/lib.rs:494 | method | 3 | 1 | 20 | 1 | 4.8 | |
| RingMeasure::holonomysrc/algebra.rs:948 | method | 6 | 2 | 8 | 0 | 4.8 | |
| verify_shared_liquidity_allocationsrc/shared_liquidity.rs:119 | fn | 94 | 28 | 20 | 2 | 4.7 | |
| Parser::skip_wssrc/expr.rs:152 | method | 5 | 3 | 2 | 0 | 4.6 | |
| Parser::peeksrc/expr.rs:158 | method | 4 | 1 | 4 | 1 | 4.6 | |
| FillPolicy::defaultsrc/lib.rs:436 | trait impl | 3 | 1 | 5 | 0 | 4.6 | |
| soulbound_weight_kindsrc/algebra.rs:118 | fn | 11 | 3 | 3 | 0 | 4.5 | |
| RingMeasure::productsrc/algebra.rs:956 | method | 3 | 1 | 7 | 1 | 4.4 | |
| is_soulbound_assetsrc/algebra.rs:131 | fn | 3 | 1 | 2 | 1 | 4 | |
| domain_hashsrc/atlas.rs:781 | fn | 6 | 1 | 4 | 0 | 4 |
Outside the workspace
serde serde_json sha2