# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "xcomponent-sys" version = "0.1.1" build = false exclude = ["src/xcomponent_api11.rs"] autobins = false autoexamples = false autotests = false autobenches = false description = "Raw Bindings to the `xcomponent` API of OpenHarmony" readme = "README.md" keywords = [ "OpenHarmony", "HarmonyOS", "ffi", "XComponent", "UI", ] license = "Apache-2.0" repository = "https://github.com/openharmony-rs/ohos-sys" [package.metadata.docs.rs] all-features = true features = ["document-features"] targets = [ "aarch64-unknown-linux-ohos", "armv7-unknown-linux-ohos", "x86_64-unknown-linux-ohos", ] [lib] name = "xcomponent_sys" path = "src/lib.rs" [dependencies.document-features] version = "0.2" optional = true [dependencies.keyboard-types] version = "0.7.0" optional = true [features] api-10 = [] api-11 = ["api-10"] api-12 = ["api-11"] default = [] document-features = ["dep:document-features"] keyboard-types = ["dep:keyboard-types"]