ohos-xcomponent-binding 0.3.1

OpenHarmony's xcomponent binding for rust
Documentation

ohos-xcomponent-binding

This crate is a binding for the xcomponent module in OpenHarmony.

Install

cargo add ohos-xcomponent-binding

Usage

Add this crate to your native module and import it from Rust code:

use ohos_xcomponent_binding as xcomponent;

// Use the safe Rust APIs exposed by `ohos-xcomponent-binding` from your native module.

License

MIT OR Apache-2.0