update deps, new version
This commit is contained in:
parent
89bebc6b03
commit
c5a9767881
@ -1,6 +1,6 @@
|
||||
# [unreleased]
|
||||
# [0.2.2]
|
||||
|
||||
- ...
|
||||
- Update dependencies
|
||||
|
||||
# [0.2.1]
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
[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"
|
||||
rocket = "0.4.2"
|
||||
parking_lot = "0.10.0"
|
||||
rand = "0.8"
|
||||
rocket = "0.4"
|
||||
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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user