forked from tauri-apps/plugins-workspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
37 lines (33 loc) · 1.12 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "tauri-plugin-websocket"
version = "2.0.0-beta.7"
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.docs.rs]
rustc-args = [ "--cfg", "docsrs" ]
rustdoc-args = [ "--cfg", "docsrs" ]
[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.8"
futures-util = "0.3"
tokio = { version = "1", features = [ "net", "sync" ] }
tokio-tungstenite = { version = "0.23" }
[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" ]
rustls-tls-native-roots = [ "tokio-tungstenite/rustls-tls-native-roots" ]