aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/main.rs b/src/main.rs
index 70489bb..e27694d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -1,9 +1,12 @@
-use reflectub::{git, github};
+use tokio;
+
+use reflectub::{database, git, github};
use std::path::Path;
-fn main() {
+#[tokio::main]
+async fn main() {
// let repos = github::fetch_repos().unwrap();
//
// dbg!(&repos);
@@ -13,7 +16,9 @@ fn main() {
// Path::new("/tmp/grsvp"),
// ).unwrap();
- git::update(
- Path::new("/tmp/grsvp"),
- ).unwrap();
+ // git::update(
+ // Path::new("/tmp/grsvp"),
+ // ).unwrap();
+
+ let db = database::Db::connect("sqlite::memory:").await.unwrap();
}