# 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"
rust-version = "1.78.0"
name = "ohos-sys"
version = "0.8.5"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Bindings to the native API of OpenHarmony OS"
readme = "Readme.md"
keywords = [
    "OpenHarmony",
    "HarmonyOS",
    "ffi",
]
license = "Apache-2.0"
repository = "https://github.com/openharmony-rs/ohos-sys"
resolver = "2"

[package.metadata.docs.rs]
features = ["document-features"]
targets = [
    "aarch64-unknown-linux-ohos",
    "armv7-unknown-linux-ohos",
    "x86_64-unknown-linux-ohos",
]
all-features = true

[features]
abilitykit = ["dep:ohos-abilitykit-sys"]
all-components = [
    "abilitykit",
    "arkui",
    "deviceinfo",
    "drawing",
    "hilog",
    "hitrace",
    "inputmethod",
    "image-kit",
    "image-kit-image-packer",
    "image-kit-image-receiver",
    "image-kit-image-source",
    "image-kit-pixelmap",
    "multimodal-input",
    "napi",
    "native_buffer",
    "native_image",
    "native_window",
    "pasteboard",
    "rawfile",
    "xcomponent",
    "udmf",
    "vsync",
    "window_manager",
]
api-10 = []
api-11 = [
    "api-10",
    "hilog-sys?/api-11",
    "hitrace-sys?/api-11",
    "ohos-deviceinfo-sys?/api-11",
    "ohos-drawing-sys?/api-11",
    "ohos-vsync-sys?/api-11",
    "ohos-window-sys?/api-11",
    "ohos-rawfile-sys?/api-11",
    "udmf-sys?/api-11",
    "xcomponent-sys?/api-11",
]
api-12 = [
    "api-11",
    "arkui-sys?/api-12",
    "hilog-sys?/api-12",
    "hitrace-sys?/api-12",
    "ohos-abilitykit-sys?/api-12",
    "ohos-deviceinfo-sys?/api-12",
    "ohos-drawing-sys?/api-12",
    "ohos-image-kit-sys?/api-12",
    "ohos-ime-sys?/api-12",
    "ohos-input-sys?/api-12",
    "ohos-pasteboard-sys?/api-12",
    "ohos-rawfile-sys?/api-12",
    "ohos-vsync-sys?/api-12",
    "ohos-window-sys?/api-12",
    "ohos-window-manager-sys?/api-12",
    "udmf-sys?/api-12",
    "xcomponent-sys?/api-12",
]
api-13 = [
    "api-12",
    "arkui-sys?/api-13",
    "hilog-sys?/api-13",
    "hitrace-sys?/api-13",
    "ohos-abilitykit-sys?/api-13",
    "ohos-deviceinfo-sys?/api-13",
    "ohos-drawing-sys?/api-13",
    "ohos-image-kit-sys?/api-13",
    "ohos-ime-sys?/api-13",
    "ohos-input-sys?/api-13",
    "ohos-pasteboard-sys?/api-13",
    "ohos-rawfile-sys?/api-13",
    "ohos-vsync-sys?/api-13",
    "ohos-window-sys?/api-13",
    "ohos-window-manager-sys?/api-13",
    "udmf-sys?/api-13",
    "xcomponent-sys?/api-13",
]
api-14 = [
    "api-13",
    "arkui-sys?/api-14",
    "hilog-sys?/api-14",
    "hitrace-sys?/api-14",
    "ohos-abilitykit-sys?/api-14",
    "ohos-deviceinfo-sys?/api-14",
    "ohos-drawing-sys?/api-14",
    "ohos-image-kit-sys?/api-14",
    "ohos-ime-sys?/api-14",
    "ohos-input-sys?/api-14",
    "ohos-pasteboard-sys?/api-14",
    "ohos-rawfile-sys?/api-14",
    "ohos-vsync-sys?/api-14",
    "ohos-window-manager-sys?/api-14",
    "ohos-window-sys?/api-14",
    "udmf-sys?/api-14",
    "xcomponent-sys?/api-14",
]
api-15 = [
    "api-14",
    "arkui-sys?/api-15",
    "hilog-sys?/api-15",
    "hitrace-sys?/api-15",
    "ohos-abilitykit-sys?/api-15",
    "ohos-deviceinfo-sys?/api-15",
    "ohos-drawing-sys?/api-15",
    "ohos-image-kit-sys?/api-15",
    "ohos-ime-sys?/api-15",
    "ohos-input-sys?/api-15",
    "ohos-pasteboard-sys?/api-15",
    "ohos-rawfile-sys?/api-15",
    "ohos-vsync-sys?/api-15",
    "ohos-window-manager-sys?/api-15",
    "ohos-window-sys?/api-15",
    "udmf-sys?/api-15",
    "xcomponent-sys?/api-15",
]
api-16 = [
    "api-15",
    "arkui-sys?/api-16",
    "hilog-sys?/api-16",
    "hitrace-sys?/api-16",
    "ohos-abilitykit-sys?/api-16",
    "ohos-deviceinfo-sys?/api-16",
    "ohos-drawing-sys?/api-16",
    "ohos-image-kit-sys?/api-16",
    "ohos-ime-sys?/api-16",
    "ohos-input-sys?/api-16",
    "ohos-pasteboard-sys?/api-16",
    "ohos-rawfile-sys?/api-16",
    "ohos-vsync-sys?/api-16",
    "ohos-window-manager-sys?/api-16",
    "ohos-window-sys?/api-16",
    "udmf-sys?/api-16",
    "xcomponent-sys?/api-16",
]
api-17 = [
    "api-16",
    "arkui-sys?/api-17",
    "hilog-sys?/api-17",
    "hitrace-sys?/api-17",
    "ohos-abilitykit-sys?/api-17",
    "ohos-deviceinfo-sys?/api-17",
    "ohos-drawing-sys?/api-17",
    "ohos-image-kit-sys?/api-17",
    "ohos-ime-sys?/api-17",
    "ohos-input-sys?/api-17",
    "ohos-pasteboard-sys?/api-17",
    "ohos-rawfile-sys?/api-17",
    "ohos-vsync-sys?/api-17",
    "ohos-window-manager-sys?/api-17",
    "ohos-window-sys?/api-17",
    "udmf-sys?/api-17",
    "xcomponent-sys?/api-17",
]
api-18 = [
    "api-17",
    "arkui-sys?/api-18",
    "hilog-sys?/api-18",
    "hitrace-sys?/api-18",
    "ohos-abilitykit-sys?/api-18",
    "ohos-deviceinfo-sys?/api-18",
    "ohos-drawing-sys?/api-18",
    "ohos-image-kit-sys?/api-18",
    "ohos-ime-sys?/api-18",
    "ohos-input-sys?/api-18",
    "ohos-pasteboard-sys?/api-18",
    "ohos-rawfile-sys?/api-18",
    "ohos-vsync-sys?/api-18",
    "ohos-window-manager-sys?/api-18",
    "ohos-window-sys?/api-18",
    "udmf-sys?/api-18",
    "xcomponent-sys?/api-18",
]
api-19 = [
    "api-18",
    "arkui-sys?/api-19",
    "hilog-sys?/api-19",
    "hitrace-sys?/api-19",
    "ohos-abilitykit-sys?/api-19",
    "ohos-deviceinfo-sys?/api-19",
    "ohos-drawing-sys?/api-19",
    "ohos-image-kit-sys?/api-19",
    "ohos-ime-sys?/api-19",
    "ohos-input-sys?/api-19",
    "ohos-pasteboard-sys?/api-19",
    "ohos-rawfile-sys?/api-19",
    "ohos-vsync-sys?/api-19",
    "ohos-window-manager-sys?/api-19",
    "ohos-window-sys?/api-19",
    "udmf-sys?/api-19",
    "xcomponent-sys?/api-19",
]
api-20 = [
    "api-19",
    "arkui-sys?/api-20",
    "hilog-sys?/api-20",
    "hitrace-sys?/api-20",
    "ohos-abilitykit-sys?/api-20",
    "ohos-deviceinfo-sys?/api-20",
    "ohos-drawing-sys?/api-20",
    "ohos-image-kit-sys?/api-20",
    "ohos-ime-sys?/api-20",
    "ohos-input-sys?/api-20",
    "ohos-pasteboard-sys?/api-20",
    "ohos-rawfile-sys?/api-20",
    "ohos-vsync-sys?/api-20",
    "ohos-window-manager-sys?/api-20",
    "ohos-window-sys?/api-20",
    "udmf-sys?/api-20",
    "xcomponent-sys?/api-20",
]
api-21 = [
    "api-20",
    "arkui-sys?/api-21",
    "hilog-sys?/api-21",
    "hitrace-sys?/api-21",
    "ohos-abilitykit-sys?/api-21",
    "ohos-deviceinfo-sys?/api-21",
    "ohos-drawing-sys?/api-21",
    "ohos-image-kit-sys?/api-21",
    "ohos-ime-sys?/api-21",
    "ohos-input-sys?/api-21",
    "ohos-pasteboard-sys?/api-21",
    "ohos-rawfile-sys?/api-21",
    "ohos-vsync-sys?/api-21",
    "ohos-window-manager-sys?/api-21",
    "ohos-window-sys?/api-21",
    "udmf-sys?/api-21",
    "xcomponent-sys?/api-21",
]
arkui = ["dep:arkui-sys"]
default = ["api-10"]
deviceinfo = ["dep:ohos-deviceinfo-sys"]
document-features = ["dep:document-features"]
drawing = [
    "dep:ohos-drawing-sys",
    "arkui-sys?/drawing",
]
hilog = ["dep:hilog-sys"]
hitrace = ["dep:hitrace-sys"]
image-kit = ["dep:ohos-image-kit-sys"]
image-kit-image-packer = ["ohos-image-kit-sys/image-packer"]
image-kit-image-receiver = ["ohos-image-kit-sys/image-receiver"]
image-kit-image-source = ["ohos-image-kit-sys/image-source"]
image-kit-pixelmap = ["ohos-image-kit-sys/pixelmap"]
inputmethod = ["dep:ohos-ime-sys"]
multimodal-input = ["dep:ohos-input-sys"]
napi = []
native_buffer = ["dep:ohos-window-sys"]
native_image = ["dep:ohos-window-sys"]
native_window = ["dep:ohos-window-sys"]
pasteboard = ["dep:ohos-pasteboard-sys"]
rawfile = ["ohos-rawfile-sys"]
udmf = ["dep:udmf-sys"]
vsync = ["dep:ohos-vsync-sys"]
window_manager = ["dep:ohos-window-manager-sys"]
xcomponent = ["dep:xcomponent-sys"]
xcomponent-keyboard-types = ["xcomponent-sys/keyboard-types"]

