Browse Source

Fix `cargo doc` by using a fixed variant of interprocess (#1129)

* fix docs compilation

* dont change random codeblock
Jon Kelley 2 years ago
parent
commit
90f80e4dc2
2 changed files with 2 additions and 2 deletions
  1. 1 1
      packages/hot-reload/Cargo.toml
  2. 1 1
      packages/hot-reload/src/lib.rs

+ 1 - 1
packages/hot-reload/Cargo.toml

@@ -16,7 +16,7 @@ dioxus-rsx = { workspace = true }
 dioxus-core = { workspace = true, features = ["serialize"] }
 dioxus-html = { workspace = true, features = ["hot-reload-context"] }
 
-interprocess = { version = "1.2.1" }
+interprocess-docfix = { version = "1.2.1" }
 notify = "5.0.0"
 chrono = { version = "0.4.24", default-features = false, features = ["clock"] }
 serde_json = "1.0.91"

+ 1 - 1
packages/hot-reload/src/lib.rs

@@ -10,7 +10,7 @@ use dioxus_rsx::{
     hot_reload::{FileMap, FileMapBuildResult, UpdateResult},
     HotReloadingContext,
 };
-use interprocess::local_socket::{LocalSocketListener, LocalSocketStream};
+use interprocess_docfix::local_socket::{LocalSocketListener, LocalSocketStream};
 use notify::{RecommendedWatcher, RecursiveMode, Watcher};
 
 pub use dioxus_html::HtmlCtx;