From 7538969a0b2e0d38905a57b1b5695e74fd371f25 Mon Sep 17 00:00:00 2001 From: asonix Date: Fri, 24 Jul 2020 17:57:13 -0500 Subject: [PATCH] Bump version, remove log --- Cargo.toml | 3 +-- src/verify.rs | 3 --- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 6709286..1d6685e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "http-signature-normalization" description = "An HTTP Signatures library that leaves the signing to you" -version = "0.5.1" +version = "0.5.2" authors = ["asonix "] license-file = "LICENSE" readme = "README.md" @@ -22,4 +22,3 @@ members = [ [dependencies] chrono = "0.4" thiserror = "1.0" -log = "0.4" diff --git a/src/verify.rs b/src/verify.rs index 1a2dfd8..13ad2e6 100644 --- a/src/verify.rs +++ b/src/verify.rs @@ -1,6 +1,5 @@ //! Types and methods to verify a signature or authorization header use chrono::{DateTime, Duration, TimeZone, Utc}; -use log::debug; use std::{ collections::{BTreeMap, HashMap, HashSet}, error::Error, @@ -261,8 +260,6 @@ impl FromStr for ParsedHeader { }) .collect(); - debug!("pieces {:?}", hm); - Ok(ParsedHeader { signature: hm .remove(SIGNATURE_FIELD)