Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitswired/rustgpt
/ AppState
Class
AppState
src/main.rs:26–30 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
24
25
#[derive(Clone)]
26
struct AppState {
27
pool: Arc<Pool<Sqlite>>,
28
tera: Tera,
29
chat_repo: ChatRepository,
30
}
31
32
#[tokio::main]
33
async fn main() {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected