From dbcd963bb131d5f71ba13651f524507cb4451d47 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Sat, 10 Feb 2024 11:34:32 +0000 Subject: [PATCH] Add base64, time crates --- Cargo.lock | 2 ++ Cargo.toml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 841bcba..44bbe19 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -483,6 +483,7 @@ name = "factoriauth" version = "0.1.0" dependencies = [ "axum", + "base64", "color-eyre", "hmac", "ldap3", @@ -490,6 +491,7 @@ dependencies = [ "secrecy", "serde", "sqlx", + "time", "tokio", "tracing", "tracing-error", diff --git a/Cargo.toml b/Cargo.toml index 544fe29..d9f0ea5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -15,6 +15,7 @@ opt-level = 3 [dependencies] axum = "0.7.4" +base64 = "0.21.7" color-eyre = { version = "0.6.2" } hmac = "0.12.1" ldap3 = { version = "0.11.3", default-features = false, features = ["tls-rustls"] } @@ -22,6 +23,7 @@ md-5 = "0.10.6" secrecy = { version = "0.8.0", features = ["serde"] } serde = { version = "1.0.196", features = ["derive"] } sqlx = { version = "0.7.3", features = ["runtime-tokio", "tls-rustls", "sqlite"] } +time = { version = "0.3.34", features = ["formatting", "macros"] } tokio = { version = "1.36.0", features = ["macros", "rt-multi-thread"] } tracing = "0.1.40" tracing-error = "0.2.0"