Update 'cookie' to '0.14'.

This commit is contained in:
Sergio Benitez 2020-05-30 01:49:32 -07:00
parent 6a1e4c668c
commit ee5988fe5c
3 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ time = "0.2.9"
indexmap = "1.0" indexmap = "1.0"
rustls = { version = "0.16", optional = true } rustls = { version = "0.16", optional = true }
state = "0.4" state = "0.4"
cookie = { version = "0.13.2", features = ["percent-encode"] } cookie = { version = "0.14.0", features = ["percent-encode"] }
pear = "0.1" pear = "0.1"
unicode-xid = "0.2" unicode-xid = "0.2"

View File

@ -21,7 +21,7 @@ mod key {
impl Key { impl Key {
pub fn generate() -> Self { Key } pub fn generate() -> Self { Key }
pub fn from_master(_bytes: &[u8]) -> Self { Key } pub fn derive_from(_bytes: &[u8]) -> Self { Key }
} }
} }

View File

@ -459,7 +459,7 @@ impl Config {
_ => return Err(e) _ => return Err(e)
}; };
self.secret_key = SecretKey::Provided(Key::from_master(&bytes)); self.secret_key = SecretKey::Provided(Key::derive_from(&bytes));
Ok(()) Ok(())
} }