lingxia-platform 0.10.0

Platform abstraction layer for LingXia framework (Android, iOS, HarmonyOS)
Documentation
# 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 = "2024"
name = "lingxia-platform"
version = "0.10.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.async-trait]
version = "0.1"

[dependencies.lingxia-messaging]
version = "0.10.0"

[dependencies.lingxia-surface]
version = "0.10.0"

[dependencies.log]
version = "0.4.29"

[dependencies.rong_rt]
version = "0.4.0"
default-features = false

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.thiserror]
version = "2.0.16"

[dependencies.tokio]
version = "1.0"
features = [
    "rt",
    "time",
    "macros",
    "sync",
    "rt",
    "time",
]

[build-dependencies.napi-build-ohos]
version = "1.1.6"

[build-dependencies.swift-bridge-build]
version = "0.1.59"

[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-foundation]
version = "0.3"

[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.7.0"

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.serde_json]
version = "1.0.143"
features = ["raw_value"]

[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.swift-bridge]
version = "0.1.59"

[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies.image]
version = "0.25.10"
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"
default-features = false

[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies.rxing]
version = "0.8.3"

[target.'cfg(any(target_os = "macos", target_os = "windows"))'.dependencies.serde_json]
version = "1.0.143"
features = ["raw_value"]

[target.'cfg(target_env = "ohos")'.dependencies.base64]
version = "0.22.1"

[target.'cfg(target_env = "ohos")'.dependencies.image]
version = "0.25.10"
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.10.0"

[target.'cfg(target_env = "ohos")'.dependencies.napi-derive-ohos]
version = "1.1.6"

[target.'cfg(target_env = "ohos")'.dependencies.napi-ohos]
version = "1.1.6"

[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"
features = ["raw_value"]

[target.'cfg(target_os = "android")'.dependencies.android_logger]
version = "0.15.0"

[target.'cfg(target_os = "android")'.dependencies.base64]
version = "0.22.1"

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.22.1"

[target.'cfg(target_os = "android")'.dependencies.ndk-sys]
version = "0.6.0"

[target.'cfg(target_os = "android")'.dependencies.serde_json]
version = "1.0.143"
features = ["raw_value"]

[target.'cfg(target_os = "ios")'.dependencies.block2]
version = "0.6"

[target.'cfg(target_os = "ios")'.dependencies.objc2-photos]
version = "0.3"

[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
    "NSEvent",
    "NSGraphicsContext",
    "NSView",
    "NSWindow",
    "objc2-core-graphics",
]
default-features = false

[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "0.3"
features = [
    "CGBase",
    "CGDirectDisplay",
    "CGEvent",
    "CGEventTypes",
    "CGGeometry",
    "objc2",
]
default-features = false

[target.'cfg(target_os = "windows")'.dependencies.lingxia-webview]
version = "0.10.0"

[target.'cfg(target_os = "windows")'.dependencies.lingxia-windows-contract]
version = "0.10.0"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.2"
features = [
    "Devices_Geolocation",
    "Foundation",
    "Networking",
    "Networking_Connectivity",
    "Win32_Foundation",
    "Win32_Globalization",
    "Win32_Graphics_Dwm",
    "Win32_Graphics_Gdi",
    "Win32_Media_MediaFoundation",
    "Win32_NetworkManagement_Ndis",
    "Win32_NetworkManagement_WiFi",
    "Win32_Security_Credentials",
    "Win32_Storage_FileSystem",
    "Win32_System_Com_StructuredStorage",
    "Win32_System_LibraryLoader",
    "Win32_System_Registry",
    "Win32_System_Threading",
    "Win32_System_SystemInformation",
    "Win32_System_Variant",
    "Win32_UI_Controls",
    "Win32_UI_HiDpi",
    "Win32_UI_Shell",
    "Win32_UI_WindowsAndMessaging",
]
default-features = false