mirror of https://github.com/rwf2/Rocket.git
Update 'cookie' to '0.14'.
This commit is contained in:
parent
6a1e4c668c
commit
ee5988fe5c
|
@ -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"
|
||||||
|
|
||||||
|
|
|
@ -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 }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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(())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue