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

View File

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

View File

@ -14,4 +14,4 @@
* [API Documentation](https://docs.rs/actix-cors/) * [API Documentation](https://docs.rs/actix-cors/)
* [Chat on gitter](https://gitter.im/actix/actix) * [Chat on gitter](https://gitter.im/actix/actix)
* Cargo package: [actix-cors](https://crates.io/crates/actix-cors) * 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 # Changes
## [unreleased]
* Minimum supported Rust version(MSRV) is now 1.40.0.
## [0.3.0-alpha.1] - 2020-03-14 ## [0.3.0-alpha.1] - 2020-03-14
* Update the `time` dependency to 0.2.7 * Update the `time` dependency to 0.2.7

View File

@ -16,4 +16,4 @@
* [API Documentation](https://docs.rs/actix-identity/) * [API Documentation](https://docs.rs/actix-identity/)
* [Chat on gitter](https://gitter.im/actix/actix) * [Chat on gitter](https://gitter.im/actix/actix)
* Cargo package: [actix-identity](https://crates.io/crates/actix-identity) * 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 # Changes
## unreleased (for alpha version)
* Minimum supported Rust version(MSRV) is now 1.40.0.
## 0.5.1 (2019-02-17) ## 0.5.1 (2019-02-17)
* Move repository to actix-extras * Move repository to actix-extras

View File

@ -8,7 +8,7 @@
> Protobuf support for actix-web framework. > 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 ## Example

View File

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

View File

@ -13,7 +13,7 @@
* [API Documentation](https://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.40 or later
## Redis session backend ## Redis session backend

View File

@ -27,7 +27,7 @@ impl Message for Command {
pub struct RedisActor { pub struct RedisActor {
addr: String, addr: String,
backoff: ExponentialBackoff, 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>>>, queue: VecDeque<oneshot::Sender<Result<RespValue, Error>>>,
} }

View File

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

View File

@ -16,4 +16,4 @@
* [API Documentation](https://docs.rs/actix-session/) * [API Documentation](https://docs.rs/actix-session/)
* [Chat on gitter](https://gitter.im/actix/actix) * [Chat on gitter](https://gitter.im/actix/actix)
* Cargo package: [actix-session](https://crates.io/crates/actix-session) * 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/) 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). 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] ## [unreleased]
- Update the `base64` dependency to 0.12 - Update the `base64` dependency to 0.12