mirror of
https://github.com/actix/actix-extras.git
synced 2025-02-02 10:59:03 +01:00
Merge pull request #8 from JohnTitor/migrate-redis
actix-redis: Prepare for new release
This commit is contained in:
commit
880206ee2e
@ -1,5 +1,13 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
|
## [0.8.1] 2020-02-18
|
||||||
|
|
||||||
|
* Move `env_logger` dependency to dev-dependencies and update 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
|
## [0.8.0] 2019-12-20
|
||||||
|
|
||||||
* Release
|
* Release
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "actix-redis"
|
name = "actix-redis"
|
||||||
version = "0.8.0"
|
version = "0.8.1"
|
||||||
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
|
||||||
description = "Redis integration for actix framework"
|
description = "Redis integration for actix framework"
|
||||||
license = "MIT/Apache-2.0"
|
license = "MIT/Apache-2.0"
|
||||||
@ -10,7 +10,7 @@ homepage = "https://github.com/actix/actix-extras"
|
|||||||
repository = "https://github.com/actix/actix-extras.git"
|
repository = "https://github.com/actix/actix-extras.git"
|
||||||
documentation = "https://docs.rs/actix-redis/"
|
documentation = "https://docs.rs/actix-redis/"
|
||||||
categories = ["network-programming", "asynchronous"]
|
categories = ["network-programming", "asynchronous"]
|
||||||
exclude = [".travis.yml", ".cargo/config"]
|
exclude = [".cargo/config"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
@ -44,7 +44,6 @@ actix-session = { version = "0.3.0", optional = true }
|
|||||||
rand = { version = "0.7.0", optional = true }
|
rand = { version = "0.7.0", optional = true }
|
||||||
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
serde = { version = "1.0.101", optional = true, features = ["derive"] }
|
||||||
serde_json = { version = "1.0.40", optional = true }
|
serde_json = { version = "1.0.40", optional = true }
|
||||||
env_logger = "0.6.2"
|
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
env_logger = "0.6"
|
env_logger = "0.7"
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
[![crates.io](https://img.shields.io/crates/v/actix-redis)](https://crates.io/crates/actix-redis)
|
[![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)
|
[![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)
|
![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)
|
[![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
|
## 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)
|
* [Chat on gitter](https://gitter.im/actix/actix)
|
||||||
* Cargo package: [actix-redis](https://crates.io/crates/actix-redis)
|
* Cargo package: [actix-redis](https://crates.io/crates/actix-redis)
|
||||||
* Minimum supported Rust version: 1.39 or later
|
* Minimum supported Rust version: 1.39 or later
|
||||||
|
|
||||||
|
|
||||||
## Redis session backend
|
## Redis session backend
|
||||||
|
|
||||||
Use redis as session storage.
|
Use redis as session storage.
|
||||||
@ -55,8 +54,8 @@ async fn main() -> std::io::Result {
|
|||||||
|
|
||||||
This project is licensed under either of
|
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))
|
* 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 [http://opensource.org/licenses/MIT](http://opensource.org/licenses/MIT))
|
* MIT license ([LICENSE-MIT](LICENSE-MIT) or [https://opensource.org/licenses/MIT](https://opensource.org/licenses/MIT))
|
||||||
|
|
||||||
at your option.
|
at your option.
|
||||||
|
|
||||||
|
@ -373,7 +373,6 @@ mod test {
|
|||||||
};
|
};
|
||||||
use serde::{Deserialize, Serialize};
|
use serde::{Deserialize, Serialize};
|
||||||
use serde_json::json;
|
use serde_json::json;
|
||||||
use time;
|
|
||||||
|
|
||||||
#[derive(Serialize, Deserialize, Debug, PartialEq)]
|
#[derive(Serialize, Deserialize, Debug, PartialEq)]
|
||||||
pub struct IndexResponse {
|
pub struct IndexResponse {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user