Skip to content

Commit

Permalink
build(deps): bump the rust-dependencies group with 12 updates (#587)
Browse files Browse the repository at this point in the history
* build(deps): bump the rust-dependencies group with 12 updates

Bumps the rust-dependencies group with 12 updates:

| Package | From | To |
| --- | --- | --- |
| [hyper-util](https://github.com/hyperium/hyper-util) | `0.1.7` | `0.1.8` |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.86` | `1.0.87` |
| [opentelemetry](https://github.com/open-telemetry/opentelemetry-rust) | `0.24.0` | `0.25.0` |
| [opentelemetry_sdk](https://github.com/open-telemetry/opentelemetry-rust) | `0.24.1` | `0.25.0` |
| [tracing-opentelemetry](https://github.com/tokio-rs/tracing-opentelemetry) | `0.25.0` | `0.26.0` |
| [opentelemetry-jaeger-propagator](https://github.com/open-telemetry/opentelemetry-rust) | `0.3.0` | `0.25.0` |
| [opentelemetry-otlp](https://github.com/open-telemetry/opentelemetry-rust) | `0.17.0` | `0.25.0` |
| [opentelemetry-semantic-conventions](https://github.com/open-telemetry/opentelemetry-rust) | `0.16.0` | `0.25.0` |
| [ipnet](https://github.com/krisprice/ipnet) | `2.9.0` | `2.10.0` |
| [tower](https://github.com/tower-rs/tower) | `0.5.0` | `0.5.1` |
| [serde](https://github.com/serde-rs/serde) | `1.0.209` | `1.0.210` |
| [shadowsocks](https://github.com/shadowsocks/shadowsocks-rust) | `1.20.2` | `1.20.3` |


Updates `hyper-util` from 0.1.7 to 0.1.8
- [Release notes](https://github.com/hyperium/hyper-util/releases)
- [Changelog](https://github.com/hyperium/hyper-util/blob/master/CHANGELOG.md)
- [Commits](hyperium/hyper-util@v0.1.7...v0.1.8)

Updates `anyhow` from 1.0.86 to 1.0.87
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](dtolnay/anyhow@1.0.86...1.0.87)

Updates `opentelemetry` from 0.24.0 to 0.25.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](open-telemetry/opentelemetry-rust@opentelemetry-0.24.0...opentelemetry-0.25.0)

Updates `opentelemetry_sdk` from 0.24.1 to 0.25.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](open-telemetry/opentelemetry-rust@opentelemetry_sdk-0.24.1...opentelemetry_sdk-0.25.0)

Updates `tracing-opentelemetry` from 0.25.0 to 0.26.0
- [Release notes](https://github.com/tokio-rs/tracing-opentelemetry/releases)
- [Changelog](https://github.com/tokio-rs/tracing-opentelemetry/blob/v0.1.x/CHANGELOG.md)
- [Commits](tokio-rs/tracing-opentelemetry@v0.25.0...v0.26.0)

Updates `opentelemetry-jaeger-propagator` from 0.3.0 to 0.25.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](open-telemetry/opentelemetry-rust@opentelemetry-jaeger-propagator-0.3.0...opentelemetry-jaeger-propagator-0.25.0)

Updates `opentelemetry-otlp` from 0.17.0 to 0.25.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](open-telemetry/opentelemetry-rust@opentelemetry-otlp-0.17.0...opentelemetry-otlp-0.25.0)

Updates `opentelemetry-semantic-conventions` from 0.16.0 to 0.25.0
- [Release notes](https://github.com/open-telemetry/opentelemetry-rust/releases)
- [Commits](open-telemetry/opentelemetry-rust@opentelemetry-semantic-conventions-0.16.0...opentelemetry-semantic-conventions-0.25.0)

Updates `ipnet` from 2.9.0 to 2.10.0
- [Release notes](https://github.com/krisprice/ipnet/releases)
- [Changelog](https://github.com/krisprice/ipnet/blob/master/RELEASES.md)
- [Commits](krisprice/ipnet@2.9.0...2.10.0)

Updates `tower` from 0.5.0 to 0.5.1
- [Release notes](https://github.com/tower-rs/tower/releases)
- [Commits](tower-rs/tower@tower-0.5.0...tower-0.5.1)

Updates `serde` from 1.0.209 to 1.0.210
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](serde-rs/serde@v1.0.209...v1.0.210)

Updates `shadowsocks` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/shadowsocks/shadowsocks-rust/releases)
- [Commits](shadowsocks/shadowsocks-rust@v1.20.2...v1.20.3)

---
updated-dependencies:
- dependency-name: hyper-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: opentelemetry
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: opentelemetry_sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: tracing-opentelemetry
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: opentelemetry-jaeger-propagator
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: opentelemetry-otlp
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: opentelemetry-semantic-conventions
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: ipnet
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: rust-dependencies
- dependency-name: tower
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
- dependency-name: shadowsocks
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: rust-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix ci

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: iHsin <itsusinn@meowcat.org>
  • Loading branch information
dependabot[bot] and iHsin authored Sep 11, 2024
1 parent 90223de commit bb415ea
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 56 deletions.
95 changes: 47 additions & 48 deletions Cargo.lock

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

12 changes: 6 additions & 6 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.24"
opentelemetry_sdk = { version = "0.24", default-features = false, features = ["trace", "rt-tokio"] }
tracing-opentelemetry = "0.25"
opentelemetry-jaeger-propagator = "0.3"
opentelemetry-otlp = { version = "0.17" }
opentelemetry-semantic-conventions = "0.16"
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"

# Data structures
url = "2"
Expand Down
4 changes: 2 additions & 2 deletions clash_lib/src/app/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use opentelemetry::{
};
use opentelemetry_sdk::{trace, Resource};
use opentelemetry_semantic_conventions::{
resource::{DEPLOYMENT_ENVIRONMENT, SERVICE_NAME, SERVICE_VERSION},
resource::{DEPLOYMENT_ENVIRONMENT_NAME, SERVICE_NAME, SERVICE_VERSION},
SCHEMA_URL,
};
use serde::Serialize;
Expand Down Expand Up @@ -124,7 +124,7 @@ pub fn setup_logging(
KeyValue::new(SERVICE_NAME, env!("CARGO_PKG_NAME")),
KeyValue::new(SERVICE_VERSION, env!("CARGO_PKG_VERSION")),
KeyValue::new(
DEPLOYMENT_ENVIRONMENT,
DEPLOYMENT_ENVIRONMENT_NAME,
std::env::var("PROFILE").unwrap_or_default(),
),
],
Expand Down

0 comments on commit bb415ea

Please sign in to comment.