Skip to content

Commit 8c993b6

Browse files
authored
Update dependencies to latest versions (#301)
1 parent c6612cd commit 8c993b6

File tree

16 files changed

+74
-74
lines changed

16 files changed

+74
-74
lines changed

rust/beaubourg/Cargo.toml

+13-13
Original file line numberDiff line numberDiff line change
@@ -27,23 +27,23 @@ config = { path = "crates/config" }
2727
engine = { path = "crates/engine" }
2828
signal = { path = "crates/signal" }
2929
context = { path = "crates/context" }
30-
tracing = "0.1.30"
30+
tracing = "0.1.41"
3131

3232

3333
[dev-dependencies]
34-
tokio = { version = "1.16.1", features = ["rt-multi-thread", "macros", "io-util"] }
35-
futures = "0.3.21"
36-
async-trait = "0.1.52"
37-
serde = { version = "1.0.136", features = ["derive"] }
38-
serde_yaml = "0.8.23"
39-
color-eyre = "0.6.0"
40-
tracing = "0.1.30"
41-
tracing-subscriber = "0.3.8"
34+
tokio = { version = "1.44.0", features = ["rt-multi-thread", "macros", "io-util"] }
35+
futures = "0.3.31"
36+
async-trait = "0.1.87"
37+
serde = { version = "1.0.218", features = ["derive"] }
38+
serde_yaml = "0.8.26"
39+
color-eyre = "0.6.2"
40+
tracing = "0.1.41"
41+
tracing-subscriber = "0.3.18"
4242
mimalloc-rust = "0.1.5"
43-
socket2 = { version="0.4.4", features = ["all"]}
44-
tokio-stream = { version = "0.1.8", features = ["net"] }
45-
once_cell = "1.9.0"
46-
num_cpus = "1.13.1"
43+
socket2 = { version="0.5.8", features = ["all"]}
44+
tokio-stream = { version = "0.1.17", features = ["net"] }
45+
once_cell = "1.19.0"
46+
num_cpus = "1.16.0"
4747

4848
[[example]]
4949
name = "multithread_engine_example"

rust/beaubourg/crates/config/Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ exporter = { path = "../exporter" }
1111
processor = { path = "../processor" }
1212
signal = { path = "../signal" }
1313

14-
serde = { version = "1.0.136", features = ["derive"] }
15-
serde_yaml = "0.8.23"
16-
thiserror = "1.0.30"
17-
tracing = "0.1.30"
18-
validator = { version = "0.14.0", features = ["derive"] }
14+
serde = { version = "1.0.218", features = ["derive"] }
15+
serde_yaml = "0.8.26"
16+
thiserror = "2.0.12"
17+
tracing = "0.1.41"
18+
validator = { version = "0.20.0", features = ["derive"] }
1919

2020
[dev-dependencies]
21-
async-trait = "0.1.52"
22-
tokio = { version = "1.16.1", features = ["rt-multi-thread"] }
21+
async-trait = "0.1.87"
22+
tokio = { version = "1.44.0", features = ["rt-multi-thread"] }

rust/beaubourg/crates/config/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,7 @@ mod test {
570570
}
571571
_ => Err(receiver::Error::UnknownReceiver {
572572
receiver: receiver_name.into(),
573-
r#type: receiver_type.into(),
573+
receiver_type: receiver_type.into(),
574574
}),
575575
}
576576
}
@@ -621,7 +621,7 @@ mod test {
621621
}
622622
_ => Err(processor::Error::UnknownProcessor {
623623
processor: processor_name.into(),
624-
r#type: processor_type.into(),
624+
processor_type: processor_type.into(),
625625
}),
626626
}
627627
}

rust/beaubourg/crates/engine/Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ task = { path = "../task" }
1414
signal = { path = "../signal" }
1515
context = { path = "../context" }
1616

