fix (de)serialization of min and max

This commit is contained in:
Aiden McClelland
2022-02-15 23:08:26 -07:00
committed by Aiden McClelland
parent dca71e62d2
commit 23f39e6bf0

View File

@@ -79,7 +79,7 @@ pub async fn list(#[context] ctx: RpcContext) -> Result<Vec<(PackageId, Version)
} }
#[derive(Debug, Clone, Copy, serde::Deserialize, serde::Serialize)] #[derive(Debug, Clone, Copy, serde::Deserialize, serde::Serialize)]
#[serde(rename = "kebab-case")] #[serde(rename_all = "kebab-case")]
pub enum MinMax { pub enum MinMax {
Min, Min,
Max, Max,