Skip to content

feat: shared v3 shim — open options, cursors, fact log, log writer - #1

Merged
adityamukho merged 1 commit into
v3from
feat/etl-surface
Oct 7, 2026
Merged

adityamukho merged 1 commit into
v3from
feat/etl-surface

Conversation

@adityamukho

Copy link
Copy Markdown
Contributor

Updates the template so new bindings start with the v3 surface of project-minigraf/minigraf#462, #465 and #467. It is the last checklist item on each of those issues.

  • src/lib.rs is now the shim shared by minigraf-python#6, minigraf-java#9, minigraf-android#6 and minigraf-swift#6, with the customisation guide kept at the top. It replaces the template's stale 1.1.1-era shim, which used anyhow string matching for errors.
  • uniffi.toml holds the Kotlin renames (release/abandon) needed because UniFFI's Kotlin objects are AutoCloseable.
  • The README describes the shared surface and links the spec (docs/superpowers/specs/2026-10-07-binding-etl-surface-design.md, minigraf PR #468).
  • minigraf is a git dependency on the core v3 commit; this PR targets a new v3 branch.

Testing: cargo test passes 25 tests (the shared shim suite), and clippy is clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_015GgLEs8YozJjYhwPEYgTUn

The template now carries the shim shared by the UniFFI bindings
(minigraf-python#6, -java#9, -android#6, -swift#6), so new bindings start
with the v3 surface of project-minigraf/minigraf#462, #465 and #467:
open_with_options, query cursors, the fact log, current_tx_count and the
log writer. Errors map by category instead of string matching, and the
anyhow dependency is gone. uniffi.toml carries the Kotlin renames for the
shim's close() methods. The README points at the shared spec.

Depends on the unreleased v3 core by git revision.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015GgLEs8YozJjYhwPEYgTUn
@adityamukho
adityamukho merged commit d60a4f5 into v3 Oct 7, 2026
1 check passed
@adityamukho
adityamukho deleted the feat/etl-surface branch October 7, 2026 06:03
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.

1 participant