Selaa lähdekoodia

fix SLEDGEHAMMER_JS import path in desktop

Evan Almloff 1 vuosi sitten
vanhempi
commit
b3ed337b6b

+ 0 - 3
packages/desktop/Cargo.toml

@@ -82,9 +82,6 @@ features = ["tokio_runtime", "hot-reload"]
 dioxus = { workspace = true, features = ["desktop"] }
 exitcode = "1.1.2"
 
-[build-dependencies]
-# dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
-
 # These tests need to be run on the main thread, so they cannot use rust's test harness.
 [[test]]
 name = "check_events"

+ 1 - 1
packages/desktop/src/protocol.rs

@@ -1,5 +1,5 @@
 use crate::{assets::*, edits::EditQueue};
-use dioxus_interpreter_js::SLEDGEHAMMER_JS;
+use dioxus_interpreter_js::binary_protocol::SLEDGEHAMMER_JS;
 use std::path::{Path, PathBuf};
 use wry::{
     http::{status::StatusCode, Request, Response},

+ 0 - 3
packages/liveview/Cargo.toml

@@ -61,9 +61,6 @@ rocket_ws = "0.1.0"
 tower = "0.4.13"
 dioxus = { workspace = true }
 
-[build-dependencies]
-# dioxus-interpreter-js = { workspace = true, features = ["binary-protocol"] }
-
 [features]
 default = ["hot-reload"]
 # actix = ["actix-files", "actix-web", "actix-ws"]