17-
thiserror = "1.0.30"
18-
tracing = "0.1.30"
19-
num_cpus = "1.13.1"
20-
tokio = { version = "1.16.1", features = ["rt-multi-thread"] }
21-
async-trait = "0.1.52"
22-
futures = "0.3.21"
23-
flume = "0.10.11"
17+
thiserror = "2.0.12"
18+
tracing = "0.1.41"
19+
num_cpus = "1.16.0"
20+
tokio = { version = "1.44.0", features = ["rt-multi-thread"] }
21+
async-trait = "0.1.87"
22+
futures = "0.3.31"
23+
flume = "0.11.1"

rust/beaubourg/crates/exporter/Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ signal = { path = "../signal" }
1010
task = { path = "../task" }
1111
context = { path = "../context" }
1212

13-
serde = { version = "1.0.136", features = ["derive"] }
14-
serde_yaml = "0.8.23"
15-
thiserror = "1.0.30"
16-
async-trait = "0.1.52"
17-
tokio = { version = "1.16.1", features = ["rt-multi-thread", "macros"] }
18-
futures = "0.3.21"
19-
tracing = "0.1.30"
13+
serde = { version = "1.0.218", features = ["derive"] }
14+
serde_yaml = "0.8.26"
15+
thiserror = "2.0.12"
16+
async-trait = "0.1.87"
17+
tokio = { version = "1.44.0", features = ["rt-multi-thread", "macros"] }
18+
futures = "0.3.31"
19+
tracing = "0.1.41"

