Modifica la estructura general del código fuente

Importante actualización que reorganiza el código fuente de PageTop. Usa
Cargo para crear un espacio de trabajo con los diferentes proyectos que
estructuran las funcionalidades de PageTop en módulos interdependientes
que se integran en Drust para construir una solución web para la gestión
de contenidos.
This commit is contained in:
Manuel Cillero 2022-03-13 11:14:33 +01:00
parent 4b5d8ce38a
commit ab0ac11f65
83 changed files with 115 additions and 81 deletions

19
drust/Cargo.toml Normal file
View file

@ -0,0 +1,19 @@
[package]
name = "drust"
version = "0.1.0"
edition = "2021"
authors = [
"Manuel Cillero <manuel@cillero.es>"
]
description = """\
A modern Content Management System for sharing the world.\
"""
homepage = "https://suitepro.cillero.es/projects/drust"
repository = "https://gitlab.com/manuelcillero/drust"
[dependencies]
pagetop = { path = "../pagetop" }
actix-web = "3.3.3"
maud = { version = "0.23.0" }
serde = { version = "1.0", features = ["derive"] }

4
drust/src/main.rs Normal file
View file

@ -0,0 +1,4 @@
#[actix_web::main]
async fn main() -> std::io::Result<()> {
pagetop::Application::build(None).await?.run()?.await
}