[package]
name = "lingxia-webview"
version.workspace = true
edition.workspace = true
description = "WebView abstraction layer for LingXia framework (Android, iOS, HarmonyOS)"
license = "MIT"
repository = "https://github.com/LingXia-Dev/LingXia"
keywords = ["lingxia", "webview", "lxapp", "cross-platform"]
categories = ["web-programming", "api-bindings"]
[dependencies]
log = { workspace = true }
thiserror = { workspace = true }
serde_json = { workspace = true }
http = { workspace = true }
tokio = { workspace = true, features = ["sync"] }
[target.'cfg(target_os = "android")'.dependencies]
jni = "0.22.1"
android_logger = "0.15.0"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies]
oslog = "0.2.0"
objc2 = "0.6"
objc2-web-kit = "0.3"
objc2-foundation = "0.3"
block2 = "0.6"
dispatch2 = "0.3"
[target.'cfg(all(target_os = "linux", target_env = "ohos"))'.dependencies]
ohos_hilog = "0.1"
napi-ohos = "1.1.4"
napi-derive-ohos = "1.1.4"
ohos-raw-sys="0.1.0"
ohos-web-sys="0.0.1"