introduce configurable registration tokens

This commit is contained in:
avdb13 2025-04-20 04:59:38 +00:00
parent d1370f9834
commit f8fb3f63c2
13 changed files with 312 additions and 23 deletions

41
Cargo.lock generated
View file

@ -56,6 +56,12 @@ dependencies = [
"password-hash",
]
[[package]]
name = "arrayvec"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c02d123df017efcdfbd739ef81735b36c5ba83ec3c59c80a9d7ecc718f92e50"
[[package]]
name = "as_variant"
version = "1.3.0"
@ -408,6 +414,15 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "613afe47fcd5fac7ccf1db93babcb082c5994d996f20b8b159f2ad1658eb5724"
[[package]]
name = "chrono"
version = "0.4.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c"
dependencies = [
"num-traits",
]
[[package]]
name = "clang-sys"
version = "1.8.1"
@ -624,6 +639,20 @@ version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
[[package]]
name = "duration-str"
version = "0.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9add086174f60bcbcfde7175e71dcfd99da24dfd12f611d0faf74f4f26e15a06"
dependencies = [
"chrono",
"rust_decimal",
"serde",
"thiserror 2.0.12",
"time",
"winnow",
]
[[package]]
name = "ed25519"
version = "2.2.3"
@ -923,6 +952,7 @@ dependencies = [
"base64 0.22.1",
"bytes",
"clap",
"duration-str",
"futures-util",
"hmac",
"html-escape",
@ -965,6 +995,7 @@ dependencies = [
"thiserror 2.0.12",
"thread_local",
"tikv-jemallocator",
"time",
"tokio",
"toml",
"tower 0.5.2",
@ -2734,6 +2765,16 @@ dependencies = [
"rust-librocksdb-sys",
]
[[package]]
name = "rust_decimal"
version = "1.37.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "faa7de2ba56ac291bd90c6b9bece784a52ae1411f9506544b3eae36dd2356d50"
dependencies = [
"arrayvec",
"num-traits",
]
[[package]]
name = "rustc-demangle"
version = "0.1.24"