Skip to content

Commit 3cc3aa2

Browse files
build(deps): bump the rust-dependencies group with 13 updates (#756)
* build(deps): bump the rust-dependencies group with 13 updates Bumps the rust-dependencies group with 13 updates: | Package | From | To | | --- | --- | --- | | [clap](https://github.com/clap-rs/clap) | `4.5.31` | `4.5.32` | | [tokio](https://github.com/tokio-rs/tokio) | `1.44.0` | `1.44.1` | | [tokio-util](https://github.com/tokio-rs/tokio) | `0.7.13` | `0.7.14` | | [async-trait](https://github.com/dtolnay/async-trait) | `0.1.87` | `0.1.88` | | [http](https://github.com/hyperium/http) | `1.2.0` | `1.3.1` | | [http-body-util](https://github.com/hyperium/http-body) | `0.1.2` | `0.1.3` | | [uuid](https://github.com/uuid-rs/uuid) | `1.15.1` | `1.16.0` | | [libc](https://github.com/rust-lang/libc) | `0.2.170` | `0.2.171` | | [once_cell](https://github.com/matklad/once_cell) | `1.20.3` | `1.21.1` | | [h3](https://github.com/hyperium/h3) | `0.0.6` | `0.0.7` | | [h3-quinn](https://github.com/hyperium/h3) | `0.0.7` | `0.0.8` | | [russh](https://github.com/warp-tech/russh) | `0.50.4` | `0.51.1` | | [tempfile](https://github.com/Stebalien/tempfile) | `3.18.0` | `3.19.0` | Updates `clap` from 4.5.31 to 4.5.32 - [Release notes](https://github.com/clap-rs/clap/releases) - [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md) - [Commits](clap-rs/clap@v4.5.31...clap_complete-v4.5.32) Updates `tokio` from 1.44.0 to 1.44.1 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](tokio-rs/tokio@tokio-1.44.0...tokio-1.44.1) Updates `tokio-util` from 0.7.13 to 0.7.14 - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](tokio-rs/tokio@tokio-util-0.7.13...tokio-util-0.7.14) Updates `async-trait` from 0.1.87 to 0.1.88 - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](dtolnay/async-trait@0.1.87...0.1.88) Updates `http` from 1.2.0 to 1.3.1 - [Release notes](https://github.com/hyperium/http/releases) - [Changelog](https://github.com/hyperium/http/blob/master/CHANGELOG.md) - [Commits](hyperium/http@v1.2.0...v1.3.1) Updates `http-body-util` from 0.1.2 to 0.1.3 - [Release notes](https://github.com/hyperium/http-body/releases) - [Commits](hyperium/http-body@http-body-util-v0.1.2...http-body-util-v0.1.3) Updates `uuid` from 1.15.1 to 1.16.0 - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](uuid-rs/uuid@v1.15.1...v1.16.0) Updates `libc` from 0.2.170 to 0.2.171 - [Release notes](https://github.com/rust-lang/libc/releases) - [Changelog](https://github.com/rust-lang/libc/blob/0.2.171/CHANGELOG.md) - [Commits](rust-lang/libc@0.2.170...0.2.171) Updates `once_cell` from 1.20.3 to 1.21.1 - [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md) - [Commits](matklad/once_cell@v1.20.3...v1.21.1) Updates `h3` from 0.0.6 to 0.0.7 - [Release notes](https://github.com/hyperium/h3/releases) - [Changelog](https://github.com/hyperium/h3/blob/master/changelog-h3-quinn.md) - [Commits](hyperium/h3@h3-v0.0.6...h3-v0.0.7) Updates `h3-quinn` from 0.0.7 to 0.0.8 - [Release notes](https://github.com/hyperium/h3/releases) - [Changelog](https://github.com/hyperium/h3/blob/master/changelog-h3-quinn.md) - [Commits](hyperium/h3@h3-quinn-v0.0.7...h3-quinn-v0.0.8) Updates `russh` from 0.50.4 to 0.51.1 - [Release notes](https://github.com/warp-tech/russh/releases) - [Commits](Eugeny/russh@v0.50.4...v0.51.1) Updates `tempfile` from 3.18.0 to 3.19.0 - [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md) - [Commits](Stebalien/tempfile@v3.18.0...v3.19.0) --- updated-dependencies: - dependency-name: clap dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies - dependency-name: tokio dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies - dependency-name: tokio-util dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies - dependency-name: http dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-dependencies - dependency-name: http-body-util dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-dependencies - dependency-name: libc dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies - dependency-name: once_cell dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-dependencies - dependency-name: h3 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies - dependency-name: h3-quinn dependency-type: direct:production update-type: version-update:semver-patch dependency-group: rust-dependencies - dependency-name: russh dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-dependencies - dependency-name: tempfile dependency-type: direct:production update-type: version-update:semver-minor dependency-group: rust-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * f * enable features for ffi --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: dev0 <dev@watfaq.com>
1 parent 47236aa commit 3cc3aa2

File tree

4 files changed

+81
-54
lines changed

4 files changed

+81
-54
lines changed

Cargo.lock

+73-47
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clash_ffi/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ version = { workspace = true }
55
edition = { workspace = true }
66

77
[dependencies]
8-
clash_lib = { path = "../clash_lib" }
8+
clash_lib = { path = "../clash_lib", default-features = false, features = ["shadowsocks", "tuic", "ssh", "zero_copy"] }
99

1010
[lib]
1111
name = "clashrs"

clash_lib/Cargo.toml

+5-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ hyper-util = "0.1"
3030

3131
# Network proto
3232
http = { version = "1" }
33-
http-body-util = "0.1.2"
33+
http-body-util = "0.1.3"
3434
socket2 = { version = "0.5", features = ["all"] }
3535
tokio-tungstenite = "0.26.2"
3636

@@ -138,8 +138,8 @@ register-count = { version = "0.1", optional = true }
138138
quinn = { version = "0.11", default-features = false, features = ["futures-io", "runtime-tokio", "rustls"] }
139139

140140
# hysteria2
141-
h3 = "0.0.6"
142-
h3-quinn = "0.0.7"
141+
h3 = "0.0.7"
142+
h3-quinn = "0.0.8"
143143
quinn-proto = "0.11.8"
144144
blake2 = "0.10.6"
145145
digest = "0.10.7"
@@ -150,15 +150,15 @@ criterion = { version = "0.5", features = ["html_reports", "async_tokio"], optio
150150
memory-stats = "1.0.0"
151151

152152
# ssh
153-
russh = { version = "0.50", features = ["async-trait"] , optional = true }
153+
russh = { version = "0.51", features = ["async-trait"] , optional = true }
154154
dirs = { version = "6.0", optional = true }
155155
totp-rs = { version = "^5.3", features = ["serde_support"] , optional = true }
156156

157157
# experimental
158158
downcast-rs = "2.0"
159159

160160
[dev-dependencies]
161-
tempfile = "3.18"
161+
tempfile = "3.19"
162162
mockall = "0.13.1"
163163
tokio-test = "0.4.4"
164164
axum-macros = "0.5.0"

clash_lib/src/proxy/ssh/auth.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ pub async fn authenticate(
126126
Ok(AuthResult::Success) => return Ok(AuthResult::Success),
127127
Ok(AuthResult::Failure {
128128
remaining_methods: methods,
129+
partial_success: _,
129130
}) => {
130131
tried.insert(auth.method().into());
131132
methods
@@ -297,7 +298,7 @@ where
297298
Ok(r) => {
298299
match r {
299300
russh::client::KeyboardInteractiveAuthResponse::Success => return Ok(AuthResult::Success),
300-
russh::client::KeyboardInteractiveAuthResponse::Failure{remaining_methods} => return Ok(AuthResult::Failure{remaining_methods}),
301+
russh::client::KeyboardInteractiveAuthResponse::Failure{remaining_methods,partial_success} => return Ok(AuthResult::Failure{remaining_methods, partial_success}),
301302
russh::client::KeyboardInteractiveAuthResponse::InfoRequest { name, instructions, prompts } => {
302303
let response = (self.handler)(name, instructions, prompts, username);
303304
resp = client.authenticate_keyboard_interactive_respond(response).await;

0 commit comments

Comments
 (0)