ohos-web-sys 0.1.4

OpenHarmony's web binding for rust
Documentation
  • Coverage
  • 96.85%
    430 out of 444 items documented0 out of 18 items with examples
  • Size
  • Source code size: 144.4 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.0 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 2s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • richerfu

ohos-web-sys

This crate provides low-level sys bindings for the web module in OpenHarmony.

Install

cargo add ohos-web-sys

Usage

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

use ohos_web_sys as sys;

unsafe {
    // Call the raw FFI functions exposed by `sys` after checking
    // the corresponding OpenHarmony or HarmonyOS API requirements.
}

License

MIT OR Apache-2.0