Software
rosidl_rust
By ros2-rust, from github.com/ros2-rust/rosidl_rust (opens in a new tab)
- Middleware
- Library
- Apache-2.0
A rosidl generator that lets ROS 2 packages be built with Rust, providing Rust bindings for ROS interface definitions. Debian packages are published for several ROS 2 distributions.
Facts
- GitHub stars
- 1read on 29 Nov 2026
- Last update
- 2 Sept 2026Newest commit on main
- Maintenance
- Maintaineda commit in the last 12 months
- Difficulty
- Advanced
Checked on GitHub on 29 Nov 2026.
Licenses
- Code
- Apache-2.0 (opens in a new tab)
Read by Robotheca from LICENSE (opens in a new tab) (Apache-2.0) at commit 19d5781 (opens in a new tab), on 16 Oct 2026.
- Commercial use
- Yes
At a glance
- What it is
- Provides rosidl support so ROS 2 message and service interfaces can be used from Rust.
- Publishes Debian package repositories per Ubuntu release and ROS distribution, including Rolling, Lyrical, Kilted, Jazzy and Humble.
- Describes how to add the apt and rosdep sources and install the generator package on a matching system.
- Explains how generated package versions are derived from the nearest tag, commit count, commit date and short SHA.
- Sets an AI-assisted contribution policy requiring disclosure of generative tool use in commits and pull requests.
Robotheca's summary of the project's documents, not the creator's words.
- Robots on Robotheca
- No robot on Robotheca uses it yet.
- Licence
- Apache-2.0. Commercial use: Yes. Where it was read
- Install
- In the creator's words: The project's README (opens in a new tab)
- Maintenance
- Maintained, last commit on 2 Sept 2026.
Use it
How to install it, in the creator's words: The project's README (opens in a new tab)
Robotheca doesn't review code. Read it before running it.
Files and versions
- Repository on GitHubgithub.com/ros2-rust/rosidl_rust (opens in a new tab)
- The version Robotheca read19d5781 (opens in a new tab)
- Latest releaseNone published on GitHub
Robotheca never hosts the code: each link goes to the creator's own page.
The README
The creator's own README, copied as written: README.md by ros2-rust, at commit 19d5781, under Apache-2.0 (opens in a new tab). The original on GitHub (opens in a new tab).
Read the README here
rosidl_rust
rosidl support for Rust
Debian packages
The Debian package build workflow publishes apt repositories to package branches
named <ubuntu-codename>-<ros-distro>.
| ROS distribution | Ubuntu distribution | Package branch |
|---|---|---|
| Rolling | Resolute | resolute-rolling |
| Lyrical | Resolute | resolute-lyrical |
| Kilted | Noble | noble-kilted |
| Jazzy | Noble | noble-jazzy |
| Humble | Jammy | jammy-humble |
To install the generated packages, choose the matching package branch for your ROS and Ubuntu distribution:
export ROS_DISTRO=rolling
export PACKAGE_BRANCH=resolute-rolling
echo "deb [trusted=yes] https://raw.githubusercontent.com/ros2-rust/rosidl_rust/${PACKAGE_BRANCH}/ ./" \
| sudo tee "/etc/apt/sources.list.d/ros2-rust-rosidl-rust-${PACKAGE_BRANCH}.list"
echo "yaml https://raw.githubusercontent.com/ros2-rust/rosidl_rust/${PACKAGE_BRANCH}/local.yaml ${ROS_DISTRO}" \
| sudo tee "/etc/ros/rosdep/sources.list.d/1-ros2-rust-rosidl-rust-${PACKAGE_BRANCH}.list"
sudo apt update
rosdep update
sudo apt install "ros-${ROS_DISTRO}-rosidl-generator-rs"
Replace ROS_DISTRO and PACKAGE_BRANCH with the matching values from the
table above.
Generated package versions use the nearest reachable tag, the number of commits
since that tag, the commit date in UTC, and the short commit SHA. For example,
a package built from tag 0.4.13 sorts below the official ROS buildfarm release:
0.4.13-0~2026.06.14.22.00+gabcdef123456
A package built from a newer commit after that tag sorts above the older tagged release while remaining deterministic for rebuilds of the same commit:
0.4.13+git1-0~2026.06.15.09.30+g123456abcdef
AI Policy
Generative tools are allowed in producing contributions to its projects, with some qualifications:
- Any contribution may consist, in whole or in part, of the output of one or more generative tools.
- Any use of generative tools in a contribution must be disclosed at the time of making the contribution.
- The disclosure must be recorded in a way that ensures it has the same or greater lifetime as the contribution itself.
For source code contributions, you should add a disclosure statement in the commit message for all commits where some portion of the source code was generated.
Assisted-by: AGENT_NAME:MODEL_VERSION [TOOL1] [TOOL2]
Provide a similar disclosure statement in the PR description.
See the projects AI Policy (opens in a new tab) for more details.
Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.