use std::{collections::HashMap, path::PathBuf}; use dashmap::DashMap; use tokio::sync::OnceCell; use crate:: DownloadContext ; pub struct AppState { pub token: OnceCell, pub context_cache: DashMap<(String, String), DownloadContext>, } #[derive(Debug)] pub struct AppInitData { pub key: String, }