mirror of
https://github.com/CloudNebulaProject/barycenter.git
synced 2026-04-10 13:10:42 +00:00
chore: fix formatting
Signed-off-by: Till Wegmueller <toasterson@gmail.com>
This commit is contained in:
parent
01f4dce818
commit
85cd971aa4
1 changed files with 1 additions and 3 deletions
|
|
@ -2,8 +2,7 @@ use miette::{IntoDiagnostic, Result};
|
|||
use serde::{Deserialize, Serialize};
|
||||
use std::path::{Path, PathBuf};
|
||||
|
||||
#[derive(Debug, Clone, Serialize, Deserialize)]
|
||||
#[derive(Default)]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, Default)]
|
||||
pub struct Settings {
|
||||
pub server: Server,
|
||||
pub database: Database,
|
||||
|
|
@ -72,7 +71,6 @@ impl Default for Keys {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
impl Settings {
|
||||
pub fn load(path: &str) -> Result<Self> {
|
||||
let mut builder = config::Config::builder()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue