[package]
edition = "2024"
name = "lingxia-platform"
version = "0.3.0"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Platform abstraction layer for LingXia framework (Android, iOS, HarmonyOS)"
readme = "README.md"
keywords = [
"lingxia",
"platform",
"lxapp",
"cross-platform",
]
categories = ["api-bindings"]
license = "MIT"
repository = "https://github.com/LingXia-Dev/LingXia"
resolver = "2"
[lib]
name = "lingxia_platform"
path = "src/lib.rs"
[dependencies.lingxia-messaging]
version = "0.3.0"
[dependencies.log]
version = "0.4.29"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.thiserror]
version = "2.0.16"
[build-dependencies.napi-build-ohos]
version = "1.1.0"
[build-dependencies.swift-bridge-build]
version = "0.1.57"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.base64]
version = "0.22.1"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.dispatch2]
version = "0.3"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.log]
version = "0.4.29"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2]
version = "0.6"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2-core-location]
version = "0.3"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2-foundation]
version = "0.3"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.oslog]
version = "0.2.0"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.percent-encoding]
version = "2.3"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.security-framework]
version = "3.5.1"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.serde_json]
version = "1.0.143"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.swift-bridge]
version = "0.1.57"
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies.image]
version = "0.25"
features = [
"jpeg",
"png",
]
default-features = false
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies.imagesize]
version = "0.14"
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies.rfd]
version = "0.17.2"
[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies.rxing]
version = "0.8.3"
[target.'cfg(target_env = "ohos")'.dependencies.image]
version = "0.25"
features = ["jpeg"]
default-features = false
[target.'cfg(target_env = "ohos")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_env = "ohos")'.dependencies.lingxia-webview]
version = "0.3.0"
[target.'cfg(target_env = "ohos")'.dependencies.napi-derive-ohos]
version = "1.1.0"
[target.'cfg(target_env = "ohos")'.dependencies.napi-ohos]
version = "1.1.0"
[target.'cfg(target_env = "ohos")'.dependencies.ohos-raw-sys]
version = "0.1.0"
[target.'cfg(target_env = "ohos")'.dependencies.ohos_hilog]
version = "0.1.3"
[target.'cfg(target_env = "ohos")'.dependencies.serde_json]
version = "1.0.143"
[target.'cfg(target_os = "android")'.dependencies.android_logger]
version = "0.15.0"
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21.1"
[target.'cfg(target_os = "android")'.dependencies.lingxia-webview]
version = "0.3.0"
[target.'cfg(target_os = "android")'.dependencies.ndk-sys]
version = "0.6.0"
[target.'cfg(target_os = "android")'.dependencies.serde_json]
version = "1.0.143"
[target.'cfg(target_os = "ios")'.dependencies.block2]
version = "0.6"
[target.'cfg(target_os = "ios")'.dependencies.objc2-photos]
version = "0.3"