rust/beaubourg/crates/exporter/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ pub mod effect;
2929
#[non_exhaustive]
3030
pub enum Error {
3131
/// The exporter is not found in the exporter factory.
32-
#[error("unknown exporter (name: {name}, type: {r#type})")]
32+
#[error("unknown exporter (name: {name}, type: {exporter_type})")]
3333
UnknownExporter {
3434
/// The name of the exporter.
3535
name: String,
3636
/// The type of the exporter.
37-
r#type: String,
37+
exporter_type: String,
3838
},
3939

4040
/// The exporter has an invalid configuration.

rust/beaubourg/crates/processor/Cargo.toml

+7-7
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ task = { path = "../task" }
1010
signal = { path = "../signal" }
1111
context = { path = "../context" }
1212

13-
serde = { version = "1.0.136", features = ["derive"] }
14-
serde_yaml = "0.8.23"
15-
thiserror = "1.0.30"
16-
tracing = "0.1.30"
17-
async-trait = "0.1.52"
18-
tokio = { version = "1.16.1", features = ["rt-multi-thread"] }
19-
flume = "0.10.11"
13+
serde = { version = "1.0.218", features = ["derive"] }
14+
serde_yaml = "0.8.26"
15+
thiserror = "2.0.12"
16+
tracing = "0.1.41"
17+
async-trait = "0.1.87"
18+
tokio = { version = "1.44.0", features = ["rt-multi-thread"] }
19+
flume = "0.11.1"

rust/beaubourg/crates/processor/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ pub mod noop;
3030
#[non_exhaustive]
3131
pub enum Error {
3232
/// The processor is not defined by the processor factory.
33-
#[error("unknown processor (processor: {processor}, type:{r#type})")]
33+
#[error("unknown processor (processor: {processor}, type:{processor_type})")]
3434
UnknownProcessor {
3535
/// The name of the processor.
3636
processor: String,
3737
/// The type of the processor.
38-
r#type: String,
38+
processor_type: String,
3939
},
4040

4141
/// The processor has an invalid configuration.

rust/beaubourg/crates/receiver/Cargo.toml

+11-11
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,17 @@ license = "Apache-2.0"
99
task = { path = "../task" }
1010
context = { path = "../context" }
1111

12-
serde = { version = "1.0.136", features = ["derive"] }
13-
serde_yaml = "0.8.23"
14-
thiserror = "1.0.30"
15-
tokio = { version = "1.16.1", features = ["rt-multi-thread", "macros", "net"] }
16-
async-trait = "0.1.52"
17-
tracing = "0.1.30"
18-
futures = "0.3.21"
19-
tokio-stream = "0.1.8"
20-
socket2 = { version="0.4.4", features = ["all"]}
12+
serde = { version = "1.0.218", features = ["derive"] }
13+
serde_yaml = "0.8.26"
14+
thiserror = "2.0.12"
15+
tokio = { version = "1.44.0", features = ["rt-multi-thread", "macros", "net"] }
16+
async-trait = "0.1.87"
17+
tracing = "0.1.41"
18+
futures = "0.3.31"
19+
tokio-stream = "0.1.17"
20+
socket2 = { version="0.5.8", features = ["all"]}
2121
maplit = "1.0.2"
22-
flume = "0.10.11"
22+
flume = "0.11.1"
2323

2424
[build-dependencies]
25-
tonic-build = "0.6.2"
25+
tonic-build = "0.12.3"

rust/beaubourg/crates/receiver/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,12 @@ use crate::{
3434
#[non_exhaustive]
3535
pub enum Error {
3636
/// The `Receiver` was not found in the receiver factory.
37-
#[error("unknown receiver (receiver: {receiver}, type: {r#type})")]
37+
#[error("unknown receiver (receiver: {receiver}, type: {receiver_type})")]
3838
UnknownReceiver {
3939
/// The name of the receiver.
4040
receiver: String,
4141
/// The type of the receiver.
42-
r#type: String,
42+
receiver_type: String,
4343
},
4444

4545
/// The receiver configuration is invalid.

rust/beaubourg/crates/signal/Cargo.toml

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ license = "Apache-2.0"
77
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
88

99
[dependencies]
10-
tokio = { version = "1.16.1", features = ["rt-multi-thread", "macros"] }
11-
futures = "0.3.21"
12-
flume = "0.10.11"
13-
tracing = "0.1.30"
10+
tokio = { version = "1.44.0", features = ["rt-multi-thread", "macros"] }
11+
futures = "0.3.31"
12+
flume = "0.11.1"
13+
tracing = "0.1.41"

rust/beaubourg/crates/task/Cargo.toml

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ edition = "2021"
55
license = "Apache-2.0"
66

77
[dependencies]
8-
thiserror = "1.0.30"
9-
tracing = "0.1.30"
10-
futures = "0.3.21"
11-
tokio = { version = "1.16.1", features = ["rt-multi-thread"] }
12-
tokio-stream = "0.1.8"
13-
async-trait = "0.1.52"
8+
thiserror = "2.0.12"
9+
tracing = "0.1.41"
10+
futures = "0.3.31"
11+
tokio = { version = "1.44.0", features = ["rt-multi-thread"] }
12+
tokio-stream = "0.1.17"
13+
async-trait = "0.1.87"

rust/beaubourg/examples/processor/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ impl ProcessorFactory<Message> for TestProcessorFactory {
6060
}
6161
_ => Err(beaubourg::processor::Error::UnknownProcessor {
6262
processor: processor_name.into(),
63-
r#type: processor_type.into(),
63+
processor_type: processor_type.into(),
6464
}),
6565
}
6666
}

rust/beaubourg/examples/receiver/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ impl ReceiverFactory<Message> for TestReceiverFactory {
5454
}
5555
_ => Err(beaubourg::receiver::Error::UnknownReceiver {
5656
receiver: receiver_name.into(),
57-
r#type: receiver_type.into(),
57+
receiver_type: receiver_type.into(),
5858
}),
5959
}
6060
}

rust/beaubourg/tests/processor/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ impl ProcessorFactory<Message> for TestProcessorFactory {
8787
}
8888
_ => Err(beaubourg::processor::Error::UnknownProcessor {
8989
processor: processor_name.into(),
90-
r#type: processor_type.into(),
90+
processor_type: processor_type.into(),
9191
}),
9292
}
9393
}

rust/beaubourg/tests/receiver/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ impl ReceiverFactory<Message> for TestReceiverFactory {
136136
}
137137
_ => Err(beaubourg::receiver::Error::UnknownReceiver {
138138
receiver: receiver_name.into(),
139-
r#type: receiver_type.into(),
139+
receiver_type: receiver_type.into(),
140140
}),
141141
}
142142
}

0 commit comments

Comments
 (0)