Crates.io | ohos-sys-opaque-types |
lib.rs | ohos-sys-opaque-types |
version | |
source | src |
created_at | 2025-01-05 18:49:04.176107 |
updated_at | 2025-01-08 20:59:16.766555 |
description | Internal helper cratefor opaque type bindings that are used in multiple ohos-sys crates |
homepage | |
repository | https://github.com/openharmony-rs/ohos-sys |
max_upload_size | |
id | 1504980 |
Cargo.toml error: | TOML parse error at line 17, column 1 | 17 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.
These bindings are licensed under the Apache 2.0 license, matching the license of corresponding C/C++ header files.