# 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 = "hilog-sys" version = "0.1.2" build = false exclude = [ "src/hilog_api11.rs", "src/hilog_api12.rs", ] autobins = false autoexamples = false autotests = false autobenches = false description = "Rust bindings to the HiLog logging system of OpenHarmony" readme = "README.md" keywords = [ "OpenHarmony", "HarmonyOS", "hilog", "log", ] 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 = "hilog_sys" path = "src/lib.rs" [dependencies.document-features] version = "0.2" optional = true [dependencies.log] version = "0.4" optional = true [features] api-10 = [] api-11 = ["api-10"] api-12 = ["api-11"] default = ["api-10"] document-features = ["dep:document-features"] log = ["dep:log"]