GitRoot

craft your forge, build your project, grow your community freely
 1// SPDX-FileCopyrightText: 2025 Romain Maneschi <romain@gitroot.dev>
 2//
 3// SPDX-License-Identifier: MIT
 4
 5use serde::Deserialize;
 6
 7#[derive(Debug, Deserialize)]
 8#[serde(rename_all = "camelCase")]
 9pub struct Commit {
10    pub branch: String,
11    pub hash: String,
12    pub message: String,
13    pub date: String, //TODO should a DateTime
14    pub committer: String,
15    pub parent_hash: String,
16}