Loading crates/arti-bench/src/main.rs +2 −2 Original line number Diff line number Diff line Loading @@ -68,7 +68,7 @@ fn random_payload(size: usize) -> Vec<u8> { } /// Timing information from the benchmarking server. #[derive(Serialize, Deserialize, Debug, Clone)] #[derive(Debug, Clone, Serialize, Deserialize)] pub struct ServerTiming { /// When the connection was accepted. accepted_ts: SystemTime, Loading @@ -81,7 +81,7 @@ pub struct ServerTiming { } /// Timing information from the benchmarking client. #[derive(Serialize, Deserialize, Debug, Clone)] #[derive(Debug, Clone, Serialize, Deserialize)] pub struct ClientTiming { /// When the client's connection succeeded. started_ts: SystemTime, Loading crates/tor-persist/src/lib.rs +1 −1 Original line number Diff line number Diff line Loading @@ -193,7 +193,7 @@ fn store_error(e: serde_json::Error) -> Error { /// /// This uses `#[serde(untagged)]` to attempt deserializing as a type `T` first, and falls back /// to a generic JSON value representation if that fails. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq)] #[derive(Clone, Serialize, Deserialize, Debug, PartialEq, Eq)] #[serde(untagged)] #[allow(clippy::exhaustive_enums)] pub enum Futureproof<T> { Loading Loading
crates/arti-bench/src/main.rs +2 −2 Original line number Diff line number Diff line Loading @@ -68,7 +68,7 @@ fn random_payload(size: usize) -> Vec<u8> { } /// Timing information from the benchmarking server. #[derive(Serialize, Deserialize, Debug, Clone)] #[derive(Debug, Clone, Serialize, Deserialize)] pub struct ServerTiming { /// When the connection was accepted. accepted_ts: SystemTime, Loading @@ -81,7 +81,7 @@ pub struct ServerTiming { } /// Timing information from the benchmarking client. #[derive(Serialize, Deserialize, Debug, Clone)] #[derive(Debug, Clone, Serialize, Deserialize)] pub struct ClientTiming { /// When the client's connection succeeded. started_ts: SystemTime, Loading
crates/tor-persist/src/lib.rs +1 −1 Original line number Diff line number Diff line Loading @@ -193,7 +193,7 @@ fn store_error(e: serde_json::Error) -> Error { /// /// This uses `#[serde(untagged)]` to attempt deserializing as a type `T` first, and falls back /// to a generic JSON value representation if that fails. #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq)] #[derive(Clone, Serialize, Deserialize, Debug, PartialEq, Eq)] #[serde(untagged)] #[allow(clippy::exhaustive_enums)] pub enum Futureproof<T> { Loading