Skip to content

Commit 1daf1f0

Browse files
committed
update all dependencies, fix one break with latest ros-z
1 parent 0d1cafe commit 1daf1f0

File tree

11 files changed

+63
-72
lines changed

11 files changed

+63
-72
lines changed

Cargo.lock

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

roslibrust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ roslibrust_codegen_macro = { path = "../roslibrust_codegen_macro" }
3434
# Slightly weird, but used in documentation examples
3535
roslibrust_test = { path = "../roslibrust_test" }
3636
# Slightly weird, but used in documentation examples
37-
zenoh = "1.0"
37+
zenoh = "1.7"
3838
# Provides test timeout
3939
ntest = "0.9"
4040

roslibrust_codegen/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ categories = ["science::robotics"]
1616
log = { workspace = true }
1717
serde = { workspace = true }
1818
roslibrust_common = { path = "../roslibrust_common", version = "0.19.0" }
19-
lazy_static = "1.4"
19+
lazy_static = "1.5"
2020
md5 = "0.7"
2121
proc-macro2 = "1.0"
2222
quote = "1.0"
2323
serde_json = "1.0"
2424
simple-error = "0.3"
2525
syn = "1.0"
26-
walkdir = "2.3"
26+
walkdir = "2.5"
2727
xml-rs = "0.8"
2828
# Not a direct dependencies of the crate, but something generated code uses
2929
# We include them as dependencies here and expose them with a `pub use`

roslibrust_common/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ futures-core = "0.3"
2121
# Used for implementation of into_stream for subscribers
2222
async-stream = "0.3"
2323
# Used for validation of topic names
24-
regex = "1.9"
24+
regex = "1.12"

roslibrust_genmsg/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ path = "src/main.rs"
2121
log = { workspace = true }
2222
serde = { workspace = true }
2323
roslibrust_codegen = { path = "../roslibrust_codegen", version = "0.19" }
24-
clap = { version = "4.1", features = ["derive"] }
24+
clap = { version = "4.5", features = ["derive"] }
2525
env_logger = "0.11"
2626
itertools = "0.12"
27-
lazy_static = "1.4"
28-
minijinja = "2.0"
27+
lazy_static = "1.5"
28+
minijinja = "2.14"
2929
serde_json = "1"
3030

3131
[dev-dependencies]

roslibrust_ros1/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ log = { workspace = true }
1818
serde = { workspace = true }
1919

2020
# Should probably become workspace members:
21-
lazy_static = "1.4"
21+
lazy_static = "1.5"
2222
abort-on-drop = "0.2"
2323
test-log = { workspace = true }
2424

@@ -28,9 +28,9 @@ serde_xmlrpc = { version = "0.2" }
2828
roslibrust_serde_rosmsg = { workspace = true }
2929
hyper = { version = "0.14", features = ["server"] }
3030
gethostname = { version = "0.4" }
31-
regex = { version = "1.9" }
32-
byteorder = "1.4"
33-
bytes = "1.5"
31+
regex = { version = "1.12" }
32+
byteorder = "1.5"
33+
bytes = "1.11"
3434
thiserror = "2.0"
3535
anyhow = "1.0"
3636
getifs = "0.4"

roslibrust_ros2/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ edition = "2021"
55
publish = false
66

77
[dependencies]
8-
zenoh = "1.5"
8+
zenoh = "1.7"
9+
zenoh-buffers = "1.7"
910
tokio = { workspace = true }
1011
env_logger = "0.11"
1112
cdr = "0.2"

roslibrust_ros2/src/lib.rs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,14 @@ impl<T: RosMessageType> ros_z::msg::ZSerializer for WrapperSerdes<T> {
3838
fn serialize(input: Self::Input<'_>) -> Vec<u8> {
3939
ros_z::msg::CdrSerdes::<T>::serialize(&input.0)
4040
}
41+
42+
fn serialize_to_zbuf(input: Self::Input<'_>) -> zenoh_buffers::ZBuf {
43+
ros_z::msg::CdrSerdes::<T>::serialize_to_zbuf(&input.0)
44+
}
45+
46+
fn serialize_to_buf(input: Self::Input<'_>, buffer: &mut Vec<u8>) {
47+
ros_z::msg::CdrSerdes::<T>::serialize_to_buf(&input.0, buffer)
48+
}
4149
}
4250

4351
impl<T: RosMessageType> ros_z::msg::ZDeserializer for WrapperSerdes<T> {

roslibrust_rosbridge/Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ roslibrust_common = { path = "../roslibrust_common", version = "0.19" }
1313
tokio = { workspace = true }
1414
log = { workspace = true }
1515
tokio-tungstenite = { version = "0.17" }
16-
uuid = { version = "1.1", features = ["v4"] }
16+
uuid = { version = "1.19", features = ["v4"] }
1717
serde_json = "1.0"
1818
serde = "1.0"
1919
anyhow = "1.0"
2020
futures = "0.3"
2121
futures-util = "0.3"
22-
dashmap = "5.3"
23-
deadqueue = "0.2.4" # .4+ is required to fix bug with missing tokio dep
22+
dashmap = "5.5"
23+
deadqueue = "0.2.5" # .4+ is required to fix bug with missing tokio dep
2424

2525
[dev-dependencies]
2626
test-log = { workspace = true }

roslibrust_test/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ publish = false
77
[dependencies]
88
env_logger = "0.10"
99
roslibrust = { path = "../roslibrust", features = ["ros1", "codegen", "macro", "mock"] }
10-
lazy_static = "1.4"
10+
lazy_static = "1.5"
1111
tokio = { workspace = true }
1212
log = { workspace = true }
1313

0 commit comments

Comments
 (0)