Skip to content

Support Rust traits/callbacks #29

Open

Description

@criccomini

We're using this binding for SlateDB (a storage engine similar to RocksDB). SlateDB uses Rust traits in several scenarios:

  1. Users implement a MergeOperator trait to implement custom merge logic in SlateDB
  2. SlateDB provides a LogCallback so bindings may integrate SlateDB logs into their log framework of choice

It seems that the current Node bindgen library doesn't support these use cases.

  • Do you have any plans to add such support?
  • Are you open to accepting (AI coded, AI tested, human reviewed) PRs for these features?

Activity

  1. 1egoman commented on Mar 23, 2026

    @1egoman
    Collaborator

    Hi! Definitely open to contributions, though we actually have our own effort ongoing at livekit right now to introduce both of these eventually.

    Going to tag in @jhugman as he has been assisting and can go into the current plan a bit more!

  2. criccomini commented on Mar 23, 2026

    @criccomini
    Author

    Sounds good! If y'all are working on this, all the better!

    I did find some other issues, for which I've opened GH PRs. cc @jhugman

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions