From db604e3eedcc90d51a5e00bc050197def7515a5c Mon Sep 17 00:00:00 2001 From: Xiretza Date: Sat, 10 Feb 2024 13:10:46 +0000 Subject: [PATCH] Add hex crate --- Cargo.lock | 4 ++++ Cargo.toml | 1 + 2 files changed, 5 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 65da376..5f0e706 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -485,6 +485,7 @@ dependencies = [ "axum", "base64", "color-eyre", + "hex", "hmac", "ldap3", "md-5", @@ -724,6 +725,9 @@ name = "hex" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +dependencies = [ + "serde", +] [[package]] name = "hkdf" diff --git a/Cargo.toml b/Cargo.toml index b47f79c..7b025d4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,6 +17,7 @@ opt-level = 3 axum = "0.7.4" base64 = "0.21.7" color-eyre = { version = "0.6.2" } +hex = { version = "0.4.3", features = ["serde"] } hmac = "0.12.1" ldap3 = { version = "0.11.3", default-features = false, features = ["tls-rustls"] } md-5 = "0.10.6"