Skip to content

Open to contributions? Added 2 features: 1. Java Binder <=> Rust SpIBinder, 2. UnstructuredParcelables (custom parcelables) #6

Open
@PLeVasseur

Description

@PLeVasseur

Hi there 👋

I'm using this crate as a part of our uProtocol development work. Your crate is an awesome way to avoid having to build out of the Android Open Source Project when interacting with Binder through Rust. From what I've seen it allows us to avoid having to fall into compiling a lot of our project out the AOSP, since it tends to be all-consuming. (I spent a couple of weeks trying to get just a few dependency crates compiling haha)

You can find my fork here.

Would you folks be open to contributions into upstream & then publishing a new version with the updates to crates.io?

I have extended it with two new functionalities for our use case:

  1. We can now use custom parcelables in Rust. This feature was added to the Android Open Source Project (AOSP) about a month ago.
    • In support of our usage of Protobuf for serialization and deserialization -- we needed that same ability in Rust
  2. We can now interoperate with Java by receiving / sending Binder objects through the JNI and transforming them to the appropriate Rust Binder objects.

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