Skip to content

Commit 8274842

Browse files
authored
refactor: use roslibrust with options (#34)
1 parent 575e92d commit 8274842

6 files changed

Lines changed: 224 additions & 185 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ ros-z = { version = "*", path = "ros-z" }
2323
rcl-z = { version = "*", path = "rcl-z" }
2424

2525
# Local roslibrust dependencies
26-
roslibrust = { git = "https://github.com/YuanYuYuan/roslibrust", branch = "dev/ros-z" }
27-
roslibrust_codegen = { git = "https://github.com/YuanYuYuan/roslibrust", branch = "dev/ros-z" }
26+
roslibrust = { git = "https://github.com/YuanYuYuan/roslibrust", branch = "feat/codegen-options" }
27+
roslibrust_codegen = { git = "https://github.com/YuanYuYuan/roslibrust", branch = "feat/codegen-options" }
2828

2929
# Serialization
3030
cdr = "0.2.4"

ros-z-codegen/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ roslibrust_codegen = { workspace = true }
99
# For code manipulation
1010
quote = { workspace = true }
1111
prost-build = { workspace = true, optional = true }
12-
syn = { workspace = true }
12+
syn = { workspace = true, features = ["full", "parsing"] }
1313
proc-macro2 = { workspace = true }
14+
prettyplease = "0.2"
1415
# For error handling
1516
anyhow = { workspace = true }
1617

ros-z-codegen/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
#[cfg(feature = "protobuf")]
22
pub mod protobuf_adapter;
33
pub mod roslibrust_adapter;
4-
pub mod type_info_generator;
54

65
use std::path::{Path, PathBuf};
76

0 commit comments

Comments
 (0)