From e1aa2bfb1855559904a59f69001738fb43a2bf58 Mon Sep 17 00:00:00 2001 From: Valentin Tolmer Date: Fri, 12 May 2023 15:37:39 +0200 Subject: [PATCH] cargo: depend on the published version of lldap_auth --- Cargo.lock | 27 +++++++++++++++++++++++---- app/Cargo.toml | 2 +- migration-tool/Cargo.toml | 2 +- server/Cargo.toml | 2 +- set-password/Cargo.toml | 2 +- 5 files changed, 27 insertions(+), 8 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0b3a1bb..fe3149c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2435,7 +2435,7 @@ dependencies = [ "ldap3", "ldap3_proto", "lettre", - "lldap_auth", + "lldap_auth 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "log", "mockall", "nix", @@ -2485,7 +2485,7 @@ dependencies = [ "image", "indexmap", "jwt 0.13.0", - "lldap_auth", + "lldap_auth 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.8.5", "serde", "serde_json", @@ -2518,6 +2518,25 @@ dependencies = [ "thiserror", ] +[[package]] +name = "lldap_auth" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c17867a28e09989643401bb7849a494b328416634a335ddf7d3dabc9806ba563" +dependencies = [ + "chrono", + "curve25519-dalek", + "digest 0.9.0", + "generic-array", + "getrandom 0.2.8", + "opaque-ke", + "rand 0.8.5", + "rust-argon2", + "serde", + "sha2 0.9.9", + "thiserror", +] + [[package]] name = "lldap_migration_tool" version = "0.4.2" @@ -2526,7 +2545,7 @@ dependencies = [ "base64 0.13.1", "graphql_client 0.11.0", "ldap3", - "lldap_auth", + "lldap_auth 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.8.5", "requestty", "reqwest", @@ -2541,7 +2560,7 @@ version = "0.1.0" dependencies = [ "anyhow", "clap", - "lldap_auth", + "lldap_auth 0.3.0 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.8.5", "reqwest", "serde", diff --git a/app/Cargo.toml b/app/Cargo.toml index 44c054a..669daa3 100644 --- a/app/Cargo.toml +++ b/app/Cargo.toml @@ -53,7 +53,7 @@ features = [ ] [dependencies.lldap_auth] -path = "../auth" +version = "0.3" features = [ "opaque_client" ] [dependencies.image] diff --git a/migration-tool/Cargo.toml b/migration-tool/Cargo.toml index 19701e0..55ce56d 100644 --- a/migration-tool/Cargo.toml +++ b/migration-tool/Cargo.toml @@ -18,7 +18,7 @@ serde_json = "1" smallvec = "1" [dependencies.lldap_auth] -path = "../auth" +version = "0.3" features = ["opaque_client"] [dependencies.graphql_client] diff --git a/server/Cargo.toml b/server/Cargo.toml index 92f0662..20157aa 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -77,7 +77,7 @@ default-features = false version = "0.10.1" [dependencies.lldap_auth] -path = "../auth" +version = "0.3" [dependencies.opaque-ke] version = "0.6" diff --git a/set-password/Cargo.toml b/set-password/Cargo.toml index 832362b..3c55e74 100644 --- a/set-password/Cargo.toml +++ b/set-password/Cargo.toml @@ -21,7 +21,7 @@ features = ["std", "color", "suggestions", "derive", "env"] version = "4" [dependencies.lldap_auth] -path = "../auth" +version = "0.3" features = ["opaque_client"] [dependencies.reqwest]