[package]
edition = "2024"
name = "lingxia-webview"
version = "0.1.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebView abstraction layer for LingXia framework (Android, iOS, HarmonyOS)"
readme = "README.md"
keywords = [
"lingxia",
"webview",
"lxapp",
"cross-platform",
]
categories = [
"web-programming",
"api-bindings",
]
license = "MIT"
repository = "https://github.com/LingXia-Dev/LingXia"
resolver = "2"
[lib]
name = "lingxia_webview"
path = "src/lib.rs"
[dependencies.http]
version = "1.3.1"
[dependencies.log]
version = "0.4.27"
[dependencies.serde_json]
version = "1.0.143"
[dependencies.thiserror]
version = "2.0.16"
[dependencies.tokio]
version = "1.0"
features = [
"time",
"macros",
"sync",
"sync",
]
[target.'cfg(all(target_os = "linux", target_env = "ohos"))'.dependencies.napi-derive-ohos]
version = "1.1.4"
[target.'cfg(all(target_os = "linux", target_env = "ohos"))'.dependencies.napi-ohos]
version = "1.1.4"
[target.'cfg(all(target_os = "linux", target_env = "ohos"))'.dependencies.ohos-raw-sys]
version = "0.1.0"
[target.'cfg(all(target_os = "linux", target_env = "ohos"))'.dependencies.ohos-web-sys]
version = "0.0.1"
[target.'cfg(all(target_os = "linux", target_env = "ohos"))'.dependencies.ohos_hilog]
version = "0.1"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.block2]
version = "0.6"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.dispatch2]
version = "0.3"
[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-foundation]
version = "0.3"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2-web-kit]
version = "0.3"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.oslog]
version = "0.2.0"
[target.'cfg(target_os = "android")'.dependencies.android_logger]
version = "0.15.0"
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21.1"