1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-23 23:51:06 +01:00

bump session version of redis

This commit is contained in:
Rob Ede 2022-07-09 20:14:27 +01:00
parent ca9879425b
commit 3e002a677b
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
3 changed files with 10 additions and 4 deletions

View File

@ -4,12 +4,16 @@ version = "0.12.0"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"] authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Redis integration for Actix" description = "Redis integration for Actix"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
keywords = ["actix", "redis", "async", "session"] keywords = ["actix", "redis", "async"]
homepage = "https://actix.rs" homepage = "https://actix.rs"
repository = "https://github.com/actix/actix-extras.git" repository = "https://github.com/actix/actix-extras.git"
categories = ["network-programming", "asynchronous"] categories = ["network-programming", "asynchronous"]
edition = "2018" edition = "2018"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lib] [lib]
name = "actix_redis" name = "actix_redis"
path = "src/lib.rs" path = "src/lib.rs"

View File

@ -12,7 +12,9 @@
- `SessionLength::BrowserSession::state_ttl` is now called `BrowserSession::session_state_ttl`. [#233] - `SessionLength::BrowserSession::state_ttl` is now called `BrowserSession::session_state_ttl`. [#233]
- `SessionMiddlewareBuilder::max_session_length` is now called `SessionMiddlewareBuilder::session_lifecycle`. [#233] - `SessionMiddlewareBuilder::max_session_length` is now called `SessionMiddlewareBuilder::session_lifecycle`. [#233]
- The `SessionStore` trait requires the implementation of a new method, `SessionStore::update_ttl`. [#233] - The `SessionStore` trait requires the implementation of a new method, `SessionStore::update_ttl`. [#233]
- All types used to configure `SessionMiddleware` have been moved to the `config` sub-module [#233] - All types used to configure `SessionMiddleware` have been moved to the `config` sub-module. [#233]
- Update `actix` dependency to `0.13`.
- Update `actix-redis` dependency to `0.12`.
- Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency. - Minimum supported Rust version (MSRV) is now 1.57 due to transitive `time` dependency.
[#233]: https://github.com/actix/actix-extras/pull/233 [#233]: https://github.com/actix/actix-extras/pull/233

View File

@ -41,8 +41,8 @@ serde_json = { version = "1" }
tracing = { version = "0.1.30", default-features = false, features = ["log"] } tracing = { version = "0.1.30", default-features = false, features = ["log"] }
# redis-actor-session # redis-actor-session
actix = { version = "0.12.0", default-features = false, optional = true } actix = { version = "0.13", default-features = false, optional = true }
actix-redis = { version = "0.11.0", optional = true } actix-redis = { version = "0.12", optional = true }
futures-core = { version = "0.3.7", default-features = false, optional = true } futures-core = { version = "0.3.7", default-features = false, optional = true }
# redis-rs-session # redis-rs-session