mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-09-14 20:55:26 +02:00
30 lines
842 B
TOML
30 lines
842 B
TOML
[package]
|
|
name = "websocket-example"
|
|
version = "0.1.0"
|
|
description = "A Tauri App"
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tauri = { workspace = true, features = ["common-controls-v6"] }
|
|
# The webview runtime is picked by depending on its crate and handing its
|
|
# attributes to `tauri::Builder::runtime`.
|
|
tauri-runtime-wry = { workspace = true, optional = true, features = [
|
|
"common-controls-v6",
|
|
] }
|
|
tauri-runtime-cef = { workspace = true, optional = true }
|
|
tokio = { version = "1", features = ["net"] }
|
|
futures-util = "0.3"
|
|
tauri-plugin-websocket = { path = "../../../" }
|
|
tokio-tungstenite = "0.29"
|
|
|
|
[build-dependencies]
|
|
tauri-build = { workspace = true }
|
|
|
|
[features]
|
|
default = ["wry"]
|
|
wry = ["dep:tauri-runtime-wry"]
|
|
cef = ["dep:tauri-runtime-cef"]
|
|
prod = ["tauri/custom-protocol"]
|