summaryrefslogtreecommitdiff
path: root/Cargo.toml
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-09-03 01:25:20 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-09-03 02:09:25 -0400
commitb404344a7c4ab5cb6c7d7b445fab796be79b848f (patch)
treec476b125316b9d4aa7bdece7c9bb8e2f65d2961e /Cargo.toml
parent92a7518975c6bc4b2f9b9c6c12c458b24e8cfaf5 (diff)
Allow login creation and authentication.
This is a beefy change, as it adds a TON of smaller pieces needed to make this all function: * A database migration. * A ton of new crates for things like password validation, timekeeping, and HTML generation. * A first cut at a module structure for routes, templates, repositories. * A family of ID types, for identifying various kinds of domain thing. * AppError, which _doesn't_ implement Error but can be sent to clients.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml13
1 files changed, 11 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 0ff0a1b..9f7aa4a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -4,7 +4,16 @@ version = "0.1.0"
edition = "2021"
[dependencies]
-axum = "0.7.5"
+argon2 = "0.5.3"
+axum = { version = "0.7.5", features = ["form"] }
+axum-extra = { version = "0.9.3", features = ["cookie"] }
+chrono = "0.4.38"
clap = { version = "4.5.16", features = ["derive", "env"] }
-sqlx = { version = "0.8.1", features = ["runtime-tokio", "sqlite"] }
+maud = { version = "0.26.0", features = ["axum"] }
+password-hash = { version = "0.5.0", features = ["std"] }
+rand = "0.8.5"
+rand_core = { version = "0.6.4", features = ["getrandom"] }
+serde = { version = "1.0.209", features = ["derive"] }
+sqlx = { version = "0.8.1", features = ["chrono", "runtime-tokio", "sqlite"] }
tokio = { version = "1.40.0", features = ["rt", "macros", "rt-multi-thread"] }
+uuid = { version = "1.10.0", features = ["v4"] }