summaryrefslogtreecommitdiff
path: root/src/handlers
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-04-07 18:54:22 -0400
committerAdam T. Carpenter <atc@53hor.net>2021-04-07 18:54:22 -0400
commit881e4bf3c9141b4bebaefaf6385652ed46d9a9fe (patch)
treea56a068b4f725c386de7575c7f9a2f084363a16f /src/handlers
parentb1c45640a72300433800c8370657335616f8c541 (diff)
downloadtwinh-881e4bf3c9141b4bebaefaf6385652ed46d9a9fe.tar.xz
twinh-881e4bf3c9141b4bebaefaf6385652ed46d9a9fe.zip
added some demo login template, functionality, also added basic kv store test and ui demo
Diffstat (limited to 'src/handlers')
-rw-r--r--src/handlers/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/handlers/mod.rs b/src/handlers/mod.rs
index 1aba908..3ad7f49 100644
--- a/src/handlers/mod.rs
+++ b/src/handlers/mod.rs
@@ -5,6 +5,7 @@ use hyper::Method;
use hyper::StatusCode;
use hyper::{Body, Request, Response};
use serde::{Deserialize, Serialize};
+use sled::Db;
use std::convert::Infallible; // TODO:
pub async fn router(req: Request<Body>) -> Result<Response<Body>, Infallible> {