Skip to content

Commit

Permalink
prepare service 2.0.0-beta.4 release (#269)
Browse files Browse the repository at this point in the history
  • Loading branch information
robjtede authored Feb 4, 2021
1 parent c918da9 commit a77b70a
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 11 deletions.
2 changes: 1 addition & 1 deletion actix-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ quote = "1.0.3"
syn = { version = "^1", features = ["full"] }

[dev-dependencies]
actix-rt = "2.0.0-beta.3"
actix-rt = "2.0.0"

futures-util = { version = "0.3", default-features = false }
trybuild = "1"
2 changes: 1 addition & 1 deletion actix-server/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ default = []
[dependencies]
actix-codec = "0.4.0-beta.1"
actix-rt = { version = "2.0.0", default-features = false }
actix-service = "2.0.0-beta.3"
actix-service = "2.0.0-beta.4"
actix-utils = "3.0.0-beta.1"

futures-core = { version = "0.3.7", default-features = false, features = ["alloc"] }
Expand Down
11 changes: 7 additions & 4 deletions actix-service/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Changes

## Unreleased - 2021-xx-xx
* `Service::poll_ready` and `Service::call` take `&self`. [#247]
* `apply_fn` and `apply_fn_factory` would take `Fn(Req, &Service)` function type [#247]
* `apply_cfg` and `apply_cfg_factory` would take `Fn(Req, &Service)` function type [#247]
* `fn_service` module would take `Fn(Req)` function type. [#247]


## 2.0.0-beta.4 - 2021-02-04
* `Service::poll_ready` and `Service::call` receive `&self`. [#247]
* `apply_fn` and `apply_fn_factory` now receive `Fn(Req, &Service)` function type. [#247]
* `apply_cfg` and `apply_cfg_factory` now receive `Fn(Req, &Service)` function type. [#247]
* `fn_service` and friends now receive `Fn(Req)` function type. [#247]

[#247]: https://github.com/actix/actix-net/pull/247

Expand Down
3 changes: 2 additions & 1 deletion actix-service/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
[package]
name = "actix-service"
version = "2.0.0-beta.3"
version = "2.0.0-beta.4"
authors = [
"Nikolay Kim <fafhrd91@gmail.com>",
"Rob Ede <robjtede@icloud.com>",
"fakeshadow <24548779@qq.com>",
]
description = "Service trait and combinators for representing asynchronous request/response operations."
keywords = ["network", "framework", "async", "futures", "service"]
Expand Down
8 changes: 8 additions & 0 deletions actix-service/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,12 @@

> Service trait and combinators for representing asynchronous request/response operations.
[![crates.io](https://img.shields.io/crates/v/actix-service?label=latest)](https://crates.io/crates/actix-service)
[![Documentation](https://docs.rs/actix-service/badge.svg?version=2.0.0-beta.4)](https://docs.rs/actix-service/2.0.0-beta.4)
[![Version](https://img.shields.io/badge/rustc-1.46+-ab6000.svg)](https://blog.rust-lang.org/2020/03/12/Rust-1.46.html)
![License](https://img.shields.io/crates/l/actix-service.svg)
[![Dependency Status](https://deps.rs/crate/actix-service/2.0.0-beta.4/status.svg)](https://deps.rs/crate/actix-service/2.0.0-beta.4)
[![Download](https://img.shields.io/crates/d/actix-service.svg)](https://crates.io/crates/actix-service)
[![Chat on Discord](https://img.shields.io/discord/771444961383153695?label=chat&logo=discord)](https://discord.gg/NWpN5mmg3x)

See documentation for detailed explanations of these components: https://docs.rs/actix-service.
2 changes: 1 addition & 1 deletion actix-tls/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ uri = ["http"]
[dependencies]
actix-codec = "0.4.0-beta.1"
actix-rt = { version = "2.0.0", default-features = false }
actix-service = "2.0.0-beta.3"
actix-service = "2.0.0-beta.4"
actix-utils = "3.0.0-beta.1"

derive_more = "0.99.5"
Expand Down
2 changes: 1 addition & 1 deletion actix-tls/src/connect/ssl/rustls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ use actix_codec::{AsyncRead, AsyncWrite};
use actix_service::{Service, ServiceFactory};
use futures_core::{future::LocalBoxFuture, ready};
use log::trace;
use tokio_rustls::{Connect, TlsConnector};
use tokio_rustls::webpki::DNSNameRef;
use tokio_rustls::{Connect, TlsConnector};

use crate::connect::{Address, Connection};

Expand Down
2 changes: 1 addition & 1 deletion actix-tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ name = "actix_tracing"
path = "src/lib.rs"

[dependencies]
actix-service = "2.0.0-beta.3"
actix-service = "2.0.0-beta.4"

futures-util = { version = "0.3.4", default-features = false }
tracing = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion actix-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ path = "src/lib.rs"
[dependencies]
actix-codec = "0.4.0-beta.1"
actix-rt = { version = "2.0.0", default-features = false }
actix-service = "2.0.0-beta.3"
actix-service = "2.0.0-beta.4"

futures-core = { version = "0.3.7", default-features = false }
futures-sink = { version = "0.3.7", default-features = false }
Expand Down

0 comments on commit a77b70a

Please sign in to comment.