mirror of
https://git.asonix.dog/asonix/http-signature-normalization.git
synced 2024-11-22 09:21:00 +00:00
Bump version, remove log
This commit is contained in:
parent
aa95ef20d4
commit
7538969a0b
2 changed files with 1 additions and 5 deletions
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "http-signature-normalization"
|
name = "http-signature-normalization"
|
||||||
description = "An HTTP Signatures library that leaves the signing to you"
|
description = "An HTTP Signatures library that leaves the signing to you"
|
||||||
version = "0.5.1"
|
version = "0.5.2"
|
||||||
authors = ["asonix <asonix@asonix.dog>"]
|
authors = ["asonix <asonix@asonix.dog>"]
|
||||||
license-file = "LICENSE"
|
license-file = "LICENSE"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -22,4 +22,3 @@ members = [
|
||||||
[dependencies]
|
[dependencies]
|
||||||
chrono = "0.4"
|
chrono = "0.4"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
log = "0.4"
|
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
//! Types and methods to verify a signature or authorization header
|
//! Types and methods to verify a signature or authorization header
|
||||||
use chrono::{DateTime, Duration, TimeZone, Utc};
|
use chrono::{DateTime, Duration, TimeZone, Utc};
|
||||||
use log::debug;
|
|
||||||
use std::{
|
use std::{
|
||||||
collections::{BTreeMap, HashMap, HashSet},
|
collections::{BTreeMap, HashMap, HashSet},
|
||||||
error::Error,
|
error::Error,
|
||||||
|
@ -261,8 +260,6 @@ impl FromStr for ParsedHeader {
|
||||||
})
|
})
|
||||||
.collect();
|
.collect();
|
||||||
|
|
||||||
debug!("pieces {:?}", hm);
|
|
||||||
|
|
||||||
Ok(ParsedHeader {
|
Ok(ParsedHeader {
|
||||||
signature: hm
|
signature: hm
|
||||||
.remove(SIGNATURE_FIELD)
|
.remove(SIGNATURE_FIELD)
|
||||||
|
|
Loading…
Reference in a new issue