auth: extract community auth crate

This commit is contained in:
github-ops
2026-05-14 19:48:58 +00:00
parent 56268d1482
commit 7c2a8f4fac
13 changed files with 457 additions and 139 deletions
Generated
+20
View File
@@ -7,9 +7,11 @@ name = "admin-api"
version = "0.1.0"
dependencies = [
"argon2",
"async-trait",
"axum",
"axum-extra",
"base64",
"crank-community-auth",
"crank-core",
"crank-mapping",
"crank-registry",
@@ -395,6 +397,24 @@ dependencies = [
"tokio",
]
[[package]]
name = "crank-community-auth"
version = "0.1.0"
dependencies = [
"argon2",
"async-trait",
"axum-extra",
"base64",
"crank-core",
"crank-registry",
"rand 0.8.5",
"sha2",
"thiserror",
"time",
"tracing",
"uuid",
]
[[package]]
name = "crank-core"
version = "0.1.0"