Files
gelectron/vendor/wry/Cargo.toml
T

369 lines
8.2 KiB
TOML

# 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 = "2021"
name = "wry"
version = "0.47.2"
authors = ["Tauri Programme within The Commons Conservancy"]
build = "build.rs"
exclude = [
"/.changes",
"/.github",
"/audits",
"/wry-logo.svg",
]
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Cross-platform WebView rendering library"
documentation = "https://docs.rs/wry"
readme = "README.md"
categories = ["gui"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/tauri-apps/wry"
[package.metadata.docs.rs]
features = [
"drag-drop",
"protocol",
"os-webview",
]
no-default-features = true
rustc-args = [
"--cfg",
"docsrs",
]
rustdoc-args = [
"--cfg",
"docsrs",
]
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-pc-windows-msvc",
"x86_64-apple-darwin",
]
[lib]
name = "wry"
path = "src/lib.rs"
[[example]]
name = "async_custom_protocol"
path = "examples/async_custom_protocol.rs"
[[example]]
name = "custom_protocol"
path = "examples/custom_protocol.rs"
[[example]]
name = "custom_titlebar"
path = "examples/custom_titlebar.rs"
[[example]]
name = "gtk_multiwebview"
path = "examples/gtk_multiwebview.rs"
[[example]]
name = "multiwebview"
path = "examples/multiwebview.rs"
[[example]]
name = "multiwindow"
path = "examples/multiwindow.rs"
[[example]]
name = "reparent"
path = "examples/reparent.rs"
[[example]]
name = "simple"
path = "examples/simple.rs"
[[example]]
name = "streaming"
path = "examples/streaming.rs"
[[example]]
name = "transparent"
path = "examples/transparent.rs"
[[example]]
name = "wgpu"
path = "examples/wgpu.rs"
[[example]]
name = "winit"
path = "examples/winit.rs"
[dependencies.cookie]
version = "0.18"
[dependencies.dpi]
version = "0.1"
[dependencies.http]
version = "1.1"
[dependencies.once_cell]
version = "1"
[dependencies.raw-window-handle]
version = "0.6"
features = ["std"]
[dependencies.thiserror]
version = "1.0"
[dependencies.tracing]
version = "0.1"
optional = true
[dev-dependencies.getrandom]
version = "0.2"
[dev-dependencies.http-range]
version = "0.1"
[dev-dependencies.percent-encoding]
version = "2.3"
[dev-dependencies.pollster]
version = "0.3.0"
[dev-dependencies.tao]
version = "0.29"
[dev-dependencies.wgpu]
version = "0.19"
[dev-dependencies.winit]
version = "0.29"
[features]
default = [
"drag-drop",
"objc-exception",
"protocol",
"os-webview",
]
devtools = []
drag-drop = []
fullscreen = []
linux-body = [
"webkit2gtk/v2_40",
"os-webview",
]
mac-proxy = []
objc-exception = ["objc2/catch-all"]
os-webview = [
"javascriptcore-rs",
"webkit2gtk",
"webkit2gtk-sys",
"dep:gtk",
"soup3",
"x11-dl",
"gdkx11",
]
protocol = []
serde = ["dpi/serde"]
tracing = ["dep:tracing"]
transparent = []
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.block2]
version = "0.5"
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2]
version = "0.5"
features = ["exception"]
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2-foundation]
version = "0.2.0"
features = [
"NSURLRequest",
"NSURL",
"NSString",
"NSKeyValueCoding",
"NSStream",
"NSDictionary",
"NSObject",
"NSData",
"NSKeyValueObserving",
"NSThread",
"NSJSONSerialization",
"NSDate",
"NSBundle",
"NSProcessInfo",
"NSValue",
"NSRange",
"NSRunLoop",
]
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.objc2-web-kit]
version = "0.2.0"
features = [
"objc2-app-kit",
"block2",
"WKWebView",
"WKWebViewConfiguration",
"WKWebsiteDataStore",
"WKDownload",
"WKDownloadDelegate",
"WKNavigation",
"WKNavigationDelegate",
"WKUserContentController",
"WKURLSchemeHandler",
"WKPreferences",
"WKURLSchemeTask",
"WKScriptMessageHandler",
"WKUIDelegate",
"WKOpenPanelParameters",
"WKFrameInfo",
"WKSecurityOrigin",
"WKScriptMessage",
"WKNavigationAction",
"WKWebpagePreferences",
"WKNavigationResponse",
"WKUserScript",
"WKHTTPCookieStore",
]
[target.'cfg(any(target_os = "ios", target_os = "macos"))'.dependencies.url]
version = "2.5"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.gdkx11]
version = "0.18"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.gtk]
version = "0.18"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.javascriptcore-rs]
version = "=1.1.2"
features = ["v2_28"]
optional = true
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.percent-encoding]
version = "2.3"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.soup3]
version = "0.5"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.webkit2gtk]
version = "=2.0.1"
features = ["v2_38"]
optional = true
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.webkit2gtk-sys]
version = "=2.0.1"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.x11-dl]
version = "2.21"
optional = true
[target.'cfg(target_os = "android")'.dependencies.base64]
version = "0.22"
[target.'cfg(target_os = "android")'.dependencies.crossbeam-channel]
version = "0.5"
[target.'cfg(target_os = "android")'.dependencies.html5ever]
version = "0.26"
[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21"
[target.'cfg(target_os = "android")'.dependencies.kuchiki]
version = "0.8"
package = "kuchikiki"
[target.'cfg(target_os = "android")'.dependencies.libc]
version = "0.2"
[target.'cfg(target_os = "android")'.dependencies.ndk]
version = "0.9"
[target.'cfg(target_os = "android")'.dependencies.sha2]
version = "0.10"
[target.'cfg(target_os = "android")'.dependencies.tao-macros]
version = "0.1"
[target.'cfg(target_os = "ios")'.dependencies.objc2-ui-kit]
version = "0.2.2"
features = [
"UIResponder",
"UIScrollView",
"UIView",
"UIWindow",
"UIApplication",
"UIEvent",
]
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.2.0"
features = [
"NSApplication",
"NSEvent",
"NSWindow",
"NSView",
"NSPasteboard",
"NSPanel",
"NSResponder",
"NSOpenPanel",
"NSSavePanel",
"NSMenu",
]
[target.'cfg(target_os = "windows")'.dependencies.dunce]
version = "1"
[target.'cfg(target_os = "windows")'.dependencies.webview2-com]
version = "0.33"
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.58"
features = [
"implement",
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_LibraryLoader",
"Win32_System_Ole",
"Win32_System_SystemInformation",
"Win32_System_SystemServices",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
"Win32_Globalization",
"Win32_UI_HiDpi",
"Win32_UI_Input",
"Win32_UI_Input_KeyboardAndMouse",
]
[target.'cfg(target_os = "windows")'.dependencies.windows-core]
version = "0.58"
[target.'cfg(target_os = "windows")'.dependencies.windows-version]
version = "0.1"
[lints.rust.unexpected_cfgs]
level = "warn"
priority = 0
check-cfg = [
"cfg(linux)",
"cfg(gtk)",
]