Skip to content

Add Rust Bindings for Fabrics API - #621

Open
mlefebvre1 wants to merge 12 commits into
dmf-mxl:mainfrom
jonasohland:feature/fabrics/rust-bindings
Open

Add Rust Bindings for Fabrics API#621
mlefebvre1 wants to merge 12 commits into
dmf-mxl:mainfrom
jonasohland:feature/fabrics/rust-bindings

Conversation

@mlefebvre1

@mlefebvre1 mlefebvre1 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Details

As the title describes, this adds Rust Bindings to the new Fabrics API. It also includes a demo app written in Rust that behaves similarly to demo.cpp.

This PR will close #182.

Backport requirements

v1.1

mlefebvre1 and others added 12 commits July 23, 2026 15:02
Co-authored-by: Michael Lefebvre <michael.lefebvre.31@gmail.com>
Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
Co-authored-by: Michael Lefebvre <michael.lefebvre.31@gmail.com>
Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
Co-authored-by: Michael Lefebvre <michael.lefebvre.31@gmail.com>
Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
Co-authored-by: Michael Lefebvre <michael.lefebvre.31@gmail.com>

Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
Co-authored-by: Michael Lefebvre <michael.lefebvre.31@gmai..com>

Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
Co-authored-by: Michael Lefebvre <michael.lefebvre.31@gmail.com>

Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
Co-authored-by: Michael Lefebvre <michael.lefebvre.31@gmail.com>

Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
Co-authored-by: Michael Lefebvre <michael.lefebvre.31@gmail.com>

Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
Co-authored-by: Michael Lefebvre <michael.lefebvre.31@gmail.com>

Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
Co-authored-by: Jonas Ohland <jonas.ohland@gmail.com>
Signed-off-by: Jonas Ohland (Riedel) <jonas.ohland@riedel.net>
Co-authored-by: Michael Lefebvre <michael.lefebvre.31@gmail.com>

Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
Co-authored-by: Michael Lefebvre <michael.lefebvre.31@gmail.com>

Signed-off-by: Michael Lefebvre <michael.lefebvre@riedel.net>
@mlefebvre1 mlefebvre1 added the backport/v1.1 This PR should be back ported to the release branch of version 1.1. label Jul 23, 2026
@mlefebvre1

Copy link
Copy Markdown
Contributor Author

As a general question, should we follow the same versioning for the Rust bindings crates as the project itself? Currently the crates are still at version 0.1.0

@pedro-alves-ferreira

Copy link
Copy Markdown
Contributor

As a general question, should we follow the same versioning for the Rust bindings crates as the project itself? Currently the crates are still at version 0.1.0

Good point. What I would like to is to keep all Rust bindings on par with the SDK version.

My concern is what do we do if we need to change the bindings, irrespective of any change in the SDK.
We could fix bugs and change the patch version, independently from the SDK.
But, if we need/want to change the Rust API, then it's trickier.
I'm a bit torn here.

@garethsb

Copy link
Copy Markdown
Contributor

I would say a version for the FFI layer should slavishly follow the the SDK version but maybe the higher level Rust API could be separately versioned?

@pedro-alves-ferreira

Copy link
Copy Markdown
Contributor

I would say a version for the FFI layer should slavishly follow the the SDK version but maybe the higher level Rust API could be separately versioned?

Sounds good to me. And then we would use semantic versioning for the higher level API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport/v1.1 This PR should be back ported to the release branch of version 1.1.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fabrics: Rust bindings

4 participants