#open-harmony #harmony-os #ui #ffi #x-component

xcomponent-sys

Raw Bindings to the xcomponent API of OpenHarmony

5 unstable releases

new 0.3.0 Jan 9, 2025
0.2.1 Jan 8, 2025
0.2.0 Jan 4, 2025
0.1.1 Oct 28, 2024
0.1.0 Oct 4, 2024

#635 in Graphics APIs

Download history 105/week @ 2024-10-02 14/week @ 2024-10-09 2/week @ 2024-10-16 114/week @ 2024-10-23 74/week @ 2024-10-30 749/week @ 2024-11-06 636/week @ 2024-11-13 855/week @ 2024-11-20 548/week @ 2024-11-27 765/week @ 2024-12-04 985/week @ 2024-12-11 1090/week @ 2024-12-18 351/week @ 2024-12-25 803/week @ 2025-01-01 1325/week @ 2025-01-08

3,712 downloads per month
Used in ohos-sys

Apache-2.0

375KB
4.5K SLoC

OpenHarmony XComponent bindings

Low-level bindings to the native XComponent API on OpenHarmony, used to draw to a surface with OpenGL or Vulkan from native (Rust) code. A higher level binding is provided by the xcomponent crate.

English Documentation Chinese Documentation

License

Licensed under the Apache-2.0 license, matching the license of OpenHarmony.


lib.rs:

Source:

English Documentation Chinese Documentation

Feature flags

Dependencies

~0–285KB