binder_tokio 0.2.0

Rust bindings for Android's Binder IPC mechanism
Documentation

This crate lets you use the Tokio spawn_blocking pool with AIDL in async Rust code.

This crate works by defining a type Tokio, which you can use as the generic parameter in the async version of the trait generated by the AIDL compiler.

use binder_tokio::Tokio;

binder::get_interface::<dyn SomeAsyncInterface<Tokio>>("...").