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

Merge pull request #53 from JohnTitor/framed-write

Follow upstream change wrt. `FramedWrite`
This commit is contained in:
Yuki Okushi 2020-05-17 12:27:24 +09:00 committed by GitHub
commit 8bf33648ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 41 additions and 15 deletions

View File

@ -8,7 +8,7 @@ jobs:
fail-fast: false
matrix:
version:
- 1.39.0
- 1.40.0
name: ${{ matrix.version }} - x86_64-unknown-linux-gnu
runs-on: ubuntu-latest
@ -30,8 +30,8 @@ jobs:
profile: minimal
override: true
- name: tests (1.39.0)
if: matrix.version == '1.39.0'
- name: tests (1.40.0)
if: matrix.version == '1.40.0'
uses: actions-rs/cargo@v1
timeout-minutes: 40
with:

View File

@ -1,5 +1,9 @@
# Changes
## [unreleased]
* Minimum supported Rust version(MSRV) is now 1.40.0.
## [0.3.0-alpha.1] - 2020-03-11
* Minimize `futures-*` dependencies

View File

@ -14,4 +14,4 @@
* [API Documentation](https://docs.rs/actix-cors/)
* [Chat on gitter](https://gitter.im/actix/actix)
* Cargo package: [actix-cors](https://crates.io/crates/actix-cors)
* Minimum supported Rust version: 1.39.0 or later
* Minimum supported Rust version: 1.40.0 or later

View File

@ -1,5 +1,9 @@
# Changes
## [unreleased]
* Minimum supported Rust version(MSRV) is now 1.40.0.
## [0.3.0-alpha.1] - 2020-03-14
* Update the `time` dependency to 0.2.7

View File

@ -16,4 +16,4 @@
* [API Documentation](https://docs.rs/actix-identity/)
* [Chat on gitter](https://gitter.im/actix/actix)
* Cargo package: [actix-identity](https://crates.io/crates/actix-identity)
* Minimum supported Rust version: 1.39 or later
* Minimum supported Rust version: 1.40 or later

View File

@ -1,5 +1,9 @@
# Changes
## unreleased (for alpha version)
* Minimum supported Rust version(MSRV) is now 1.40.0.
## 0.5.1 (2019-02-17)
* Move repository to actix-extras

View File

@ -8,7 +8,7 @@
> Protobuf support for actix-web framework.
* Minimum supported Rust version: 1.39.0 or later
* Minimum supported Rust version: 1.40.0 or later
## Example

View File

@ -2,10 +2,16 @@
## [Unreleased]
* Added `cookie_http_only` functionality to RedisSession builder, setting this
* Add `cookie_http_only` functionality to RedisSession builder, setting this
to false allows JavaScript to access cookies. Defaults to true.
* Changed type of parameter of ttl method to u32.
* Change type of parameter of ttl method to u32.
* Update `actix` to 0.10.0-alpha.3
* Update `tokio-util` to 0.3
* Minimum supported Rust version(MSRV) is now 1.40.0.
## [0.9.0-alpha.1]

View File

@ -24,7 +24,7 @@ default = ["web"]
web = ["actix-http/actors", "actix-service", "actix-web", "actix-session/cookie-session", "rand", "serde", "serde_json"]
[dependencies]
actix = "0.10.0-alpha.2"
actix = "0.10.0-alpha.3"
actix-utils = "1.0.3"
log = "0.4.6"
@ -35,11 +35,11 @@ redis-async = "0.6.1"
actix-rt = "1.0.0"
time = "0.2.9"
tokio = "0.2.6"
tokio-util = "0.2.0"
tokio-util = "0.3.0"
# actix-session
actix-web = { version = "3.0.0-alpha.1", optional = true }
actix-http = { version = "2.0.0-alpha.2", optional = true }
actix-web = { version = "3.0.0-alpha.2", optional = true }
actix-http = { version = "2.0.0-alpha.3", optional = true }
actix-service = { version = "1.0.0", optional = true }
actix-session = { version = "0.4.0-alpha.1", optional = true }
rand = { version = "0.7.0", optional = true }

View File

@ -13,7 +13,7 @@
* [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
* Minimum supported Rust version: 1.40 or later
## Redis session backend

View File

@ -27,7 +27,7 @@ impl Message for Command {
pub struct RedisActor {
addr: String,
backoff: ExponentialBackoff,
cell: Option<actix::io::FramedWrite<WriteHalf<TcpStream>, RespCodec>>,
cell: Option<actix::io::FramedWrite<RespValue, WriteHalf<TcpStream>, RespCodec>>,
queue: VecDeque<oneshot::Sender<Result<RespValue, Error>>>,
}

View File

@ -1,5 +1,9 @@
# Changes
## unreleased
* Minimum supported Rust version(MSRV) is now 1.40.0.
## [0.4.0-alpha.1] - 2020-03-14
* Update the `time` dependency to 0.2.7

View File

@ -16,4 +16,4 @@
* [API Documentation](https://docs.rs/actix-session/)
* [Chat on gitter](https://gitter.im/actix/actix)
* Cargo package: [actix-session](https://crates.io/crates/actix-session)
* Minimum supported Rust version: 1.34 or later
* Minimum supported Rust version: 1.40 or later

View File

@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## unreleased (for alpha version)
* Minimum supported Rust version(MSRV) is now 1.40.0.
## [unreleased]
- Update the `base64` dependency to 0.12