Skip to content

Commit 128e1af

Browse files
committed
main merge
2 parents a31cd25 + f6ec283 commit 128e1af

16 files changed

Lines changed: 543 additions & 106 deletions

File tree

Cargo.lock

Lines changed: 59 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ k8s-openapi = { version = "0.27.0", default-features = false, features = ["schem
4343
# We use rustls instead of openssl for easier portability, e.g. so that we can build stackablectl without the need to vendor (build from source) openssl
4444
# We use ring instead of aws-lc-rs, as this currently fails to build in "make run-dev"
4545
kube = { version = "3.1.0", default-features = false, features = ["client", "jsonpatch", "runtime", "derive", "admission", "rustls-tls", "ring"] }
46-
opentelemetry = "0.31.0"
47-
opentelemetry_sdk = { version = "0.31.0", features = ["rt-tokio"] }
48-
opentelemetry-appender-tracing = "0.31.0"
49-
opentelemetry-otlp = "0.31.0"
50-
opentelemetry-semantic-conventions = "0.31.0"
46+
opentelemetry = "0.32.0"
47+
opentelemetry_sdk = { version = "0.32.0", features = ["rt-tokio"] }
48+
opentelemetry-appender-tracing = "0.32.0"
49+
opentelemetry-otlp = "0.32.0"
50+
opentelemetry-semantic-conventions = "0.32.0"
5151
p256 = { version = "0.13.2", features = ["ecdsa"] }
5252
paste = "1.0.15"
5353
pin-project = "1.1.5"
@@ -68,10 +68,10 @@ serde_json = "1.0.128"
6868
serde_yaml = "0.9.34" # This is the last available version, see https://github.com/dtolnay/serde-yaml/releases/tag/0.9.34 for details
6969
sha2 = { version = "0.10.8", features = ["oid"] }
7070
signature = "2.2.0"
71-
snafu = "0.9.0"
71+
snafu = "0.9.1"
7272
stackable-operator-derive = { path = "stackable-operator-derive" }
7373
strum = { version = "0.28.0", features = ["derive"] }
74-
syn = "2.0.77"
74+
syn = "2.0.117"
7575
tempfile = "3.12.0"
7676
time = { version = "0.3.36" }
7777
tokio = { version = "1.40.0", features = ["macros", "rt-multi-thread", "fs"] }
@@ -82,11 +82,12 @@ tower = { version = "0.5.1", features = ["util"] }
8282
tower-http = { version = "0.6.1", features = ["trace"] }
8383
tracing = "0.1.40"
8484
tracing-appender = "0.2.3"
85-
tracing-opentelemetry = "0.32.0"
85+
tracing-opentelemetry = "0.33.0"
8686
tracing-subscriber = { version = "0.3.18", features = ["env-filter", "json"] }
8787
trybuild = "1.0.99"
8888
url = { version = "2.5.2", features = ["serde"] }
8989
uuid = "1.23"
90+
winnow = "1.0.3"
9091
x509-cert = { version = "0.2.5", features = ["builder"] }
9192
zeroize = "1.8.1"
9293

crates/k8s-version/src/level/mod.rs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,18 @@ pub enum Level {
4747
impl FromStr for Level {
4848
type Err = ParseLevelError;
4949

50-
// SAFETY: We purposefully allow the `clippy::unwrap_in_result` lint below in this function.
51-
// We can use expect here, because the correct match labels must be used.
52-
//
53-
// FIXME (@Techassi): This attribute can be used on individual unwrap and expect calls since
54-
// Rust 1.91.0. We should move this attribute to not contaminate an unnecessarily large scope
55-
// once we bump the toolchain to 1.91.0.
56-
// See https://github.com/rust-lang/rust-clippy/pull/15445
57-
#[allow(clippy::unwrap_in_result)]
5850
fn from_str(input: &str) -> Result<Self, Self::Err> {
5951
let captures = LEVEL_REGEX.captures(input).context(InvalidFormatSnafu)?;
6052

53+
// SAFETY: We purposefully allow the `clippy::unwrap_in_result` lint here and below.
54+
// We can use expect here, because the correct match labels must be used.
55+
#[allow(clippy::unwrap_in_result)]
6156
let identifier = captures
6257
.name("identifier")
6358
.expect("internal error: check that the correct match label is specified")
6459
.as_str();
6560

61+
#[allow(clippy::unwrap_in_result)]
6662
let version = captures
6763
.name("version")
6864
.expect("internal error: check that the correct match label is specified")

crates/k8s-version/src/version/mod.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,17 +53,13 @@ pub struct Version {
5353
impl FromStr for Version {
5454
type Err = ParseVersionError;
5555

56-
// SAFETY: We purposefully allow the `clippy::unwrap_in_result` lint below in this function.
57-
// We can use expect here, because the correct match label must be used.
58-
//
59-
// FIXME (@Techassi): This attribute can be used on individual unwrap and expect calls since
60-
// Rust 1.91.0. We should move this attribute to not contaminate an unnecessarily large scope
61-
// once we bump the toolchain to 1.91.0.
62-
// See https://github.com/rust-lang/rust-clippy/pull/15445
6356
#[allow(clippy::unwrap_in_result)]
6457
fn from_str(input: &str) -> Result<Self, Self::Err> {
6558
let captures = VERSION_REGEX.captures(input).context(InvalidFormatSnafu)?;
6659

60+
// SAFETY: We purposefully allow the `clippy::unwrap_in_result` lint below.
61+
// We can use expect here, because the correct match label must be used.
62+
#[allow(clippy::unwrap_in_result)]
6763
let major = captures
6864
.name("major")
6965
.expect("internal error: check that the correct match label is specified")

0 commit comments

Comments
 (0)