Crates.io | ohos-deviceinfo |
lib.rs | ohos-deviceinfo |
version | |
source | src |
created_at | 2025-03-06 19:58:12.659596+00 |
updated_at | 2025-03-06 19:58:12.659596+00 |
description | Bindings to OpenHarmony APIs providing information about the device |
homepage | |
repository | https://github.com/openharmony-rs/ohos-deviceinfo |
max_upload_size | |
id | 1581734 |
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 crate provides a thin wrapper around the deviceinfo library on OpenHarmony OS. It allows querying basic information about the device, e.g. type and model, as well as version information about the OS.
This crate is licensed under the Apache-2.0 license, matching the OpenHarmony OS SDK.