Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(deps): bump the rust-dependencies group with 14 updates #619

Merged
merged 3 commits into from
Oct 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ jobs:

- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{ matrix.toolchain || 'nightly-2024-09-20' }} # until https://github.com/rust-lang/rust-clippy/issues/13457
toolchain: ${{ matrix.toolchain || 'nightly' }}
target: ${{ matrix.target }}
components: ${{ matrix.components || 'rustfmt, clippy' }}

Expand Down
114 changes: 52 additions & 62 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion clash/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ bench = ["clash_lib/bench"]
onion = ["clash_lib/onion"]

[dependencies]
clap = { version = "4.5.18", features = ["derive"] }
clap = { version = "4.5.19", features = ["derive"] }

clash_lib = { path = "../clash_lib", version = "*", default-features = false }
14 changes: 7 additions & 7 deletions clash_lib/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ webpki-roots = "0.26"
# Error handing & logging
thiserror = "1"
anyhow = "1"
opentelemetry = "0.25"
opentelemetry_sdk = { version = "0.25", default-features = false, features = ["trace", "rt-tokio"] }
tracing-opentelemetry = "0.26"
opentelemetry-jaeger-propagator = "0.25"
opentelemetry-otlp = { version = "0.25" }
opentelemetry-semantic-conventions = "0.25"
opentelemetry = "0.26"
opentelemetry_sdk = { version = "0.26", default-features = false, features = ["trace", "rt-tokio"] }
tracing-opentelemetry = "0.27"
opentelemetry-jaeger-propagator = "0.26"
opentelemetry-otlp = { version = "0.26" }
opentelemetry-semantic-conventions = { version = "0.26", features = ["semconv_experimental"] }

# Data structures
url = "2"
Expand All @@ -69,7 +69,7 @@ once_cell = "1"

# Algorithms
crc32fast = "1"
brotli = "6"
brotli = "7"
hmac = "0.12"
sha1 = "0.10"
sha2 = "0.10"
Expand Down
2 changes: 1 addition & 1 deletion clash_lib/src/app/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ pub fn setup_logging(

struct EventVisitor<'a>(&'a mut Vec<String>);

impl<'a> tracing::field::Visit for EventVisitor<'a> {
impl tracing::field::Visit for EventVisitor<'_> {
fn record_bool(&mut self, field: &tracing::field::Field, value: bool) {
println!("bool {} = {}", field.name(), value);
}
Expand Down
2 changes: 1 addition & 1 deletion clash_lib/src/common/io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ struct CopyBidirectional<'a, A: ?Sized, B: ?Sized> {
b_to_a_timeout_duration: Duration,
}

impl<'a, A, B> Future for CopyBidirectional<'a, A, B>
impl<A, B> Future for CopyBidirectional<'_, A, B>
where
A: AsyncRead + AsyncWrite + Unpin + ?Sized,
B: AsyncRead + AsyncWrite + Unpin + ?Sized,
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "nightly-2024-09-20" # until https://github.com/rust-lang/rust-clippy/issues/13457
channel = "nightly" # until https://github.com/rust-lang/rust-clippy/issues/13457
Loading