Libera la versión de desarrollo 0.0.2
This commit is contained in:
parent
516d9683da
commit
fbc6ab2adf
77 changed files with 651 additions and 161 deletions
|
|
@ -19,3 +19,6 @@ default-features = false
|
|||
|
||||
[dependencies]
|
||||
actix-web = "3.3.3"
|
||||
pagetop-admin = { path = "../pagetop-admin" }
|
||||
pagetop-user = { path = "../pagetop-user" }
|
||||
pagetop-node = { path = "../pagetop-node" }
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
use pagetop::prelude::*;
|
||||
|
||||
fn bootstrap() {
|
||||
register_module(&pagetop_admin::AdminModule);
|
||||
register_module(&pagetop_user::UserModule);
|
||||
register_module(&pagetop_node::NodeModule);
|
||||
}
|
||||
|
||||
#[actix_web::main]
|
||||
async fn main() -> std::io::Result<()> {
|
||||
Application::prepare(essence).await?.run()?.await
|
||||
Application::prepare(bootstrap).await?.run()?.await
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue