apache / apache/iggy

[C++ SDK] Create Rust side FFI bindings for the C++ SDK

Open
#2,763 0 comments 0 reactions 1 assignee Claimed by @slbotbm View on GitHub
cpp sdk
Dominant language
Rust
Stars
4.9k
Forks
432
Avg merge
2d 10h
Merged PRs (30d)
173

Description

### Description

For C++ to utilize the Rust side code, bindings need to be created.

### Component

None

### Proposed solution

cxx will be used to create these bindings. There will only be one opaque type (`IggyClient`), which will be used to interact with the Rust code. Transparent types will include `PolledMessages`, `Message`, `ServerDetails`, `TopicDetails`, `Identifier`.

Integration tests will be written for the low level client created by these bindings.

### Alternatives considered

uniffi

sub-issue of #2100

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.