ascii_case_insensitive instead of serialize_all

This commit is contained in:
Bryan Stitt 2022-12-12 11:38:59 -08:00
parent 78df4177a6
commit 01faf8cf35

@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, PartialEq, Eq, EnumIter, DeriveActiveEnum, Serialize, Deserialize)]
#[sea_orm(rs_type = "String", db_type = "Enum", enum_name = "log_level")]
#[strum(serialize_all = "lowercase")]
#[strum(ascii_case_insensitive)]
pub enum LogLevel {
#[sea_orm(string_value = "none")]
None,