Skip to content

Commit 3e35f33

Browse files
committed
[chore] update deps
1 parent 352132f commit 3e35f33

File tree

10 files changed

+355
-222
lines changed

10 files changed

+355
-222
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ resolver = "2"
2929
version = "1.6.0-dev"
3030
authors = ["restate.dev"]
3131
edition = "2024"
32-
rust-version = "1.88.0"
32+
rust-version = "1.90.0"
3333
license = "BUSL-1.1"
3434
repository = "https://github.com/restatedev/restate"
3535
homepage = "https://github.com/restatedev/restate"
@@ -133,11 +133,11 @@ datafusion = { version = "50.0.0", default-features = false, features = [
133133
datafusion-expr = { version = "50.0.0" }
134134
derive_builder = "0.20.0"
135135
derive_more = { version = "2.0.1", features = ["full"] }
136-
dialoguer = { version = "0.11.0" }
136+
dialoguer = { version = "0.12.0" }
137137
downcast-rs = { version = "2.0.1" }
138138
enum-map = { version = "2.7.3" }
139139
enumset = { version = "1.1.3" }
140-
etcd-client = { version = "0.14" }
140+
etcd-client = { version = "0.17" }
141141
flexbuffers = { version = "25.2.10" }
142142
futures = "0.3.25"
143143
futures-sink = "0.3.25"
@@ -173,24 +173,23 @@ moka = "0.12.5"
173173
mockall = { version = "0.13.1" }
174174
num-traits = { version = "0.2.17" }
175175
object_store = { version = "0.12.4", features = ["aws", "azure", "gcp"] }
176-
opentelemetry = { version = "0.30" }
177-
opentelemetry-contrib = { version = "0.22" }
178-
opentelemetry-http = { version = "0.30" }
179-
opentelemetry-otlp = { version = "0.30" }
180-
opentelemetry-semantic-conventions = { version = "0.30" }
181-
opentelemetry_sdk = { version = "0.30" }
176+
opentelemetry = { version = "0.31" }
177+
opentelemetry-contrib = { version = "0.23" }
178+
opentelemetry-http = { version = "0.31" }
179+
opentelemetry-otlp = { version = "0.31" }
180+
opentelemetry-semantic-conventions = { version = "0.31" }
181+
opentelemetry_sdk = { version = "0.31" }
182182
parking_lot = { version = "0.12" }
183183
paste = "1.0"
184184
pin-project = "1.0"
185185
pin-project-lite = { version = "0.2" }
186186
prost = { version = "0.14.1" }
187187
prost-build = { version = "0.14.1" }
188-
priority-queue = "2.0.3"
189-
prost-dto = { version = "0.0.3" }
188+
priority-queue = { version = "2.7.0" }
189+
prost-dto = { version = "0.0.4" }
190190
prost-types = { version = "0.14.1" }
191191
rand = "0.9.0"
192192
rangemap = "1.5.1"
193-
rayon = { version = "1.10" }
194193
regex = { version = "1.11" }
195194
reqwest = { version = "0.12", default-features = false, features = [
196195
"json",
@@ -214,7 +213,6 @@ sha2 = "0.10.8"
214213
smartstring = { version = "1.0.1" }
215214
static_assertions = { version = "1.1.0" }
216215
strum = { version = "0.27.1", features = ["derive"] }
217-
sync_wrapper = "1.0.1"
218216
smallvec = { version = "1.15.1", features = ["serde", "union"] }
219217
tempfile = "3.6.0"
220218
test-log = { version = "0.2.11", default-features = false, features = [
@@ -234,7 +232,7 @@ tokio = { version = "1.47.0", default-features = false, features = [
234232
] }
235233
tokio-stream = "0.1.17"
236234
tokio-util = { version = "0.7.14" }
237-
toml = { version = "0.8.23" }
235+
toml = { version = "0.9" }
238236
tonic = { version = "0.14.2", default-features = false }
239237
tonic-reflection = { version = "0.14.2" }
240238
tonic-health = { version = "0.14.2" }
@@ -243,14 +241,14 @@ tonic-prost-build = { version = "0.14.2" }
243241
tower = "0.5.2"
244242
tower-http = { version = "0.6.2", default-features = false }
245243
tracing = { version = "0.1" }
246-
tracing-opentelemetry = { version = "0.31.0" }
244+
tracing-opentelemetry = { version = "0.32.0" }
247245
tracing-subscriber = { version = "0.3", features = [
248246
"env-filter",
249247
"fmt",
250248
"parking_lot",
251249
] }
252250
tracing-test = { version = "0.2.5" }
253-
typed-builder = "0.21.0"
251+
typed-builder = "0.23.0"
254252
ulid = { version = "1.2.0" }
255253
url = { version = "2.5" }
256254
urlencoding = { version = "2.1" }

crates/cli-util/src/ui/console.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,10 @@ pub fn confirm_or_exit(prompt: &str) -> anyhow::Result<()> {
105105
Ok(())
106106
}
107107

108-
pub fn choose<T: ToString>(prompt: &str, choices: &[T]) -> anyhow::Result<usize> {
108+
pub fn choose<T: ToString + std::fmt::Display>(
109+
prompt: &str,
110+
choices: &[T],
111+
) -> anyhow::Result<usize> {
109112
let theme = dialoguer::theme::ColorfulTheme::default();
110113
Ok(dialoguer::Select::with_theme(&theme)
111114
.with_prompt(prompt)

crates/core/src/network/incoming.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ impl<M> Incoming<M> {
7777
/// incoming message, use [`Self::parent_context()`] instead
7878
pub fn follow_from_sender(&mut self) {
7979
if let Some(context) = self.parent_context.take() {
80-
Span::current().set_parent(context)
80+
let _ = Span::current().set_parent(context);
8181
}
8282
}
8383

@@ -91,7 +91,7 @@ impl<M> Incoming<M> {
9191
/// incoming message, use [`Self::parent_context()`] instead
9292
pub fn follow_from_sender_for(&mut self, span: &Span) {
9393
if let Some(context) = self.parent_context.take() {
94-
span.set_parent(context)
94+
let _ = span.set_parent(context);
9595
}
9696
}
9797
}

crates/timer/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ restate-workspace-hack = { workspace = true }
1616

1717
restate-types = { workspace = true }
1818

19-
ahash = "0.8.3"
19+
ahash = { workspace = true }
2020
pin-project = { workspace = true }
2121
priority-queue = { workspace = true }
2222
schemars = { workspace = true, optional = true }
@@ -29,4 +29,4 @@ restate-test-util = { workspace = true }
2929

3030
futures-util = { workspace = true }
3131
tracing-subscriber = { workspace = true }
32-
test-log = { workspace = true }
32+
test-log = { workspace = true }

crates/tracing-instrumentation/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ reqwest = { workspace = true }
4343
schemars = { workspace = true, optional = true }
4444
thiserror = { workspace = true }
4545
tokio = { workspace = true, optional = true }
46-
# using version 0.13.1 which is required by opentelemetry-otlp
47-
tonic = { version = "0.13.1", features = ["tls-native-roots"]}
46+
tonic = { workspace = true, features = ["tls-native-roots"]}
4847
tracing = { workspace = true }
4948
tracing-appender = { version = "0.2.3", features = ["parking_lot"] }
5049
tracing-core = { version = "0.1" }

crates/types/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ listenfd = { version = "1" }
6666
metrics = { workspace = true }
6767
moka = { workspace = true, features = ["sync", "logging"] }
6868
notify = { version = "8.0.0" }
69-
notify-debouncer-full = { version = "0.5" }
69+
notify-debouncer-full = { version = "0.6" }
7070
num-traits = { workspace = true }
7171
opentelemetry = { workspace = true , features = ["trace"]}
7272
parking_lot = { workspace = true }
@@ -88,7 +88,6 @@ smallvec = { workspace = true }
8888
smartstring = { workspace = true, features = ["serde"]}
8989
static_assertions = { workspace = true }
9090
strum = { workspace = true }
91-
sync_wrapper = { workspace = true }
9291
tempfile = { workspace = true, optional = true }
9392
thiserror = { workspace = true }
9493
tiny-gradient = { version = "0.1.0" }

crates/types/src/errors.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// the Business Source License, use of this software will be governed
99
// by the Apache License, Version 2.0.
1010

11-
use std::any::Any;
1211
use std::borrow::Cow;
1312
use std::convert::Into;
1413
use std::fmt;
@@ -381,14 +380,6 @@ pub enum IdDecodeError {
381380
UnrecognizedType(String),
382381
}
383382

384-
#[derive(Debug, thiserror::Error)]
385-
pub enum ThreadJoinError {
386-
#[error("thread panicked: {0:?}")]
387-
Panic(sync_wrapper::SyncWrapper<Box<dyn Any + Send + 'static>>),
388-
#[error("thread terminated unexpectedly")]
389-
UnexpectedTermination,
390-
}
391-
392383
#[derive(Debug, thiserror::Error)]
393384
pub enum ConversionError {
394385
#[error("missing field '{0}'")]

crates/worker/src/lib.rs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,6 @@ pub enum BuildError {
9191
SnapshotRepository(#[from] anyhow::Error),
9292
}
9393

94-
#[derive(Debug, thiserror::Error, CodedError)]
95-
pub enum Error {
96-
#[error("thread '{thread}' panicked: {cause}")]
97-
#[code(unknown)]
98-
ThreadPanic {
99-
thread: &'static str,
100-
cause: restate_types::errors::ThreadJoinError,
101-
},
102-
}
103-
10494
pub struct Worker {
10595
storage_query_context: QueryContext,
10696
datafusion_remote_scanner: RemoteQueryScannerServer,

workspace-hack/Cargo.toml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ num-bigint = { version = "0.4" }
8787
num-integer = { version = "0.1", features = ["i128"] }
8888
num-traits = { version = "0.2", features = ["i128", "libm"] }
8989
object_store = { version = "0.12", features = ["aws", "azure", "gcp"] }
90-
opentelemetry_sdk = { version = "0.30", features = ["experimental_trace_batch_span_processor_with_async_runtime", "rt-tokio"] }
90+
opentelemetry = { version = "0.31" }
91+
opentelemetry_sdk = { version = "0.31", features = ["experimental_trace_batch_span_processor_with_async_runtime", "rt-tokio"] }
9192
phf_shared = { version = "0.11" }
9293
pprof = { version = "0.15", features = ["criterion", "flamegraph", "frame-pointer"] }
9394
proc-macro2 = { version = "1" }
9495
prost-582f2526e08bb6a0 = { package = "prost", version = "0.14" }
95-
prost-594e8ee84c453af0 = { package = "prost", version = "0.13", features = ["prost-derive"] }
9696
prost-types = { version = "0.14" }
9797
protobuf = { version = "2", default-features = false, features = ["with-bytes"] }
9898
quanta = { version = "0.12" }
@@ -124,7 +124,7 @@ tokio-stream = { version = "0.1", features = ["net", "sync"] }
124124
tokio-util = { version = "0.7", features = ["codec", "io-util", "net", "rt"] }
125125
toml_datetime = { version = "0.6", default-features = false, features = ["serde"] }
126126
toml_edit = { version = "0.22", features = ["serde"] }
127-
tonic = { version = "0.14", default-features = false, features = ["codegen", "gzip", "router", "transport", "zstd"] }
127+
tonic = { version = "0.14", features = ["gzip", "tls-native-roots", "tls-ring", "zstd"] }
128128
tower-9fbad63c4bcf4a8f = { package = "tower", version = "0.4", features = ["balance", "buffer", "limit", "util"] }
129129
tower-d8f496e17d97b5cb = { package = "tower", version = "0.5", default-features = false, features = ["balance", "buffer", "limit", "load-shed", "log", "retry", "timeout"] }
130130
tower-http = { version = "0.6", features = ["cors", "follow-redirect", "map-response-body", "normalize-path", "trace"] }
@@ -216,12 +216,12 @@ num-bigint = { version = "0.4" }
216216
num-integer = { version = "0.1", features = ["i128"] }
217217
num-traits = { version = "0.2", features = ["i128", "libm"] }
218218
object_store = { version = "0.12", features = ["aws", "azure", "gcp"] }
219-
opentelemetry_sdk = { version = "0.30", features = ["experimental_trace_batch_span_processor_with_async_runtime", "rt-tokio"] }
219+
opentelemetry = { version = "0.31" }
220+
opentelemetry_sdk = { version = "0.31", features = ["experimental_trace_batch_span_processor_with_async_runtime", "rt-tokio"] }
220221
phf_shared = { version = "0.11" }
221222
pprof = { version = "0.15", features = ["criterion", "flamegraph", "frame-pointer"] }
222223
proc-macro2 = { version = "1" }
223224
prost-582f2526e08bb6a0 = { package = "prost", version = "0.14" }
224-
prost-594e8ee84c453af0 = { package = "prost", version = "0.13", features = ["prost-derive"] }
225225
prost-build = { version = "0.14", features = ["cleanup-markdown"] }
226226
prost-types = { version = "0.14" }
227227
protobuf = { version = "2", default-features = false, features = ["with-bytes"] }
@@ -255,7 +255,7 @@ tokio-stream = { version = "0.1", features = ["net", "sync"] }
255255
tokio-util = { version = "0.7", features = ["codec", "io-util", "net", "rt"] }
256256
toml_datetime = { version = "0.6", default-features = false, features = ["serde"] }
257257
toml_edit = { version = "0.22", features = ["serde"] }
258-
tonic = { version = "0.14", default-features = false, features = ["codegen", "gzip", "router", "transport", "zstd"] }
258+
tonic = { version = "0.14", features = ["gzip", "tls-native-roots", "tls-ring", "zstd"] }
259259
tower-9fbad63c4bcf4a8f = { package = "tower", version = "0.4", features = ["balance", "buffer", "limit", "util"] }
260260
tower-d8f496e17d97b5cb = { package = "tower", version = "0.5", default-features = false, features = ["balance", "buffer", "limit", "load-shed", "log", "retry", "timeout"] }
261261
tower-http = { version = "0.6", features = ["cors", "follow-redirect", "map-response-body", "normalize-path", "trace"] }
@@ -280,7 +280,7 @@ libc = { version = "0.2", default-features = false, features = ["use_std"] }
280280
mio = { version = "1", features = ["net", "os-ext"] }
281281
nix = { version = "0.29", features = ["fs", "signal"] }
282282
num = { version = "0.4" }
283-
prost-594e8ee84c453af0 = { package = "prost", version = "0.13", default-features = false, features = ["no-recursion-limit"] }
283+
prost-594e8ee84c453af0 = { package = "prost", version = "0.13", features = ["no-recursion-limit", "prost-derive"] }
284284
rustix-d585fab2519d2d1 = { package = "rustix", version = "0.38", features = ["stdio", "termios"] }
285285
rustix-dff4ba8e3ae991db = { package = "rustix", version = "1", features = ["fs", "stdio", "termios"] }
286286

@@ -292,7 +292,7 @@ libc = { version = "0.2", default-features = false, features = ["use_std"] }
292292
mio = { version = "1", features = ["net", "os-ext"] }
293293
nix = { version = "0.29", features = ["fs", "signal"] }
294294
num = { version = "0.4" }
295-
prost-594e8ee84c453af0 = { package = "prost", version = "0.13", default-features = false, features = ["no-recursion-limit"] }
295+
prost-594e8ee84c453af0 = { package = "prost", version = "0.13", features = ["no-recursion-limit", "prost-derive"] }
296296
rustix-d585fab2519d2d1 = { package = "rustix", version = "0.38", features = ["stdio", "termios"] }
297297
rustix-dff4ba8e3ae991db = { package = "rustix", version = "1", features = ["fs", "stdio", "termios"] }
298298

@@ -303,7 +303,7 @@ hyper-util = { version = "0.1", default-features = false, features = ["client-pr
303303
libc = { version = "0.2", default-features = false, features = ["use_std"] }
304304
nix = { version = "0.29", features = ["fs", "signal"] }
305305
num = { version = "0.4" }
306-
prost-594e8ee84c453af0 = { package = "prost", version = "0.13", default-features = false, features = ["no-recursion-limit"] }
306+
prost-594e8ee84c453af0 = { package = "prost", version = "0.13", features = ["no-recursion-limit", "prost-derive"] }
307307
rustix-d585fab2519d2d1 = { package = "rustix", version = "0.38", features = ["stdio", "termios"] }
308308
rustix-dff4ba8e3ae991db = { package = "rustix", version = "1", features = ["fs", "stdio", "termios"] }
309309

@@ -314,7 +314,7 @@ hyper-util = { version = "0.1", default-features = false, features = ["client-pr
314314
libc = { version = "0.2", default-features = false, features = ["use_std"] }
315315
nix = { version = "0.29", features = ["fs", "signal"] }
316316
num = { version = "0.4" }
317-
prost-594e8ee84c453af0 = { package = "prost", version = "0.13", default-features = false, features = ["no-recursion-limit"] }
317+
prost-594e8ee84c453af0 = { package = "prost", version = "0.13", features = ["no-recursion-limit", "prost-derive"] }
318318
rustix-d585fab2519d2d1 = { package = "rustix", version = "0.38", features = ["stdio", "termios"] }
319319
rustix-dff4ba8e3ae991db = { package = "rustix", version = "1", features = ["fs", "stdio", "termios"] }
320320

0 commit comments

Comments
 (0)