From 66edc228c350a276545aa04c1551b6f5c45824af Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Tue, 18 Feb 2020 08:01:26 +0900 Subject: [PATCH 1/3] Prepare for new release --- actix-redis/CHANGES.md | 8 ++++++++ actix-redis/Cargo.toml | 6 +++--- actix-redis/README.md | 9 ++++----- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/actix-redis/CHANGES.md b/actix-redis/CHANGES.md index 8e0f972bc..7cad21227 100644 --- a/actix-redis/CHANGES.md +++ b/actix-redis/CHANGES.md @@ -1,5 +1,13 @@ # Changes +## [0.8.1] 2020-02-18 + +* Update `env_logger` to 0.7 + +* Update `actix_web` to 2.0.0 from 2.0.0-rc + +* Move repository to actix-extras + ## [0.8.0] 2019-12-20 * Release diff --git a/actix-redis/Cargo.toml b/actix-redis/Cargo.toml index 0c851394e..900bee57f 100644 --- a/actix-redis/Cargo.toml +++ b/actix-redis/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-redis" -version = "0.8.0" +version = "0.8.1" authors = ["Nikolay Kim "] description = "Redis integration for actix framework" license = "MIT/Apache-2.0" @@ -10,7 +10,7 @@ homepage = "https://github.com/actix/actix-extras" repository = "https://github.com/actix/actix-extras.git" documentation = "https://docs.rs/actix-redis/" categories = ["network-programming", "asynchronous"] -exclude = [".travis.yml", ".cargo/config"] +exclude = [".cargo/config"] edition = "2018" [lib] @@ -44,7 +44,7 @@ actix-session = { version = "0.3.0", optional = true } rand = { version = "0.7.0", optional = true } serde = { version = "1.0.101", optional = true, features = ["derive"] } serde_json = { version = "1.0.40", optional = true } -env_logger = "0.6.2" +env_logger = "0.7" [dev-dependencies] env_logger = "0.6" diff --git a/actix-redis/README.md b/actix-redis/README.md index b6e54fe98..e4f3e0639 100644 --- a/actix-redis/README.md +++ b/actix-redis/README.md @@ -2,7 +2,7 @@ [![crates.io](https://img.shields.io/crates/v/actix-redis)](https://crates.io/crates/actix-redis) [![Documentation](https://docs.rs/actix-redis/badge.svg)](https://docs.rs/actix-redis) -[![Dependency Status](https://deps.rs/crate/actix-redis/0.8.0/status.svg)](https://deps.rs/crate/actix-redis/0.8.0) +[![Dependency Status](https://deps.rs/crate/actix-redis/0.8.1/status.svg)](https://deps.rs/crate/actix-redis/0.8.1) ![Apache 2.0 or MIT licensed](https://img.shields.io/crates/l/actix-redis) [![Join the chat at https://gitter.im/actix/actix](https://badges.gitter.im/actix/actix.svg)](https://gitter.im/actix/actix?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) @@ -10,12 +10,11 @@ ## Documentation -* [API Documentation](http://actix.rs/actix-extras/actix_redis/) +* [API Documentation](https://actix.rs/actix-extras/actix_redis/) * [Chat on gitter](https://gitter.im/actix/actix) * Cargo package: [actix-redis](https://crates.io/crates/actix-redis) * Minimum supported Rust version: 1.39 or later - ## Redis session backend Use redis as session storage. @@ -55,8 +54,8 @@ async fn main() -> std::io::Result { This project is licensed under either of -* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or [http://www.apache.org/licenses/LICENSE-2.0](http://www.apache.org/licenses/LICENSE-2.0)) -* MIT license ([LICENSE-MIT](LICENSE-MIT) or [http://opensource.org/licenses/MIT](http://opensource.org/licenses/MIT)) +* Apache License, Version 2.0, ([LICENSE-APACHE](LICENSE-APACHE) or [https://www.apache.org/licenses/LICENSE-2.0](https://www.apache.org/licenses/LICENSE-2.0)) +* MIT license ([LICENSE-MIT](LICENSE-MIT) or [https://opensource.org/licenses/MIT](https://opensource.org/licenses/MIT)) at your option. From e225e2aec7a0f2a6f215dd5c864f59aa5875b83e Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Tue, 18 Feb 2020 08:11:36 +0900 Subject: [PATCH 2/3] Move `env_logger` to dev-dependencies --- actix-redis/CHANGES.md | 2 +- actix-redis/Cargo.toml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/actix-redis/CHANGES.md b/actix-redis/CHANGES.md index 7cad21227..343f11074 100644 --- a/actix-redis/CHANGES.md +++ b/actix-redis/CHANGES.md @@ -2,7 +2,7 @@ ## [0.8.1] 2020-02-18 -* Update `env_logger` to 0.7 +* Move `env_logger` dependency to dev-dependencies and update to 0.7 * Update `actix_web` to 2.0.0 from 2.0.0-rc diff --git a/actix-redis/Cargo.toml b/actix-redis/Cargo.toml index 900bee57f..cda5b7885 100644 --- a/actix-redis/Cargo.toml +++ b/actix-redis/Cargo.toml @@ -44,7 +44,6 @@ actix-session = { version = "0.3.0", optional = true } rand = { version = "0.7.0", optional = true } serde = { version = "1.0.101", optional = true, features = ["derive"] } serde_json = { version = "1.0.40", optional = true } -env_logger = "0.7" [dev-dependencies] -env_logger = "0.6" +env_logger = "0.7" From 8bc0227ec817c9c004402ee880367d07f8fe3668 Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Tue, 18 Feb 2020 08:22:33 +0900 Subject: [PATCH 3/3] Fix clippy warning --- actix-redis/src/session.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/actix-redis/src/session.rs b/actix-redis/src/session.rs index 474d1136d..8a2816351 100644 --- a/actix-redis/src/session.rs +++ b/actix-redis/src/session.rs @@ -373,7 +373,6 @@ mod test { }; use serde::{Deserialize, Serialize}; use serde_json::json; - use time; #[derive(Serialize, Deserialize, Debug, PartialEq)] pub struct IndexResponse {