# 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" version = "0.1.2" description = "Experimental bindings of the OpenHarmonyOS ArkUI XComponent" readme = "README.md" keywords = [ "OpenHarmony", "HarmonyOS", ] license = "Apache-2.0" repository = "https://github.com/jschwe/xcomponent.git" [package.metadata.docs.rs] default-target = "aarch64-unknown-linux-ohos" [dependencies.log] version = "0.4.21" optional = true [dependencies.napi-ohos] version = "0.1" optional = true [dependencies.ohos-sys] version = "0.1.0" [features] log = ["dep:log"] register = ["dep:napi-ohos"]