mirror of
https://github.com/actix/actix-extras.git
synced 2024-11-28 01:32:57 +01:00
Follow upstream change wrt. FramedWrite
This commit is contained in:
parent
fee78223a9
commit
ecc774450f
@ -2,10 +2,14 @@
|
|||||||
|
|
||||||
## [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
|
||||||
|
|
||||||
## [0.9.0-alpha.1]
|
## [0.9.0-alpha.1]
|
||||||
|
|
||||||
|
@ -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 }
|
||||||
|
@ -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>>>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user