Skip to content

Add Rust edge driver library#607

Merged
KavanPrice merged 8 commits intomainfrom
kp/rs-edge-driver
Mar 17, 2026
Merged

Add Rust edge driver library#607
KavanPrice merged 8 commits intomainfrom
kp/rs-edge-driver

Conversation

@KavanPrice
Copy link
Copy Markdown
Contributor

@KavanPrice KavanPrice commented Mar 15, 2026

This adds a fully documented Rust version of the existing JavaScript and Python edge driver libraries. This might be useful for when users need to interact with C/C++ libraries via FFI, e.g. robotics use cases.

Obviously we don't have inheritance in Rust, so the structure deviates from the other versions. Users should impl the Handler trait for their custom handler, make their driver config from the environment, and then create and run their Driver for their handler.

@KavanPrice KavanPrice marked this pull request as ready for review March 17, 2026 00:27
@KavanPrice
Copy link
Copy Markdown
Contributor Author

Managed to get a device up and running with this using the test driver implementation in examples/
image

Copy link
Copy Markdown
Contributor

@amrc-benmorrow amrc-benmorrow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If it works then it's a place to start, at least. I can't see any problems with the bits I understand 🙃.

@KavanPrice KavanPrice merged commit 8799108 into main Mar 17, 2026
1 check passed
@KavanPrice KavanPrice deleted the kp/rs-edge-driver branch March 17, 2026 09:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants