mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-25 11:46:06 +02:00
feat: update to tauri v1.0.0-rc
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
"@rollup/plugin-commonjs": "^18.0.0",
|
||||
"@rollup/plugin-node-resolve": "^11.2.0",
|
||||
"@rollup/plugin-typescript": "^8.2.0",
|
||||
"@tauri-apps/cli": "^1.0.0-beta.8",
|
||||
"@tauri-apps/cli": "^1.0.0-rc.2",
|
||||
"@tsconfig/svelte": "^1.0.0",
|
||||
"rollup": "^2.45",
|
||||
"rollup-plugin-css-only": "^3.1.0",
|
||||
|
||||
Generated
+987
-397
File diff suppressed because it is too large
Load Diff
@@ -9,14 +9,14 @@ edition = "2018"
|
||||
[dependencies]
|
||||
serde_json = "1.0"
|
||||
serde = { version = "1.0", features = [ "derive" ] }
|
||||
tauri = { version = "1.0.0-beta.5", features = ["api-all"] }
|
||||
tauri = { version = "1.0.0-rc.1", features = ["api-all"] }
|
||||
tokio = { version = "1.11", features = ["net"] }
|
||||
futures-util = "0.3"
|
||||
tauri-plugin-websocket = { path = "../../../" }
|
||||
tokio-tungstenite = "0.15"
|
||||
|
||||
[build-dependencies]
|
||||
tauri-build = "1.0.0-beta.3"
|
||||
tauri-build = "1.0.0-rc.0"
|
||||
|
||||
[features]
|
||||
default = [ "custom-protocol" ]
|
||||
|
||||
@@ -25,10 +25,9 @@ async fn accept_connection(stream: TcpStream) {
|
||||
.expect("Error during the websocket handshake occurred");
|
||||
|
||||
let (write, read) = ws_stream.split();
|
||||
read
|
||||
.forward(write)
|
||||
.await
|
||||
.expect("Failed to forward message")
|
||||
if let Err(e) = read.forward(write).await {
|
||||
eprintln!("Error: {}", e);
|
||||
}
|
||||
}
|
||||
|
||||
fn main() {
|
||||
|
||||
+84
-2901
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user