Skip to content

Commit b4233ed

Browse files
cleanup deps
1 parent 4b052af commit b4233ed

3 files changed

Lines changed: 16 additions & 12 deletions

File tree

Cargo.lock

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,15 @@ opt-level = 2
105105
[patch.crates-io]
106106

107107
# patch peerpiper-plugins = { git = "https://github.com/PeerPiper/peerpiper.git" }
108-
[patch.'https://github.com/PeerPiper/peerpiper.git']
109-
peerpiper-plugins = { path = "../peerpiper/crates/peerpiper-plugins" }
110-
peerpiper = { path = "../peerpiper/crates/peerpiper" }
111-
peerpiper-native = { path = "../peerpiper/crates/peerpiper-native" }
112-
peerpiper-browser = { path = "../peerpiper/crates/peerpiper-browser" }
113-
114-
[patch.'https://github.com/DougAnderson444/rdx.git']
115-
rdx = { path = "../rdx" }
108+
# [patch.'https://github.com/PeerPiper/peerpiper.git']
109+
# peerpiper-plugins = { path = "../peerpiper/crates/peerpiper-plugins" }
110+
# peerpiper = { path = "../peerpiper/crates/peerpiper" }
111+
# peerpiper-native = { path = "../peerpiper/crates/peerpiper-native" }
112+
# peerpiper-browser = { path = "../peerpiper/crates/peerpiper-browser" }
113+
114+
# [patch.'https://github.com/DougAnderson444/rdx.git']
115+
# rdx = { path = "../rdx" }
116+
116117
# If you want to use the bleeding edge version of egui and eframe:
117118
# egui = { git = "https://github.com/emilk/egui", branch = "master" }
118119
# eframe = { git = "https://github.com/emilk/egui", branch = "master" }

src/app/platform/native.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,6 @@ pub(crate) struct Platform {
8585
addr: Arc<Mutex<Option<Multiaddr>>>,
8686

8787
pub rdx_runner: RdxRunner,
88-
///// PeerPiper gives us access to the netowrk, storage, and plugins
89-
//pub peerpiper: Arc<AsyncMutex<PeerPiper>>,
9088
}
9189

9290
impl Default for Platform {
@@ -189,15 +187,14 @@ impl Default for Platform {
189187
}
190188
});
191189

192-
let rdx_runner = RdxRunner::new(peerpiper.clone(), None);
190+
let rdx_runner = RdxRunner::new(peerpiper, None);
193191

194192
Self {
195193
log,
196194
ctx,
197195
addr,
198196
loader: Loader,
199197
rdx_runner,
200-
//peerpiper,
201198
}
202199
}
203200
}

0 commit comments

Comments
 (0)