| 61 | use uuid::Uuid; |
| 62 | |
| 63 | struct AppState { |
| 64 | cache: Cache, |
| 65 | client: reqwest::Client, |
| 66 | // oauth: Option<auth::BasicClient>, |
| 67 | prefetch_tx: Sender<PrefetchReq>, |
| 68 | boot_origin: Url, |
| 69 | geoip_db: maxminddb::Reader<&'static [u8; 9853267]>, |
| 70 | allowed_countries: BTreeSet<String>, |
| 71 | daily_quota: Option<Mutex<Quota>>, |
| 72 | } |
| 73 | |
| 74 | struct ClientRecord { |
| 75 | used: usize, |
nothing calls this directly
no outgoing calls
no test coverage detected