Mercurial
diff auth/BUILD @ 264:04fee26ecce0
add authenticated JRPG conversation platform
Add reusable auth/session storage, owned conversation recovery, guest quotas, admin workflows, URL-routed conversation UI, mobile frame support, and parallel browser acceptance.
Co-authored-by: Copilot <[email protected]>
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Fri, 07 Aug 2026 07:34:12 -0700 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/auth/BUILD Fri Aug 07 07:34:12 2026 -0700 @@ -0,0 +1,44 @@ +load("@rules_cc//cc:cc_binary.bzl", "cc_binary") +load("@rules_cc//cc:cc_library.bzl", "cc_library") + +package(default_visibility = ["//visibility:public"]) + +cc_library( + name = "auth_crypto", + srcs = ["auth_crypto.c"], + hdrs = ["auth_crypto.h"], + deps = [ + "//dowa:dowa", + "@openssl//:crypto", + ], +) + +cc_library( + name = "auth_store", + srcs = ["auth_store.c"], + hdrs = ["auth_store.h"], + deps = [ + ":auth_crypto", + "//deita:deita", + "//dowa:dowa", + "@openssl//:crypto", + ], + linkopts = ["-lpthread"], +) + +cc_library( + name = "auth", + deps = [ + ":auth_crypto", + ":auth_store", + ], +) + +cc_binary( + name = "hash_password", + srcs = ["hash_password.c"], + deps = [ + ":auth_crypto", + "@openssl//:crypto", + ], +)