1 viewer
rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 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
215transitive dependents
10calls out
819calls in
860call-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). 490 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Arc::newsrc/algebra.rs:476 | method | 3 | 1 | 253 | 0 | 102 | |
| BTreeMap::fromsrc/algebra.rs:802 | trait impl | 3 | 1 | 125 | 0 | 36 | |
| ExactRatioV1::from_u128src/chart.rs:79 | method | 15 | 5 | 3 | 1 | 19.3 | |
| ExactRatioV1::checked_mulsrc/chart.rs:61 | method | 9 | 1 | 29 | 1 | 19.1 | |
| gcd_u128src/chart.rs:96 | fn | 8 | 2 | 1 | 0 | 16.9 | |
| domain_hashsrc/lib.rs:52 | fn | 6 | 1 | 14 | 0 | 16.6 | |
| AssetSet::newsrc/algebra.rs:221 | method | 10 | 1 | 9 | 0 | 12.3 | |
| AssetSet::parsesrc/algebra.rs:241 | method | 3 | 1 | 18 | 1 | 11.6 | |
| Arc::split_keysrc/algebra.rs:500 | method | 3 | 1 | 10 | 0 | 10.4 | |
| PositionRecord::is_provider_observationsrc/lib.rs:421 | method | 3 | 1 | 20 | 0 | 10.2 | |
| AssetSet::from_keyssrc/algebra.rs:234 | method | 3 | 1 | 4 | 0 | 9.3 | |
| Arc::parsesrc/algebra.rs:493 | method | 4 | 1 | 18 | 2 | 8.1 | |
| Vec::fromsrc/algebra.rs:419 | trait impl | 3 | 1 | 5 | 0 | 8 | |
| asset_index_hashsrc/index.rs:98 | fn | 3 | 1 | 2 | 1 | 7.8 | |
| Arc::of_positionsrc/algebra.rs:482 | method | 3 | 1 | 5 | 1 | 7.8 | |
| Arc::of_sidessrc/algebra.rs:486 | method | 4 | 2 | 2 | 1 | 7.6 | |
| PositionIntentEpochV1::buildsrc/lib.rs:562 | method | 22 | 1 | 4 | 1 | 6.8 | |
| PositionIntentEpochV1::compute_hashsrc/lib.rs:585 | method | 14 | 1 | 3 | 1 | 6.8 | |
| validate_shared_liquidity_problemsrc/shared_liquidity.rs:68 | fn | 47 | 23 | 6 | 0 | 6.6 | |
| AssetIndexV1::newsrc/index.rs:30 | method | 9 | 2 | 9 | 1 | 6.2 | |
| BTreeSet::fromsrc/algebra.rs:425 | trait impl | 3 | 1 | 27 | 0 | 6.2 | |
| Rng::next_u64src/test_support.rs:21 | method | 8 | 1 | 4 | 0 | 6 | |
| sanitize_asset_segmentsrc/algebra.rs:81 | fn | 10 | 7 | 4 | 0 | 5.5 | |
| Parser::parse_exprsrc/expr.rs:163 | method | 8 | 3 | 2 | 2 | 5.4 | |
| entrysrc/value_lens.rs:1156 | fn | 14 | 1 | 15 | 0 | 5.3 | |
| 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.1 | |
| build_lens_booksrc/value_lens.rs:202 | fn | 65 | 16 | 8 | 3 | 4.9 | |
| AssetSet::ranksrc/algebra.rs:250 | method | 3 | 1 | 12 | 0 | 4.9 | |
| PositionIntentEpochV1::genesissrc/lib.rs:505 | 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:447 | trait impl | 3 | 1 | 5 | 0 | 4.5 | |
| soulbound_weight_kindsrc/algebra.rs:118 | fn | 11 | 3 | 3 | 0 | 4.5 | |
| RingMeasure::productsrc/algebra.rs:956 | method | 3 | 1 | 7 | 1 | 4.3 | |
| is_soulbound_assetsrc/algebra.rs:131 | fn | 3 | 1 | 2 | 1 | 4 |
Outside the workspace
serde serde_json sha2