Skip to content

Commit a39b145

Browse files
authored
feat: add type description support and refactor key expression protocol (#91)
1 parent aee3aa4 commit a39b145

File tree

103 files changed

+10320
-3988
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

103 files changed

+10320
-3988
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ jobs:
7171
export RMW_IMPLEMENTATION=rmw_zenoh_cpp
7272
if [ "${{ matrix.distro }}" = "humble" ]; then
7373
cargo nextest run -p ros-z-tests --no-default-features --features ros-interop,humble --release
74+
cargo nextest run -p ros-z-console --no-default-features --features ros-interop,humble --release
7475
else
7576
cargo nextest run -p ros-z-tests --features ros-interop,${{ matrix.distro }} --release
77+
cargo nextest run -p ros-z-console --features ros-interop --release
7678
fi

.gitignore

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,21 @@ node_modules
55
.cargo
66
compile_commands.json
77
_*
8+
!crates/ros-z-py/python/**/__init__.py
9+
!crates/ros-z-msgs/python/ros_z_msgs_py/__init__.py
10+
# Old paths (pre-reorganization) - kept for backwards compatibility
811
!ros-z-py/python/**/__init__.py
912
!ros-z-msgs/python/ros_z_msgs_py/__init__.py
1013
result*
1114
*.egg-info
1215
__pycache__/
1316

1417
# Auto-generated Python message types (regenerated from .msg files during Rust build)
18+
# Updated paths after crates/ reorganization (e781dce)
19+
crates/ros-z-msgs/python/build/lib/ros_z_msgs_py/types/*.py
20+
crates/ros-z-msgs/python/ros_z_msgs_py/types/*.py
21+
crates/ros-z-msgs/python/ros_z_msgs_py/types/__init__.py
22+
# Old paths (pre-reorganization) - kept for backwards compatibility
1523
ros-z-msgs/python/build/lib/ros_z_msgs_py/types/*.py
1624
ros-z-msgs/python/ros_z_msgs_py/types/*.py
1725
ros-z-msgs/python/ros_z_msgs_py/types/__init__.py
@@ -29,7 +37,6 @@ ros-z-msgs/python/ros_z_msgs_py/types/__init__.py
2937

3038
*.db
3139
*.log
32-
.claude
3340

34-
# MCP configuration (generated per-worktree, workspace root is canonical)
41+
.claude
3542
.mcp.json

Cargo.lock

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

Cargo.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,10 @@ members = [
1111
"crates/ros-z-cdr",
1212
"crates/ros-z-codegen",
1313
"crates/ros-z-derive",
14+
"crates/ros-z-protocol",
1415
"crates/ros-z-py",
1516
"crates/rmw-zenoh-rs",
17+
"crates/ros-z-schema",
1618
"crates/ros-z-msgs",
1719
"crates/ros-z-tests",
1820
"crates/ros-z-console",
@@ -25,7 +27,9 @@ default-members = ["crates/ros-z", "crates/ros-z-codegen"]
2527
# Workspace members
2628
ros-z = { version = "*", path = "crates/ros-z" }
2729
ros-z-codegen = { version = "*", path = "crates/ros-z-codegen" }
30+
ros-z-protocol = { version = "*", path = "crates/ros-z-protocol" }
2831
rmw-zenoh-rs = { version = "*", path = "crates/rmw-zenoh-rs" }
32+
ros-z-schema = { version = "*", path = "crates/ros-z-schema" }
2933

3034
# Serialization
3135
ros-z-cdr = { path = "crates/ros-z-cdr" }
@@ -60,6 +64,7 @@ byteorder = "1.3"
6064
csv = "1.3.1"
6165
json5 = "0.4.1"
6266
once_cell = "1.19"
67+
hex = "0.4"
6368

6469
# FFI
6570
cxx = "1.0.168"

book/src/SUMMARY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
# Experimental
3232

3333
- [Shared Memory (SHM)](./chapters/shm.md)
34-
- [Backend Selection](./chapters/backends.md)
34+
- [Key Expression Formats](./chapters/keyexpr_formats.md)
3535
- [rmw_zenoh_rs](./chapters/rmw_zenoh_rs.md)
3636
- [Python Bindings](./chapters/python.md)
3737
- [Code Generation Internals](./chapters/python_codegen.md)

0 commit comments

Comments
 (0)