diff --git a/Cargo.lock b/Cargo.lock index c69281a..f6e8aad 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1254,7 +1254,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" [[package]] -name = "morethantext" +name = "morethantext_web" version = "0.1.0" dependencies = [ "async-graphql", diff --git a/Cargo.toml b/Cargo.toml index ead48d7..24ca893 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,5 @@ [package] -name = "morethantext" +name = "morethantext_web" version = "0.1.0" edition = "2021" diff --git a/src/main.rs b/src/main.rs index 246e4ee..e5c1577 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,12 +1,13 @@ -use morethantext::Database; use tide::{ http::StatusCode, sessions::{MemoryStore, SessionMiddleware}, Request, Response, }; +mod database; mod settings; +use database::Database; use settings::Settings; #[async_std::main]