apache / apache/iggy

[C++ SDK] Consider converting high-level classes in iggy.hpp to rust-based enums

Open
#2,830 0 comments 0 reactions 0 assignees View on GitHub
cpp rust sdk
Dominant language
Rust
Stars
4.9k
Forks
432
Avg merge
2d 10h
Merged PRs (30d)
173

Description

### Description

The current sdk does not create enums in rust and export them. Instead, it defines those in iggy.hpp and uses them to send strings across the ffi boundary. Consider adding enums to rust and exporting them to cpp side.

sub issue of #2100

### Component

Other

### Proposed solution

_No response_

### Alternatives considered

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with iggy.hpp and review parent issue #2100 to understand the high-level classes and current string-based FFI handling. Compare the Rust and C++ SDK sides, then define completion as representing the relevant enums in Rust and exporting them to C++ instead of sending strings across the boundary.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, rust
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.