2024-06-24 22:46:04 +02:00
|
|
|
// SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
|
|
|
|
pub mod api;
|
2024-07-03 14:19:58 +02:00
|
|
|
pub mod frontend;
|
2024-06-24 22:46:04 +02:00
|
|
|
pub mod manage;
|
|
|
|
pub mod models;
|
|
|
|
pub mod schema;
|
|
|
|
|
|
|
|
use diesel::pg::PgConnection;
|
|
|
|
use diesel::r2d2;
|
|
|
|
|
|
|
|
type DbPool = r2d2::Pool<r2d2::ConnectionManager<PgConnection>>;
|