mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-01-31 00:45:24 +01:00
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
47 lines
1.4 KiB
TOML
47 lines
1.4 KiB
TOML
[package]
|
|
name = "tauri-plugin-websocket"
|
|
version = "2.4.2"
|
|
description = "Expose a WebSocket server to your Tauri frontend."
|
|
authors = { workspace = true }
|
|
license = { workspace = true }
|
|
edition = { workspace = true }
|
|
rust-version = { workspace = true }
|
|
repository = { workspace = true }
|
|
links = "tauri-plugin-websocket"
|
|
exclude = ["/examples"]
|
|
|
|
[package.metadata.platforms.support]
|
|
windows = { level = "full", notes = "" }
|
|
linux = { level = "full", notes = "" }
|
|
macos = { level = "full", notes = "" }
|
|
android = { level = "full", notes = "" }
|
|
ios = { level = "full", notes = "" }
|
|
|
|
[build-dependencies]
|
|
tauri-plugin = { workspace = true, features = ["build"] }
|
|
|
|
[dependencies]
|
|
serde = { workspace = true }
|
|
serde_json = { workspace = true }
|
|
tauri = { workspace = true }
|
|
log = { workspace = true }
|
|
thiserror = { workspace = true }
|
|
http = "1"
|
|
rand = "0.9"
|
|
futures-util = "0.3"
|
|
tokio = { version = "1", features = ["net", "sync"] }
|
|
tokio-tungstenite = { version = "0.28" }
|
|
rustls = { version = "0.23", default-features = false, features = [
|
|
"ring",
|
|
], optional = true }
|
|
|
|
[features]
|
|
default = ["rustls-tls"]
|
|
native-tls = ["tokio-tungstenite/native-tls"]
|
|
native-tls-vendored = ["native-tls", "tokio-tungstenite/native-tls-vendored"]
|
|
rustls-tls = ["tokio-tungstenite/rustls-tls-webpki-roots", "dep:rustls"]
|
|
rustls-tls-native-roots = [
|
|
"tokio-tungstenite/rustls-tls-native-roots",
|
|
"dep:rustls",
|
|
]
|