This commit is contained in:
aozhiwei 2023-10-29 14:44:03 +08:00
parent 85dac9425a
commit 246fb38af6
3 changed files with 11 additions and 8 deletions

View File

@ -6,11 +6,14 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies] [dependencies]
protobuf = "2.9.0" #protobuf = "2.9.0"
serde = "*" serde = "*"
serde_derive = "*" serde_derive = "*"
serde_json = "*" serde_json = "*"
r9 = { path = "../../third_party/r9" } r9 = { path = "../../third_party/r9/r9" }
r9_macro = { path = "../../third_party/r9/r9_macro" }
r9_macro_derive = { path = "../../third_party/r9/r9_macro_derive" }
f9 = { path = "../../third_party/r9/f9" }
[build-dependencies] [build-dependencies]
protobuf-codegen-pure = "2.9.0" #protobuf-codegen-pure = "2.9.0"

View File

@ -1,7 +1,7 @@
use std::rc::{Rc, Weak}; use f9::app::App;
use std::cell::RefCell;
use r9;
fn main() { fn main() {
App::instance().borrow_mut().init();
App::instance().borrow_mut().run();
App::instance().borrow_mut().uninit();
} }

2
third_party/r9 vendored

@ -1 +1 @@
Subproject commit b3b93c650eea2a9564acd680f647ba19cd6c6a66 Subproject commit 7d222040b1c4a6c00d15e0186e3e848e06d8aec8