diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/main.rs b/src/main.rs deleted file mode 100644 index 39e81c9..0000000 --- a/src/main.rs +++ /dev/null @@ -1,22 +0,0 @@ - -use render::App; -use sqlx::{self, Connection, SqliteConnection}; - -use std::error::Error; - -mod tui; -mod render; -mod model; - - -#[tokio::main] -async fn main() -> Result<(), Box<dyn Error>> { - let mut conn = SqliteConnection::connect("sqlite::memory:").await?; - - let mut terminal = tui::init()?; - let res = App::default().run(&mut terminal); - tui::restore()?; - - res?; - Ok(()) -} |