1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off
cre8-app-association-model association cargo crate
Shared association types — vertex schema, CRUD helpers, sign/verify. Lifted from the old root association model. Depends on hyperdb for DurableHypergraph + Vertex traits.
3workspace deps
11direct dependents
93transitive dependents
15calls out
185calls in
160call-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). 120 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| derive_validation_idsrc/lib.rs:71 | fn | 10 | 1 | 6 | 0 | 9.8 | |
| Validation::newsrc/lib.rs:196 | method | 28 | 1 | 31 | 1 | 9.2 | |
| list_validationssrc/lib.rs:808 | fn | 3 | 1 | 8 | 2 | 5.2 | |
| list_associationssrc/lib.rs:850 | fn | 5 | 1 | 5 | 1 | 4.8 | |
| samplesrc/lib.rs:1020 | fn | 3 | 1 | 25 | 1 | 4.1 | |
| upsert_associationsrc/lib.rs:833 | fn | 8 | 2 | 29 | 2 | 3.9 | |
| parse_validationsrc/lib.rs:883 | fn | 4 | 1 | 4 | 2 | 3.9 | |
| list_validations_by_subjectsrc/lib.rs:813 | fn | 10 | 2 | 26 | 1 | 3.9 | |
| list_associations_by_subjectsrc/lib.rs:857 | fn | 10 | 2 | 20 | 1 | 3.5 | |
| derive_association_idsrc/lib.rs:85 | fn | 5 | 1 | 5 | 0 | 3.3 | |
| derive_dim_association_idsrc/lib.rs:94 | fn | 5 | 1 | 7 | 0 | 3.2 | |
| evaluate_thresholdsrc/lib.rs:471 | fn | 50 | 7 | 16 | 4 | 3 | |
| default_threshold_forsrc/lib.rs:117 | fn | 7 | 3 | 13 | 0 | 2.7 | |
| association_vidsrc/lib.rs:64 | fn | 3 | 1 | 3 | 0 | 2.7 | |
| rep_receipts_forsrc/federated_rep.rs:118 | fn | 13 | 3 | 8 | 2 | 2.5 | |
| upsert_validationsrc/lib.rs:748 | fn | 5 | 1 | 22 | 4 | 2.3 | |
| ParsedValidation::from_propssrc/lib.rs:896 | method | 8 | 1 | 1 | 4 | 2.2 | |
| ParsedValidation::into_validationsrc/lib.rs:905 | method | 20 | 1 | 1 | 3 | 2.2 | |
| Validation::with_scoressrc/lib.rs:243 | method | 25 | 4 | 10 | 0 | 2.1 | |
| graphsrc/federated_rep.rs:199 | fn | 3 | 1 | 14 | 0 | 2 | |
| rep_receiptsrc/federated_rep.rs:159 | fn | 11 | 1 | 2 | 0 | 2 | |
| canonical_validation_bytessrc/lib.rs:309 | fn | 21 | 3 | 3 | 0 | 2 | |
| verify_validationsrc/lib.rs:363 | fn | 13 | 4 | 6 | 2 | 1.9 | |
| evaluate_dimensionssrc/lib.rs:576 | fn | 36 | 6 | 9 | 3 | 1.8 | |
| apply_accept_validationsrc/lib.rs:556 | fn | 6 | 2 | 1 | 0 | 1.7 | |
| federated_decayed_balancesrc/federated_rep.rs:177 | fn | 11 | 1 | 10 | 2 | 1.7 | |
| latest_validation_by_attestorsrc/lib.rs:613 | fn | 10 | 3 | 2 | 0 | 1.6 | |
| net_rep_for_dimensionsrc/lib.rs:718 | fn | 11 | 1 | 3 | 0 | 1.6 | |
| rep_receipt_for_associationsrc/federated_rep.rs:132 | fn | 9 | 3 | 1 | 2 | 1.6 | |
| apply_threshold_validationsrc/lib.rs:546 | fn | 9 | 3 | 1 | 1 | 1.5 | |
| Validation::with_confidencesrc/lib.rs:225 | method | 4 | 1 | 6 | 0 | 1.4 | |
| validation_vidsrc/lib.rs:60 | fn | 3 | 1 | 3 | 0 | 1.4 | |
| decide_net_verdictsrc/lib.rs:730 | fn | 14 | 4 | 2 | 0 | 1.4 | |
| Validation::effective_scoressrc/lib.rs:277 | method | 13 | 5 | 2 | 0 | 1.4 | |
| Validation::with_rationalesrc/lib.rs:229 | method | 4 | 1 | 6 | 0 | 1.4 | |
| load_validationsrc/lib.rs:803 | fn | 3 | 1 | 6 | 3 | 1.4 | |
| Validation::with_tagssrc/lib.rs:233 | method | 4 | 1 | 13 | 0 | 1.4 | |
| required_stringsrc/lib.rs:949 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| non_null_valuesrc/lib.rs:977 | fn | 3 | 1 | 1 | 0 | 1.3 | |
| dim_assocsrc/federated_rep.rs:204 | fn | 20 | 1 | 8 | 1 | 1.3 |
Outside the workspace
anyhow hyperdb serde serde_json sha2