summaryrefslogtreecommitdiff
path: root/src/state.rs
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-08-21 17:34:58 +0200
committerSanto Cariotti <santo@dcariotti.me>2024-08-21 17:34:58 +0200
commita76200bb7adb6189d84e0e98d6233a470ebeee98 (patch)
treef0c1dd5aba99ff33d01a5780f695cf65a9dcc411 /src/state.rs
parenta92fb07d23fb2268a6f4e650c5cbd00ad993e760 (diff)
Authentication for endpoints
Diffstat (limited to 'src/state.rs')
-rw-r--r--src/state.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/state.rs b/src/state.rs
index d4719b9..876a5f4 100644
--- a/src/state.rs
+++ b/src/state.rs
@@ -1,6 +1,7 @@
use std::sync::Arc;
use tokio_postgres::Client;
+
#[derive(Clone)]
pub struct AppState {
pub client: Arc<Client>,