Using rust #2

Merged
phoenix merged 29 commits from v0.2.0 into main 2026-05-31 18:18:42 -04:00
2 changed files with 8 additions and 10 deletions
Showing only changes of commit dbebaaed39 - Show all commits
-3
View File
@@ -22,9 +22,6 @@ josekit = { version = "0.10.3" }
utoipa = { version = "5.5.0", features = ["axum_extras"] }
utoipa-swagger-ui = { version = "9.0.2", features = ["axum"] }
textsender_models = { git = "ssh://git@git.kundeng.us/phoenix/textsender-models.git", tag = "v0.3.0-19-cf112a468d-111" }
# icarus_envy = { git = "ssh://git@git.kundeng.us/phoenix/icarus_envy.git", tag = "v0.7.0" }
# dotenvy = { version = "0.15.7" }
# const_format = { version = "0.2.36" }
[dev-dependencies]
http-body-util = { version = "0.1.3" }
+8 -7
View File
@@ -99,13 +99,14 @@ pub mod user {
INSERT INTO "user" (username, password, phone, firstname, lastname, salt_id)
VALUES ($1, $2, $3, $4, $5, $6)
RETURNING id, created;
"#)
.bind(&user.username)
.bind(&user.password)
.bind(&user.phone_number)
.bind(&user.firstname)
.bind(&user.lastname)
.bind(user.salt_id)
"#,
)
.bind(&user.username)
.bind(&user.password)
.bind(&user.phone_number)
.bind(&user.firstname)
.bind(&user.lastname)
.bind(user.salt_id)
.fetch_one(pool)
.await
.map_err(|e| {