aboutsummaryrefslogtreecommitdiff
path: root/client/src/main.rs
diff options
context:
space:
mode:
author1992414357@qq.com <1992414357@qq.com>2025-06-09 10:27:37 +0800
committer1992414357@qq.com <1992414357@qq.com>2025-06-09 10:27:37 +0800
commita75ee4f12e78b880f6d008a5e72d70b0c7f997b4 (patch)
tree8cbbeea48999c603174163add22d2f3b71a9c421 /client/src/main.rs
parent9f8823ca9c9b9e7696eca56fab4b7765357c2730 (diff)
重写客户端代码
Diffstat (limited to 'client/src/main.rs')
-rw-r--r--client/src/main.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/client/src/main.rs b/client/src/main.rs
index 39d3dba..31fb406 100644
--- a/client/src/main.rs
+++ b/client/src/main.rs
@@ -9,7 +9,6 @@ use tokio::runtime::Builder;
fn main() {
let mut app = App::new();
- // 插件
app.add_plugins(DefaultPlugins);
app.add_plugins(TokioTasksPlugin {
make_runtime: Box::new(|| {
@@ -18,9 +17,7 @@ fn main() {
..TokioTasksPlugin::default()
});
- // 自定义插件
app.add_plugins(PadClientPlugin);
- // 启动
app.run();
}