MCPcopy Create free account
hub / github.com/Wulf/create-rust-app / AppState

Class AppState

crates/create-rust-app/src/dev/dev_server.rs:32–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32struct AppState {
33 #[allow(dead_code)]
34 project_dir: &'static str,
35 rx: tokio::sync::Mutex<Receiver<DevServerEvent>>, // this is the original subscribed receiver which hasn't missed a single event :)
36 tx: Sender<DevServerEvent>,
37 file_tx: Sender<String>,
38 db: Database,
39 dev: Mutex<CurrentDevState>,
40}
41
42pub async fn start(
43 project_dir: &'static str,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected