(feat) Users can now be created.

Having issues with fetching users; switch to sqlx?

Signed-off-by: Louis Hollingworth <louis@hollingworth.nl>
This commit is contained in:
Louis Hollingworth 2023-10-26 12:58:06 +01:00
parent cf80d4b70d
commit f267d6b285
Signed by: lucxjo
GPG key ID: A11415CB3DC7809B
7 changed files with 470 additions and 42 deletions

View file

@ -15,10 +15,14 @@ edition = "2021"
name = "fediblog"
[dependencies]
argon2 = { version = "0.5.2", features = ["password-hash", "std"] }
axum = {version = "0.6.20", features = ["macros"]}
chrono = {version = "0.4.31", features = ["serde"]}
diesel = { version = "2.1.3", features = ["postgres", "extras", "uuid"] }
crypto = { version = "0.5.1", features = ["password-hash"] }
diesel = { version = "2.1.3", features = ["postgres", "extras", "uuid", "r2d2"] }
diesel_migrations = { version = "2.1.0", features = ["postgres"] }
dotenvy = "0.15.7"
rand = "0.8.5"
serde = { version = "1.0.189", features = ["derive"] }
serde_json = "1.0.107"
tokio = { version = "1.33.0", features = ["full"] }