mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-23 11:36:13 +02:00
26 lines
650 B
TOML
26 lines
650 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 }
|
|
tauri-runtime-wry = { workspace = true, optional = true }
|
|
tauri-runtime-cef = { workspace = true, optional = true }
|
|
tokio = { version = "1", features = ["net"] }
|
|
futures-util = "0.3"
|
|
tauri-plugin-websocket = { path = "../../../" }
|
|
tokio-tungstenite = "0.28"
|
|
|
|
[build-dependencies]
|
|
tauri-build = { workspace = true }
|
|
|
|
[features]
|
|
default = ["wry"]
|
|
wry = ["dep:tauri-runtime-wry"]
|
|
cef = ["dep:tauri-runtime-cef"]
|
|
prod = ["tauri/custom-protocol"]
|