Skip to content

Commit

Permalink
Progress
Browse files Browse the repository at this point in the history
  • Loading branch information
paultuckey committed Aug 17, 2024
1 parent bb54059 commit 1df1def
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ edition = "2021"
[dependencies]

# db
sqlx = { version = "0.7.4", features = ["runtime-async-std", "sqlite"] }
sqlx = { version = "0.8.0", features = ["runtime-async-std", "sqlite"] }

# web framework
rocket = "0.5.1"

# templating
rocket_dyn_templates = { version = "0.2.0", features = ["handlebars"] }
serde = { version = "1.0.203", features = ["derive"] }
serde = { version = "1.0.208", features = ["derive"] }

# logging
tracing = { version = "0.1.40", features = ["log"] }
Expand Down
3 changes: 1 addition & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ extern crate rocket;

use rocket::form::Form;
use rocket::http::Status;
use rocket_dyn_templates::{context, Metadata, Template};
use rocket_dyn_templates::handlebars::Handlebars;
use rocket_dyn_templates::{context, Template};

use crate::db::{add_todo, clear_completed, DbError, get_todo, get_todos, maybe_create_database, toggle_todo_completed, update_todo};

Expand Down

0 comments on commit 1df1def

Please sign in to comment.