rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.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). 356 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| days_from_isosrc/model.rs:382 | fn | 9 | 4 | 20 | 2 | 7.3 | |
| opportunity_idsrc/model.rs:148 | fn | 9 | 5 | 9 | 0 | 6.5 | |
| valid_datesrc/model.rs:377 | fn | 3 | 3 | 2 | 1 | 4.3 | |
| days_in_monthsrc/model.rs:368 | fn | 8 | 7 | 1 | 0 | 4.1 | |
| days_from_civilsrc/model.rs:359 | fn | 8 | 3 | 1 | 0 | 3.6 | |
| civil_from_dayssrc/model.rs:404 | fn | 11 | 2 | 4 | 0 | 3.5 | |
| connectsrc/connection.rs:109 | fn | 11 | 2 | 7 | 1 | 3 | |
| callsrc/e2e_tests.rs:41 | fn | 3 | 1 | 12 | 2 | 2.9 | |
| Opportunity::days_leftsrc/model.rs:190 | method | 3 | 1 | 5 | 1 | 2.6 | |
| apply_inputsrc/profile.rs:286 | fn | 99 | 33 | 9 | 8 | 2.4 | |
| us_date_from_dayssrc/model.rs:417 | fn | 4 | 1 | 4 | 1 | 2.4 | |
| check_uniquesrc/past_awards.rs:367 | fn | 7 | 2 | 3 | 0 | 2.4 | |
| str_atsrc/profile_views.rs:46 | fn | 3 | 1 | 10 | 0 | 2.2 | |
| by_amountsrc/past_awards.rs:206 | fn | 3 | 1 | 2 | 0 | 1.6 | |
| parsesrc/model.rs:286 | fn | 3 | 1 | 3 | 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 | |
| evaluatesrc/matcher.rs:244 | fn | 21 | 7 | 5 | 7 | 1.5 | |
| listingsrc/matcher.rs:341 | fn | 33 | 1 | 6 | 1 | 1.5 | |
| ApplicantType::keysrc/profile.rs:67 | method | 19 | 15 | 3 | 0 | 1.5 | |
| post_rawsrc/grants_gov.rs:406 | fn | 17 | 3 | 2 | 3 | 1.5 | |
| Opportunity::is_opensrc/model.rs:196 | method | 3 | 2 | 5 | 1 | 1.5 | |
| parse_pagesrc/usaspending.rs:146 | fn | 22 | 6 | 6 | 2 | 1.4 | |
| parse_pagesrc/nih_reporter.rs:129 | fn | 30 | 10 | 5 | 2 | 1.4 | |
| valid_assistance_listingsrc/past_awards.rs:275 | fn | 7 | 4 | 2 | 0 | 1.4 | |
| valid_ueisrc/past_awards.rs:127 | fn | 3 | 2 | 2 | 0 | 1.4 | |
| today_from_mssrc/model.rs:423 | fn | 3 | 1 | 11 | 0 | 1.4 | |
| textsrc/view_templates.rs:38 | fn | 4 | 1 | 6 | 0 | 1.4 | |
| textsrc/past_awards.rs:375 | fn | 4 | 1 | 4 | 0 | 1.4 | |
| listsrc/profile.rs:220 | fn | 18 | 6 | 2 | 0 | 1.4 | |
| decode_entitiessrc/grants_gov.rs:368 | fn | 34 | 14 | 1 | 0 | 1.4 | |
| listingsrc/sam_gov.rs:183 | fn | 76 | 10 | 1 | 6 | 1.4 | |
| naics_codesrc/sam_gov.rs:65 | fn | 3 | 2 | 2 | 0 | 1.4 | |
| AwardScope::from_inputsrc/past_awards.rs:291 | method | 25 | 13 | 8 | 4 | 1.3 | |
| fixturesrc/grants_gov.rs:447 | fn | 3 | 1 | 4 | 0 | 1.3 | |
| runsrc/init.rs:7 | fn | 3 | 1 | 2 | 0 | 1.3 | |
| parsesrc/profile.rs:388 | fn | 3 | 1 | 2 | 0 | 1.3 | |
| id_stringsrc/grants_gov.rs:158 | fn | 7 | 3 | 3 | 0 | 1.3 | |
| as_accountsrc/e2e_tests.rs:165 | fn | 3 | 1 | 5 | 3 | 1.3 | |
| install_graphsrc/e2e_tests.rs:22 | fn | 11 | 1 | 9 | 3 | 1.3 |
Outside the workspace
anyhow hyperdb serde serde_json