users: migrations, queries, users crate: create user, get first admin user

This commit is contained in:
Philippe Loctaux 2023-03-05 23:31:10 +01:00
parent 8af226cd05
commit 3e168c19bc
13 changed files with 283 additions and 1 deletions

11
crates/users/Cargo.toml Normal file
View file

@ -0,0 +1,11 @@
[package]
name = "users"
version = "0.0.0"
edition = "2021"
[dependencies]
database = { path = "../database" }
hash = { path = "../hash" }
id = { path = "../id" }
thiserror = { workspace = true }
chrono = { workspace = true }