[package]
edition = "2024"
name = "lingxia-webview"
version = "0.6.3"
build = false
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"
[features]
default = []
webview-input = []
[lib]
name = "lingxia_webview"
path = "src/lib.rs"
[dependencies.async-trait]
version = "0.1"
[dependencies.http]
version = "1.3.1"
[dependencies.log]
version = "0.4.29"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.serde_json]
version = "1.0.143"
features = ["raw_value"]
[dependencies.thiserror]
version = "2.0.16"
[dependencies.tokio]
version = "1.0"
features = [
"rt",
"time",
"macros",
"sync",
"sync",
"time",
]
[target.'cfg(all(target_os = "linux", target_env = "ohos"))'.dependencies.base64]
version = "0.22.1"
[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"
features = ["exception"]
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2-foundation]
version = "0.3"
features = [
"NSDictionary",
"NSHTTPCookie",
"NSDate",
]
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2-web-kit]
version = "0.3"
features = ["WKHTTPCookieStore"]
[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.base64]
version = "0.22.1"
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.22.1"
[target.'cfg(target_os = "macos")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
"NSEvent",
"NSGraphicsContext",
"NSResponder",
"NSView",
"NSWindow",
"objc2-core-graphics",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "0.3"
features = [
"CGBase",
"CGEvent",
"CGEventSource",
"CGEventTypes",
"CGGeometry",
"CGRemoteOperation",
"libc",
"objc2",
]
default-features = false