Files
tauri-plugins-workspace/plugins/websocket/Cargo.toml
T
github-actions[bot] 8c6d96e645 Publish New Versions (v2) (#832)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2023-12-19 23:56:51 -03:00

30 lines
888 B
TOML

[package]
name = "tauri-plugin-websocket"
version = "2.0.0-alpha.6"
description = "Expose a WebSocket server to your Tauri frontend."
authors = { workspace = true }
license = { workspace = true }
edition = { workspace = true }
rust-version = { workspace = true }
exclude = [ "/examples" ]
[package.metadata.docs.rs]
rustc-args = [ "--cfg", "docsrs" ]
rustdoc-args = [ "--cfg", "docsrs" ]
[dependencies]
serde = { workspace = true }
serde_json = { workspace = true }
tauri = { workspace = true }
log = { workspace = true }
thiserror = { workspace = true }
rand = "0.8"
futures-util = "0.3"
tokio = { version = "1", features = [ "net", "sync" ] }
tokio-tungstenite = { version = "0.20" }
[features]
native-tls = [ "tokio-tungstenite/native-tls" ]
native-tls-vendored = [ "tokio-tungstenite/native-tls-vendored" ]
rustls-tls-webpki-roots = [ "tokio-tungstenite/rustls-tls-webpki-roots" ]