@ -1,6 +1,6 @@
# [unreleased]
# [0.2.2]
- ...
- Update dependencies
# [0.2.1]
[package]
name = "rocket_session"
version = "0.2.1"
version = "0.2.2"
authors = ["Ondřej Hruška <ondra@ondrovo.com>"]
edition = "2018"
license = "MIT"
@ -16,6 +16,6 @@ categories = [
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rand = "0.7.3"
rand = "0.8"
rocket = "0.4.2"
rocket = "0.4"
parking_lot = "0.10.0"
parking_lot = "0.11"
@ -179,6 +179,7 @@ where
let token: String = OsRng
.sample_iter(&rand::distributions::Alphanumeric)
.take(store.config.cookie_len)
.map(char::from)
.collect();
if !store_wg.sessions.contains_key(&token) {