Connector for Rust
Provides a simplified API for RTI Connext users to work with Rust programming language.
What does it do?
RTI Connector for Rust provides DDS developers with a low-friction, configuration-driven API to experiment with Rust. By exposing the Connector source code, RTI enables safe evaluation of Rust in Connext, without requiring a fully native, idiomatic Rust DDS API.
RTI’s Connector-based approach offers a practical on-ramp to try out Rust. For system architects in automotive and defense, it provides an early path to secure, memory-safe systems, without production risk or architectural lock-in
Designed for (or ideal use cases):
- Integrating Rust with existing DDS ecosystems
- Simulation, prototyping, and testing
- Data ingestion, monitoring, or analysis applications
- Mixed-language environments
- Low-latency applications with minimal infrastructure complexity
How it works:
The Connector API wraps Connext Professional's XML Application Creation feature where an XML file defines a DDS system. For each participant in the system, you can create a Connector and use its Inputs and Outputs (DataReaders and DataWriters, respectively) to send and receive samples using DynamicData.
Features and Benefits
Faster Time to Integration with Configuration-Driven Design
DDS entities (participants, topics, readers, writers, types) are fully defined in an external XML configuration file. Built on DDS Dynamic Data, eliminating the need for IDL-based code generation.
High-Level Data Access with Rust Ergonomics
Strong Rust abstractions with iterator-based data access. Serde-based serialization and deserialization for working with typed Rust structs. Reuse existing Rust domain models, reduce runtime errors, and gain compile-time confidence while still benefiting from DDS’s flexibility.
Quick Development of PoCs and Tests
Teams can quickly stand up prototypes, simulations, and test harnesses without waiting to build full production grade applications.
Access the Connector for Rust code here.
RTI Labs Project Type: Product Prototype
Maturity level: Experimental Feature
Support: Github issues tracked by RTI Engineering Team
Intent: Provide a quick starting point for Rust developers to leverage the advantages of Connext simplifying the integration of RTI Connext into Rust applications.
Feedback:
- Open a ticket in the issues section of the GitHub repository.
- For non technical questions and general feedback: send email to product-feedback@rti.com
Product Version Information: Compatible with latest Connector Release
Platform Support: Windows / Mac / Linux
System requirements: Rust 1.88
Product compatibility: Compatible with Connext 7.6
Connector for Rust documentation is located in the RTI Community GitHub repository and Github pages.
Explore the Connector for Rust source code, try the example, and evaluate how DDS fits into your Rust-based system.
Post your questions, search through our Knowledge Base, and get the most from your DDS experience by joining the RTI Community!
Success-Plan Services