From b74a54390ec4765e533180c945a5517436fe320f Mon Sep 17 00:00:00 2001 From: Aiden McClelland Date: Thu, 29 Apr 2021 11:05:11 -0600 Subject: [PATCH] kebab-case --- patch-db/src/patch.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/patch-db/src/patch.rs b/patch-db/src/patch.rs index 540fb59..7ecb19b 100644 --- a/patch-db/src/patch.rs +++ b/patch-db/src/patch.rs @@ -6,6 +6,7 @@ use serde::{Deserialize, Serialize}; use serde_json::Value; #[derive(Debug, Clone, Deserialize, Serialize)] +#[serde(rename_all = "kebab-case")] pub struct Revision { pub id: u64, pub patch: DiffPatch,