kebab-case

This commit is contained in:
Aiden McClelland
2021-04-29 11:05:11 -06:00
parent 82a0abb650
commit 3f022b6973

View File

@@ -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,