#harmony-os #open-harmony

ohos-sys-opaque-types

Internal helper cratefor opaque type bindings that are used in multiple ohos-sys crates

9 releases

new 0.1.8 Dec 15, 2025
0.1.7 Jun 27, 2025
0.1.5 Feb 8, 2025
0.1.4 Jan 11, 2025

#9 in #open-harmony

Download history 2126/week @ 2025-08-25 1951/week @ 2025-09-01 1533/week @ 2025-09-08 1579/week @ 2025-09-15 1797/week @ 2025-09-22 1996/week @ 2025-09-29 1910/week @ 2025-10-06 2124/week @ 2025-10-13 2407/week @ 2025-10-20 2385/week @ 2025-10-27 2648/week @ 2025-11-03 2216/week @ 2025-11-10 2832/week @ 2025-11-17 1811/week @ 2025-11-24 1836/week @ 2025-12-01 1732/week @ 2025-12-08

8,484 downloads per month
Used in 13 crates

Apache-2.0

5KB
150 lines

A library for common OpenHarmony opaque types that are used in multiple components.


ohos-sys-opaque-types

This is an internal helper library for the ohos-sys crates, which defines opaque types, which are used across multiple components of the ohos-sys crates. In C/C++ these types are forward declared in multiple different headers, but doing the same in Rust would lead to multiple incompatible types. To avoid such needless pointer casts, we use this library as a common source for the opaque types, to get interoperability across the different ohos-sys crates.

License

These bindings are licensed under the Apache 2.0 license, matching the license of corresponding C/C++ header files.

No runtime deps