Skip to content

Commit a5fd57e

Browse files
committed
minor update
1 parent 2fc13bc commit a5fd57e

File tree

6 files changed

+22
-22
lines changed

6 files changed

+22
-22
lines changed

.github/workflows/auto-merge.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
if: github.actor == 'dependabot[bot]'
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@v5
1717
with:
1818
token: ${{ secrets.GITHUB_TOKEN }}
1919
- uses: dtolnay/rust-toolchain@stable

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
runs-on: ${{ matrix.host_os }}
4242
steps:
43-
- uses: actions/checkout@v4
43+
- uses: actions/checkout@v5
4444
- uses: dtolnay/rust-toolchain@stable
4545

4646
- name: Prepare

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
runs-on: ${{ matrix.os }}
2424

2525
steps:
26-
- uses: actions/checkout@v4
26+
- uses: actions/checkout@v5
2727
- uses: dtolnay/rust-toolchain@stable
2828
- name: rustfmt
2929
run: cargo fmt --all -- --check
@@ -51,7 +51,7 @@ jobs:
5151
os: [ubuntu-latest, macos-latest, windows-latest]
5252
runs-on: ${{ matrix.os }}
5353
steps:
54-
- uses: actions/checkout@v4
54+
- uses: actions/checkout@v5
5555
- uses: dtolnay/rust-toolchain@stable
5656
- name: Check semver
5757
if: ${{ !cancelled() }}

Cargo.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ server = ["tokio"]
2121
tokio = ["dep:tokio", "async-trait"]
2222

2323
[dependencies]
24-
async-trait = { version = "0.1", optional = true }
25-
bytes = "1"
26-
percent-encoding = "2"
27-
serde = { version = "1", features = ["derive"], optional = true }
28-
thiserror = "2"
29-
tokio = { version = "1", default-features = false, features = [
24+
async-trait = { version = "0.1.89", optional = true }
25+
bytes = "1.11.0"
26+
percent-encoding = "2.3.2"
27+
serde = { version = "1.0.228", features = ["derive"], optional = true }
28+
thiserror = "2.0.17"
29+
tokio = { version = "1.48.0", default-features = false, features = [
3030
"net",
3131
"io-util",
3232
"time",
@@ -35,16 +35,16 @@ tokio = { version = "1", default-features = false, features = [
3535
], optional = true }
3636

3737
[dev-dependencies]
38-
clap = { version = "4", features = ["derive"] }
39-
ctrlc2 = { version = "3", features = ["async", "termination"] }
40-
dotenvy = "0.15"
41-
env_logger = "0.11"
42-
hickory-proto = "0.25"
43-
log = "0.4"
44-
moka = { version = "0.12", features = ["future"] }
45-
rand = "0.9"
46-
tokio = { version = "1", features = ["rt-multi-thread"] }
47-
tokio-util = { version = "0.7", features = [] }
38+
clap = { version = "4.5.53", features = ["derive"] }
39+
ctrlc2 = { version = "3.7.3", features = ["async", "termination"] }
40+
dotenvy = "0.15.7"
41+
env_logger = "0.11.8"
42+
hickory-proto = "0.25.2"
43+
log = "0.4.29"
44+
moka = { version = "0.12.11", features = ["future"] }
45+
rand = "0.9.2"
46+
tokio = { version = "1.48.0", features = ["rt-multi-thread"] }
47+
tokio-util = { version = "0.7.17", features = [] }
4848

4949
[[example]]
5050
name = "demo-client"

src/server/connection/bind.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ impl Bind<Ready> {
233233

234234
/// Split the connection into a read and a write half.
235235
#[inline]
236-
pub fn split(&mut self) -> (ReadHalf, WriteHalf) {
236+
pub fn split(&mut self) -> (ReadHalf<'_>, WriteHalf<'_>) {
237237
self.stream.split()
238238
}
239239
}

src/server/connection/connect.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ impl Connect<NeedReply> {
6969
impl Connect<Ready> {
7070
/// Returns the read/write half of the stream.
7171
#[inline]
72-
pub fn split(&mut self) -> (ReadHalf, WriteHalf) {
72+
pub fn split(&mut self) -> (ReadHalf<'_>, WriteHalf<'_>) {
7373
self.stream.split()
7474
}
7575

0 commit comments

Comments
 (0)