mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-27 17:22:57 +01:00
updated deps
This commit is contained in:
parent
60f28d65f1
commit
06ce468ee0
33
Cargo.toml
33
Cargo.toml
@ -28,26 +28,27 @@ default = ["web"]
|
||||
web = ["actix/http", "actix-service", "actix-utils", "actix-web", "actix-session/cookie-session", "rand", "serde", "serde_json"]
|
||||
|
||||
[dependencies]
|
||||
actix = "0.8.2"
|
||||
actix = "0.8.3"
|
||||
|
||||
log = "0.4"
|
||||
backoff = "0.1"
|
||||
derive_more = "0.14"
|
||||
futures = "0.1.25"
|
||||
tokio-io = "0.1"
|
||||
tokio-codec = "0.1"
|
||||
tokio-tcp = "0.1"
|
||||
redis-async = "0.4"
|
||||
time = "0.1"
|
||||
backoff = "0.1.5"
|
||||
derive_more = "0.15.0"
|
||||
futures = "0.1.28"
|
||||
tokio-io = "0.1.12"
|
||||
tokio-codec = "0.1.1"
|
||||
tokio-tcp = "0.1.3"
|
||||
redis-async = "0.4.5"
|
||||
time = "0.1.42"
|
||||
|
||||
# actix web session
|
||||
actix-web = { version = "1.0.0-rc", optional=true }
|
||||
actix-utils = { version = "0.4.1", optional=true }
|
||||
actix-service = { version = "0.4.0", optional=true }
|
||||
actix-session = { version = "0.1.0", optional=true }
|
||||
rand = { version="0.6.5", optional=true }
|
||||
serde = { version="1.0", optional=true }
|
||||
serde_json = { version="1.0", optional=true }
|
||||
actix-web = { version = "1.0.3", optional = true }
|
||||
actix-utils = { version = "0.4.2", optional = true }
|
||||
actix-service = { version = "0.4.1", optional = true }
|
||||
actix-session = { version = "0.2.0", optional = true }
|
||||
rand = { version = "0.7.0", optional = true }
|
||||
serde = { version = "1.0.94", optional = true }
|
||||
serde_json = { version = "1.0.40", optional = true }
|
||||
env_logger = "0.6.2"
|
||||
|
||||
[dev-dependencies]
|
||||
env_logger = "0.6"
|
||||
|
@ -275,9 +275,8 @@ impl Inner {
|
||||
let (value, jar) = if let Some(value) = value {
|
||||
(value.clone(), None)
|
||||
} else {
|
||||
let mut rng = OsRng::new().unwrap();
|
||||
let value: String = iter::repeat(())
|
||||
.map(|()| rng.sample(Alphanumeric))
|
||||
.map(|()| OsRng.sample(Alphanumeric))
|
||||
.take(32)
|
||||
.collect();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user