summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-05-30 00:24:40 -0400
committerCara Salter <cara@devcara.com>2022-05-30 00:24:40 -0400
commitecca0e8cef755899049e7f541c86b9d06b2438a4 (patch)
tree1b86c9667a3044b885a468744780effee1ed401f /Cargo.lock
parentb7752eef57e008c0d2a7dad868e98ff8b802bd22 (diff)
downloadhomeworld-ecca0e8cef755899049e7f541c86b9d06b2438a4.tar.gz
homeworld-ecca0e8cef755899049e7f541c86b9d06b2438a4.zip
meta: Add Bearer authentication
Makes use of a pre-shared key. Do not expose this to the internet!
Diffstat (limited to 'Cargo.lock')
-rw-r--r--Cargo.lock12
1 files changed, 12 insertions, 0 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 3cab99f..d43b979 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -95,6 +95,17 @@ dependencies = [
]
[[package]]
+name = "axum-auth"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a78cc399f2af2dd7adf88e0fcc0e21dbf730258c1b34785f47816ff224238f74"
+dependencies = [
+ "axum",
+ "base64",
+ "http",
+]
+
+[[package]]
name = "axum-core"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -499,6 +510,7 @@ name = "homeworld"
version = "0.1.0"
dependencies = [
"axum",
+ "axum-auth",
"color-eyre",
"eyre",
"hyper",