From ecca0e8cef755899049e7f541c86b9d06b2438a4 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Mon, 30 May 2022 00:24:40 -0400 Subject: meta: Add Bearer authentication Makes use of a pre-shared key. Do not expose this to the internet! --- Cargo.lock | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Cargo.lock') diff --git a/Cargo.lock b/Cargo.lock index 3cab99f..d43b979 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -94,6 +94,17 @@ dependencies = [ "tower-service", ] +[[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" @@ -499,6 +510,7 @@ name = "homeworld" version = "0.1.0" dependencies = [ "axum", + "axum-auth", "color-eyre", "eyre", "hyper", -- cgit v1.2.3