14 lines
290 B
Rust
14 lines
290 B
Rust
|
// SPDX-FileCopyrightText: 2024 Simon Bruder <simon@sbruder.de>
|
||
|
//
|
||
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
||
|
|
||
|
pub mod api;
|
||
|
pub mod manage;
|
||
|
pub mod models;
|
||
|
pub mod schema;
|
||
|
|
||
|
use diesel::pg::PgConnection;
|
||
|
use diesel::r2d2;
|
||
|
|
||
|
type DbPool = r2d2::Pool<r2d2::ConnectionManager<PgConnection>>;
|