Skip to content

feat(pcp-defs): export reference image enums over uniffi - #1479

Merged
danielle-tfh merged 1 commit into
mainfrom
danielle/pcp-defs-uniffi
Nov 9, 2026
Merged

danielle-tfh merged 1 commit into
mainfrom
danielle/pcp-defs-uniffi

Conversation

@danielle-tfh

Copy link
Copy Markdown
Contributor

lets oxide export the reference image enums to kotlin/swift straight from pcp-defs, instead of keeping its own copy

Notes

  • optional uniffi feature, off by default - orb builds dont change
  • derives uniffi::Enum on ReferenceImage.MatchMode and MatchStatus via build.rs, same way zeroize is added today
  • forbid(unsafe_code) stays, uniffi compiles under it
  • Cargo.lock bumps fs-err 3.1.3 -> 3.3.2, uniffi needs it
  • ran clippy -D warnings, fmt and cargo test -p orb-pcp-defs with and without the feature
  • written with Claude Code

Test

@danielle-tfh
danielle-tfh requested a review from a team as a code owner November 9, 2026 12:22
@github-actions

github-actions Bot commented Nov 9, 2026

Copy link
Copy Markdown

No concrete issues found in the changes introduced by this PR. Build and test execution was not verified in this read-only environment.

@danielle-tfh
danielle-tfh enabled auto-merge (squash) November 9, 2026 12:29
@danielle-tfh
danielle-tfh merged commit b365bf5 into main Nov 9, 2026
28 checks passed
@danielle-tfh
danielle-tfh deleted the danielle/pcp-defs-uniffi branch November 9, 2026 12:37
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