♻️ Move Drust to root for better package clarity

This commit is contained in:
Manuel Cillero 2024-11-20 15:50:03 +01:00
parent 73ba80eff7
commit e830d40a12
8 changed files with 29 additions and 34 deletions

View file

@ -1,36 +0,0 @@
[package]
name = "drust"
version = "0.0.3"
edition = "2021"
description = """\
A modern web Content Management System to share your world.\
"""
homepage = { workspace = true }
repository = { workspace = true }
authors = { workspace = true }
license = { workspace = true }
[dependencies]
pagetop.workspace = true
# Packages.
pagetop-bootsier.workspace = true
#pagetop-admin = { version = "0.0", path = "../pagetop-admin" }
#pagetop-user = { version = "0.0", path = "../pagetop-user" }
#pagetop-node = { version = "0.0", path = "../pagetop-node" }
#[features]
#default = [ "mysql" ]
#mysql = [
# "pagetop-user/mysql",
# "pagetop-node/mysql",
#]
#postgres = [
# "pagetop-user/postgres",
# "pagetop-node/postgres",
#]
#sqlite = [
# "pagetop-user/sqlite",
# "pagetop-node/sqlite",
#]

View file

@ -1,6 +0,0 @@
[app]
name = "Drust"
description = "A modern web Content Management System to share your world."
[database]
db_type = "mysql"

View file

@ -1,7 +0,0 @@
[app]
theme = "Aliner"
#theme = "Bootsier"
language = "es-ES"
[log]
tracing = "Info,pagetop=Debug,sqlx::query=Warn"

View file

@ -1,7 +0,0 @@
[database]
db_name = "drust"
db_user = "drust"
db_pass = "demo"
[dev]
pagetop_project_dir = "/home/manuelcillero/Proyectos/pagetop"

View file

@ -1,20 +0,0 @@
use pagetop::prelude::*;
struct Drust;
impl PackageTrait for Drust {
fn dependencies(&self) -> Vec<PackageRef> {
vec![
// Packages.
&pagetop_bootsier::Bootsier,
//&pagetop_admin::Admin,
//&pagetop_user::User,
//&pagetop_node::Node,
]
}
}
#[pagetop::main]
async fn main() -> std::io::Result<()> {
Application::prepare(&Drust).run()?.await
}