[workspace]
members = ["examples/helloworld"]
[package]
name = "tauri-runtime-servo"
version = "0.1.0"
description = "Servo bindings to the Tauri runtime — an experimental Tauri runtime backed by the Servo web engine"
readme = "README.md"
authors = [
"Jonathan Kingston",
"Tauri Programme within The Commons Conservancy",
]
homepage = "https://tauri.app/"
repository = "https://github.com/copse-dev/tauri-runtime-servo"
categories = ["gui", "web-programming"]
keywords = ["tauri", "servo", "webview", "gui", "runtime"]
license = "Apache-2.0 OR MIT"
edition = "2021"
rust-version = "1.94"
exclude = ["CHANGELOG.md", "/target", "/examples", "/servo-patches"]
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-unknown-linux-gnu"
targets = [
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
]
[dependencies]
servo = "0.5"
tao = { version = "0.36", default-features = false, features = ["rwh_06"] }
tauri-runtime = "2.11.3"
tauri-utils = "2.9.3"
raw-window-handle = "0.6"
euclid = "0.22"
futures-channel = "0.3"
keyboard-types = "0.8.3"
percent-encoding = "2.3"
url = "2.5"
http = "1"
dpi = "0.1"
cookie = "0.18"
thiserror = "2"
rustls = { version = "0.23", default-features = false, features = [
"aws-lc-rs",
"logging",
"std",
"tls12",
] }
tracing = { version = "0.1", optional = true }
log = "0.4.21"
[target."cfg(windows)".dependencies]
softbuffer = { version = "0.4", default-features = false }
once_cell = "1.20"
[target."cfg(windows)".dependencies.windows]
version = "0.61"
features = [
"Win32_Foundation",
"Win32_Graphics_Dwm",
"Win32_Graphics_Gdi",
"Win32_System_LibraryLoader",
"Win32_UI_HiDpi",
"Win32_UI_Input",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
]
[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
gtk = { version = "0.18", features = ["v3_24"] }
[target."cfg(target_os = \"macos\")".dependencies]
objc2-app-kit = { version = "0.3.2", default-features = false, features = [
"block2",
"NSApplication",
"NSResponder",
"NSView",
"NSWindow",
"NSScreen",
"NSGraphics",
] }
objc2 = "0.6"
[target."cfg(target_os = \"android\")".dependencies]
jni = "0.21"
[features]
default = ["x11", "dbus"]
patched-servo = []
devtools = ["tauri-runtime/devtools"]
x11 = ["tao/x11"]
macos-private-api = ["tauri-runtime/macos-private-api"]
macos-proxy = []
unstable = []
tracing = ["dep:tracing"]
dbus = ["tao/dbus"]