mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-27 17:22:57 +01:00
prepare redis release 0.10.0-beta.1
This commit is contained in:
parent
0ba14f786e
commit
7ab2b62810
@ -1,6 +1,9 @@
|
||||
# Changes
|
||||
|
||||
## Unreleased - 2020-xx-xx
|
||||
|
||||
|
||||
## 0.10.0-beta.1 - 2020-04-02
|
||||
* Update `actix-web` dependency to 4.0.0 beta.
|
||||
* Minimum supported Rust version (MSRV) is now 1.46.0.
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
[package]
|
||||
name = "actix-redis"
|
||||
version = "0.9.2"
|
||||
version = "0.10.0-beta.1"
|
||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||
description = "Redis integration for Actix and session store for Actix Web"
|
||||
license = "MIT OR Apache-2.0"
|
||||
@ -34,7 +34,7 @@ web = [
|
||||
actix = { version = "0.11.0", default-features = false }
|
||||
actix-rt = { version = "2.1", default-features = false }
|
||||
actix-service = "2.0.0-beta.5"
|
||||
actix-tls = { version = "3.0.0-beta.4", default-features = false, features = ["connect"] }
|
||||
actix-tls = { version = "3.0.0-beta.5", default-features = false, features = ["connect"] }
|
||||
|
||||
log = "0.4.6"
|
||||
backoff = "0.2.1"
|
||||
@ -47,14 +47,15 @@ tokio = { version = "1", features = ["sync"] }
|
||||
tokio-util = "0.6.1"
|
||||
|
||||
# actix-session
|
||||
actix-web = { version = "4.0.0-beta.3", default_features = false, optional = true }
|
||||
actix-session = { version = "0.4.0", optional = true }
|
||||
actix-web = { version = "4.0.0-beta.5", default_features = false, optional = true }
|
||||
actix-session = { version = "0.5.0-beta.1", optional = true }
|
||||
rand = { version = "0.8.0", optional = true }
|
||||
serde = { version = "1.0.101", optional = true }
|
||||
serde_json = { version = "1.0.40", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
actix-http = "3.0.0-beta.4"
|
||||
actix-test = "0.1.0-beta.1"
|
||||
actix-http = "3.0.0-beta.5"
|
||||
actix-rt = "2.1"
|
||||
env_logger = "0.7"
|
||||
serde_derive = "1.0"
|
||||
|
@ -3,9 +3,9 @@
|
||||
> Redis integration for Actix and session store for Actix Web.
|
||||
|
||||
[![crates.io](https://img.shields.io/crates/v/actix-redis?label=latest)](https://crates.io/crates/actix-redis)
|
||||
[![Documentation](https://docs.rs/actix-redis/badge.svg?version=0.9.2)](https://docs.rs/actix-redis/0.9.2)
|
||||
[![Documentation](https://docs.rs/actix-redis/badge.svg?version=0.10.0-beta.1)](https://docs.rs/actix-redis/0.10.0-beta.1)
|
||||
![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-redis)
|
||||
[![Dependency Status](https://deps.rs/crate/actix-redis/0.9.2/status.svg)](https://deps.rs/crate/actix-redis/0.9.2)
|
||||
[![Dependency Status](https://deps.rs/crate/actix-redis/0.10.0-beta.1/status.svg)](https://deps.rs/crate/actix-redis/0.10.0-beta.1)
|
||||
|
||||
## Documentation & Resources
|
||||
|
||||
|
@ -382,7 +382,7 @@ mod test {
|
||||
use super::*;
|
||||
use actix_session::Session;
|
||||
use actix_web::{
|
||||
middleware, test, web,
|
||||
middleware, web,
|
||||
web::{get, post, resource},
|
||||
App, HttpResponse, Result,
|
||||
};
|
||||
@ -483,7 +483,7 @@ mod test {
|
||||
// - set-cookie actix-session will be in response (session cookie #3)
|
||||
// - response should be: {"counter": 0, "user_id": None}
|
||||
|
||||
let srv = test::start(|| {
|
||||
let srv = actix_test::start(|| {
|
||||
App::new()
|
||||
.wrap(
|
||||
RedisSession::new("127.0.0.1:6379", &[0; 32])
|
||||
@ -680,7 +680,7 @@ mod test {
|
||||
//
|
||||
// Test that removing max_age results in a session-only cookie
|
||||
//
|
||||
let srv = test::start(|| {
|
||||
let srv = actix_test::start(|| {
|
||||
App::new()
|
||||
.wrap(
|
||||
RedisSession::new("127.0.0.1:6379", &[0; 32])
|
||||
|
Loading…
Reference in New Issue
Block a user