[lib]
name = "ohos_sys"
path = "src/lib.rs"

[dependencies.arkui-sys]
version = "0.3.3"
optional = true

[dependencies.document-features]
version = "0.2"
optional = true

[dependencies.hilog-sys]
version = "0.1.7"
optional = true

[dependencies.hitrace-sys]
version = "0.1.7"
optional = true

[dependencies.ohos-abilitykit-sys]
version = "0.1.3"
optional = true

[dependencies.ohos-deviceinfo-sys]
version = "0.1.6"
optional = true

[dependencies.ohos-drawing-sys]
version = "0.3.3"
optional = true

[dependencies.ohos-image-kit-sys]
version = "0.3.4"
optional = true

[dependencies.ohos-ime-sys]
version = "0.2.3"
optional = true

[dependencies.ohos-input-sys]
version = "0.3.3"
optional = true

[dependencies.ohos-pasteboard-sys]
version = "0.1.3"
optional = true

[dependencies.ohos-rawfile-sys]
version = "0.1.3"
optional = true

[dependencies.ohos-sys-opaque-types]
version = "0.1.8"

[dependencies.ohos-vsync-sys]
version = "0.1.5"
optional = true

[dependencies.ohos-window-manager-sys]
version = "0.1.3"
optional = true

[dependencies.ohos-window-sys]
version = "0.1.4"
optional = true

[dependencies.udmf-sys]
version = "0.1.3"
optional = true

[dependencies.xcomponent-sys]
version = "0.3.5"
optional = true
