4 releases

new 0.2.3 Jan 9, 2025
0.2.2 Jan 8, 2025
0.2.0 Jan 4, 2025
0.1.0 Dec 4, 2024

#854 in Rust patterns

Download history 119/week @ 2024-12-01 23/week @ 2024-12-08 9/week @ 2024-12-15 24/week @ 2024-12-22 103/week @ 2024-12-29 790/week @ 2025-01-05

927 downloads per month
Used in 3 crates

Apache-2.0

1MB
11K SLoC

ArkUI native bindings for OpenHarmony

Raw bindings to native ArkUI APIs on OpenHarmony.

Development

This crate is developed as part of the ohos-sys bindings.

License

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


lib.rs:

ArkUI Native

A module to interact with ArkUI from native Rust code. It provides:

  • drag and drop APIs of ArkUI
  • APIs of ArkUI to register gesture callbacks.
  • 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.

Feature flags

Dependencies