From cf18776173354bf53fb1d8acbd62a47235ad6c55 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Tue, 1 Feb 2022 09:03:56 +0100 Subject: [PATCH] cargo: enable "accept-rfc3339-timestamps" feature for OIDC It doesn't pull in any new dependency and we require it to be able to work with the auth0 provider. https://github.com/ramosbugs/openidconnect-rs/pull/55#issuecomment-1026567725 Signed-off-by: Thomas Lamprecht --- Cargo.toml | 2 +- debian/control | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index e13fe9b0..2af5638b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ path = "src/lib.rs" anyhow = "1.0" http = "0.2" nix = "0.19.1" -openidconnect = { version = "2.2", default-features = false, features = [] } +openidconnect = { version = "2.2", default-features = false, features = ["accept-rfc3339-timestamps"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" thiserror="1.0" diff --git a/debian/control b/debian/control index 992dfed0..325a5269 100644 --- a/debian/control +++ b/debian/control @@ -9,7 +9,7 @@ Build-Depends: debhelper (>= 12), librust-anyhow-1+default-dev , librust-http-0.2+default-dev , librust-nix-0.19+default-dev (>= 0.19.1-~~) , - librust-openidconnect-2-dev (>= 2.2-~~) , + librust-openidconnect-2+accept-rfc3339-timestamps-dev (>= 2.2-~~) , librust-proxmox-sys-0.2+default-dev , librust-proxmox-time-1+default-dev , librust-serde-1+default-dev , @@ -33,7 +33,7 @@ Depends: librust-anyhow-1+default-dev, librust-http-0.2+default-dev, librust-nix-0.19+default-dev (>= 0.19.1-~~), - librust-openidconnect-2-dev (>= 2.2-~~), + librust-openidconnect-2+accept-rfc3339-timestamps-dev (>= 2.2-~~), librust-proxmox-sys-0.2+default-dev, librust-proxmox-time-1+default-dev, librust-serde-1+default-dev,