removed serde_utils and added Authress rule

This commit is contained in:
Mick Grove 2025-08-16 07:33:36 -07:00
commit 6fb119d501
11 changed files with 901 additions and 193 deletions

View file

@ -1,10 +1,7 @@
use bstr::BString;
use gix::{date::Time, ObjectId};
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use crate::serde_utils::BStringLossyUtf8;
#[repr(transparent)]
#[derive(Serialize, Deserialize, Copy, Clone)]
#[serde(remote = "Time")]
@ -133,11 +130,9 @@ pub struct CommitMetadata {
#[serde(with = "HexObjectId")]
pub commit_id: ObjectId,
#[serde(with = "BStringLossyUtf8")]
pub committer_name: BString,
pub committer_name: String,
#[serde(with = "BStringLossyUtf8")]
pub committer_email: BString,
pub committer_email: String,
#[serde(with = "TextTime")]
pub committer_timestamp: Time,