Skip to content

Commit

Permalink
Removes serde_inline
Browse files Browse the repository at this point in the history
  • Loading branch information
asodugf12 committed Nov 28, 2024
1 parent eb8fd63 commit 8863457
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions pumpkin-config/src/translation.rs
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
use std::path::PathBuf;

use serde::{Deserialize, Serialize};
use serde_inline_default::serde_inline_default;

#[serde_inline_default]
#[derive(Deserialize, Serialize)]
#[serde(default)]
pub struct TranslationConfig {
#[serde_inline_default(true)]
pub enabled: bool,
#[serde_inline_default(true)]
pub client_translations: bool,
// Reminder to update every new version, or until a better method is found
#[serde_inline_default(None)]
pub translation_file_path: Option<PathBuf>,
}

Expand Down

0 comments on commit 8863457

Please sign in to comment.