From b3ed337b6bd0b431e125046d115c770c104e1663 Mon Sep 17 00:00:00 2001 From: Evan Almloff Date: Thu, 1 Feb 2024 10:55:10 -0600 Subject: [PATCH] fix SLEDGEHAMMER_JS import path in desktop --- packages/desktop/Cargo.toml | 3 --- packages/desktop/src/protocol.rs | 2 +- packages/liveview/Cargo.toml | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/packages/desktop/Cargo.toml b/packages/desktop/Cargo.toml index c4bd694aa..9670f13d7 100644 --- a/packages/desktop/Cargo.toml +++ b/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" diff --git a/packages/desktop/src/protocol.rs b/packages/desktop/src/protocol.rs index b903c63e0..31073fd4f 100644 --- a/packages/desktop/src/protocol.rs +++ b/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}, diff --git a/packages/liveview/Cargo.toml b/packages/liveview/Cargo.toml index c025190bb..86c71650f 100644 --- a/packages/liveview/Cargo.toml +++ b/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"]