Skip to content

Commit 7c95736

Browse files
Merge branch 'actix:master' into master
2 parents 4cf9189 + f61fcbe commit 7c95736

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+827
-191
lines changed

.clippy.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
disallowed-names = [
2+
"e", # no single letter error bindings
3+
]
4+
disallowed-methods = [
5+
"std::cell::RefCell::default()",
6+
"std::rc::Rc::default()",
7+
]

.github/workflows/ci-post-merge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
toolchain: ${{ matrix.version.version }}
5050

5151
- name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean
52-
uses: taiki-e/[email protected].4
52+
uses: taiki-e/[email protected].22
5353
with:
5454
tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
5555

@@ -83,7 +83,7 @@ jobs:
8383
uses: actions-rust-lang/[email protected]
8484

8585
- name: Install just, cargo-hack
86-
uses: taiki-e/[email protected].4
86+
uses: taiki-e/[email protected].22
8787
with:
8888
tool: just,cargo-hack
8989

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
toolchain: ${{ matrix.version.version }}
6565

6666
- name: Install just, cargo-hack, cargo-nextest, cargo-ci-cache-clean
67-
uses: taiki-e/[email protected].4
67+
uses: taiki-e/[email protected].22
6868
with:
6969
tool: just,cargo-hack,cargo-nextest,cargo-ci-cache-clean
7070

@@ -113,7 +113,7 @@ jobs:
113113
toolchain: nightly
114114

115115
- name: Install just
116-
uses: taiki-e/[email protected].4
116+
uses: taiki-e/[email protected].22
117117
with:
118118
tool: just
119119

.github/workflows/coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
components: llvm-tools
2525

2626
- name: Install just, cargo-llvm-cov, cargo-nextest
27-
uses: taiki-e/[email protected].4
27+
uses: taiki-e/[email protected].22
2828
with:
2929
tool: just,cargo-llvm-cov,cargo-nextest
3030

.github/workflows/lint.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676
toolchain: nightly-2024-05-01
7777

7878
- name: Install just
79-
uses: taiki-e/[email protected].4
79+
uses: taiki-e/[email protected].22
8080
with:
8181
tool: just
8282

@@ -105,7 +105,7 @@ jobs:
105105
toolchain: nightly-2024-06-07
106106

107107
- name: Install cargo-public-api
108-
uses: taiki-e/[email protected].4
108+
uses: taiki-e/[email protected].22
109109
with:
110110
tool: cargo-public-api
111111

actix-files/src/service.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ impl FilesService {
7979

8080
let (req, _) = req.into_parts();
8181

82-
(self.renderer)(&dir, &req).unwrap_or_else(|e| ServiceResponse::from_err(e, req))
82+
(self.renderer)(&dir, &req).unwrap_or_else(|err| ServiceResponse::from_err(err, req))
8383
}
8484
}
8585

actix-http-test/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ pub async fn test_server_with_addr<F: ServerServiceFactory<TcpStream>>(
106106
builder.set_verify(SslVerifyMode::NONE);
107107
let _ = builder
108108
.set_alpn_protos(b"\x02h2\x08http/1.1")
109-
.map_err(|e| log::error!("Can not set alpn protocol: {:?}", e));
109+
.map_err(|err| log::error!("Can not set ALPN protocol: {err}"));
110110

111111
Connector::new()
112112
.conn_lifetime(Duration::from_secs(0))

actix-http/CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## Unreleased
44

5+
## 3.9.0
6+
57
### Added
68

79
- Implement `FromIterator<(HeaderName, HeaderValue)>` for `HeaderMap`.

actix-http/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "actix-http"
3-
version = "3.8.0"
3+
version = "3.9.0"
44
authors = [
55
"Nikolay Kim <[email protected]>",
66
"Rob Ede <[email protected]>",

actix-http/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
<!-- prettier-ignore-start -->
66

77
[![crates.io](https://img.shields.io/crates/v/actix-http?label=latest)](https://crates.io/crates/actix-http)
8-
[![Documentation](https://docs.rs/actix-http/badge.svg?version=3.8.0)](https://docs.rs/actix-http/3.8.0)
8+
[![Documentation](https://docs.rs/actix-http/badge.svg?version=3.9.0)](https://docs.rs/actix-http/3.9.0)
99
![Version](https://img.shields.io/badge/rustc-1.72+-ab6000.svg)
1010
![MIT or Apache 2.0 licensed](https://img.shields.io/crates/l/actix-http.svg)
1111
<br />
12-
[![dependency status](https://deps.rs/crate/actix-http/3.8.0/status.svg)](https://deps.rs/crate/actix-http/3.8.0)
12+
[![dependency status](https://deps.rs/crate/actix-http/3.9.0/status.svg)](https://deps.rs/crate/actix-http/3.9.0)
1313
[![Download](https://img.shields.io/crates/d/actix-http.svg)](https://crates.io/crates/actix-http)
1414
[![Chat on Discord](https://img.shields.io/discord/771444961383153695?label=chat&logo=discord)](https://discord.gg/NWpN5mmg3x)
1515

0 commit comments

Comments
 (0)