Libera la versión de desarrollo 0.0.2

This commit is contained in:
Manuel Cillero 2022-03-19 20:10:51 +01:00
parent 516d9683da
commit fbc6ab2adf
77 changed files with 651 additions and 161 deletions

View file

@ -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" }

View file

@ -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
}