content: [package]
  name = "ohos-image-kit-sys"
  version = "0.3.3"
  edition = "2021"
  description = "Bindings to the multimedia Image Kit API of OpenHarmony"
  license = "Apache-2.0"
  repository = "https://github.com/openharmony-rs/ohos-sys"
  keywords = ["OpenHarmony", "HarmonyOS", "multimedia", "image"]
  readme = "README.md"
  
  [dependencies]
  document-features = { version = "0.2", optional = true }
  ohos-sys-opaque-types = { workspace = true }
  ohos-rawfile-sys = { version = "0.1", default-features = false, optional = true, path = "../../rawfile"}
  
  
  [features]
  default = []
  
  #! ### OpenHarmony API level
  #! The `inputmethod` API was added in API-level 12.
  #! Defaults to no bindings at all, to maintain feature composability in `ohos-sys`.
  #! Optionally enable one of the `api-*` features to get access to bindings for newer
  #! OpenHarmony versions.
  
  ## Enables bindings for OpenHarmony API-level 12.
  api-12 = ["ohos-rawfile-sys?/api-12"]
  ## Enables bindings for OpenHarmony API-level 13.
  api-13 = ["api-12"]
  ## Enables bindings for OpenHarmony API-level 14.
  api-14 = ["api-13"]
  ## Enables bindings for OpenHarmony API-level 15.
  api-15 = ["api-14"]
  ## Enables bindings for OpenHarmony API-level 16.
  api-16 = ["api-15"]
  ## Enables bindings for OpenHarmony API-level 17.
  api-17 = ["api-16"]
  ## Enables bindings for OpenHarmony API-level 18 (5.1.0).
  api-18 = ["api-17"]
  
  #! ### Image Kit Modules
  #!
  #! The Image kit is divided into different shared libraries.
  #! We provide features, so that you can select which components you want to use.
  
  ## Image Encoding
  image-packer = []
  ## Obtain image data from the native layer
  image-receiver = []
  ## Image decoding
  image-source = ["dep:ohos-rawfile-sys"]
  ## Picture
  picture = ["pixelmap"]
  ## Pixel Map
  pixelmap = []
  ## Document available features when building the documentation
  document-features = ["dep:document-features"]
  
  [package.metadata.docs.rs]
  features = ["document-features"]
  targets = ["aarch64-unknown-linux-ohos", "armv7-unknown-linux-ohos", "x86_64-unknown-linux-ohos"]
  all-features = true
  