#open-harmony #harmony-os #ui #native-bindings

arkui

Rust bindings to ArkUI on OpenHarmony

1 unstable release

new 0.0.1 Dec 4, 2024

#18 in #harmony-os

Apache-2.0

5KB

ArkUI native bindings for OpenHarmony

Safe Rust bindings to ArkUI Native APIs on OpenHarmony.

Development

This crate is still under development and contributions are welcome.

License

This crate is licensed under the Apache-2.0 license, matching the OpenHarmony OS SDK.


lib.rs:

ArkUI Native

Safe Rust abstractions to interact with ArkUI from native Rust code. This crate is still under development and only provides safe abstractions for a subset of the available C APIs. Currently, that is:

  • APIs of ArkUI to register gesture callbacks.

The following features will hopefully be added soon:

  • drag and drop APIs of ArkUI
  • animation callbacks of ArkUI
  • UI capabilities such as UI component creation and destruction, tree node operations, attribute setting, and event listening.

See the official upstream documentation on ArkUI Native for more information.

Dependencies

~790KB