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-opportunity opportunity cargo crate
OpportunityApp — grant and contracting opportunities observed from public funding sources (Grants.gov first). Opportunity.Sweep folds listing pages into public, searchable Opportunity vertices and records one receipt per sweep with the hash of every response read; /view/opportunity/list and /view/opportunity/{id} read them back.
Neighbourhood
Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.
Files
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). 500 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| days_from_isosrc/model.rs:453 | fn | 9 | 4 | 26 | 2 | 8.4 | |
| opportunity_idsrc/model.rs:185 | fn | 9 | 5 | 13 | 0 | 7.3 | |
| valid_datesrc/model.rs:448 | fn | 3 | 3 | 2 | 1 | 4.8 | |
| days_in_monthsrc/model.rs:439 | fn | 8 | 7 | 1 | 0 | 4.5 | |
| parse_registrysrc/tender.rs:281 | fn | 17 | 5 | 3 | 0 | 4.3 | |
| days_from_civilsrc/model.rs:430 | fn | 8 | 3 | 1 | 0 | 4.1 | |
| civil_from_dayssrc/model.rs:475 | fn | 11 | 2 | 4 | 0 | 3.7 | |
| sourcessrc/tender.rs:301 | fn | 4 | 1 | 3 | 1 | 3.5 | |
| sourcesrc/tender.rs:306 | fn | 3 | 1 | 7 | 1 | 3.4 | |
| connectsrc/connection/mod.rs:138 | fn | 11 | 2 | 7 | 1 | 3 | |
| callsrc/e2e_tests.rs:41 | fn | 3 | 1 | 12 | 2 | 2.9 | |
| usdsrc/view_templates.rs:40 | fn | 11 | 5 | 8 | 0 | 2.6 | |
| apply_inputsrc/profile.rs:295 | fn | 111 | 37 | 9 | 8 | 2.5 | |
| us_date_from_dayssrc/model.rs:488 | fn | 4 | 1 | 4 | 1 | 2.4 | |
| check_uniquesrc/past_awards.rs:367 | fn | 7 | 2 | 3 | 0 | 2.4 | |
| str_atsrc/view_profile.rs:48 | fn | 3 | 1 | 10 | 0 | 2.2 | |
| Opportunity::days_leftsrc/model.rs:227 | method | 3 | 1 | 6 | 1 | 1.9 | |
| textsrc/ocds.rs:39 | fn | 3 | 1 | 3 | 0 | 1.9 | |
| originsrc/tender.rs:134 | fn | 5 | 1 | 3 | 0 | 1.9 | |
| place_namesrc/view_contracts.rs:38 | fn | 3 | 1 | 4 | 1 | 1.8 | |
| listingsrc/matcher.rs:379 | fn | 33 | 1 | 6 | 1 | 1.8 | |
| parsesrc/model.rs:333 | fn | 3 | 1 | 3 | 0 | 1.7 | |
| tablesrc/view_contracts.rs:42 | fn | 3 | 1 | 4 | 0 | 1.6 | |
| by_amountsrc/past_awards.rs:206 | fn | 3 | 1 | 2 | 0 | 1.6 | |
| evaluatesrc/matcher.rs:276 | fn | 27 | 10 | 6 | 7 | 1.6 | |
| today_from_mssrc/model.rs:494 | fn | 3 | 1 | 15 | 0 | 1.6 | |
| past_award_idsrc/past_awards.rs:102 | fn | 3 | 1 | 5 | 1 | 1.6 | |
| parse_pagesrc/nsf_awards.rs:123 | fn | 29 | 8 | 6 | 2 | 1.5 | |
| post_rawsrc/grants_gov.rs:406 | fn | 17 | 3 | 2 | 3 | 1.5 | |
| parse_pagesrc/usaspending.rs:146 | fn | 22 | 6 | 6 | 2 | 1.4 | |
| listingsrc/ocds.rs:147 | fn | 71 | 7 | 1 | 14 | 1.4 | |
| parse_pagesrc/nih_reporter.rs:129 | fn | 30 | 10 | 5 | 2 | 1.4 | |
| parsesrc/profile.rs:409 | fn | 3 | 1 | 2 | 0 | 1.4 | |
| ContractTerms::codessrc/model.rs:170 | method | 3 | 1 | 4 | 0 | 1.4 | |
| valid_assistance_listingsrc/past_awards.rs:275 | fn | 7 | 4 | 2 | 0 | 1.4 | |
| listsrc/profile.rs:229 | fn | 18 | 6 | 2 | 0 | 1.4 | |
| list_profilessrc/profile.rs:432 | fn | 5 | 1 | 5 | 2 | 1.4 | |
| valid_ueisrc/past_awards.rs:127 | fn | 3 | 2 | 2 | 0 | 1.4 | |
| textsrc/past_awards.rs:375 | fn | 4 | 1 | 4 | 0 | 1.4 | |
| listingsrc/sam_gov.rs:183 | fn | 77 | 10 | 1 | 6 | 1.4 |
Outside the workspace
anyhow hyperdb serde serde_json