Fmt: Added cargofmt config and reformatted files
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-11-20 23:27:48 +01:00
parent 78bb80d510
commit 73a2b077ed
28 changed files with 141 additions and 204 deletions

View File

@@ -1,6 +1,7 @@
use serde::Serialize;
use crate::{errors::ErrorCode, response::State};
use crate::errors::ErrorCode;
use crate::response::State;
#[derive(Debug, Serialize, Clone)]
#[serde(rename_all = "camelCase")]
@@ -87,10 +88,8 @@ pub enum Status {
#[cfg(test)]
mod tests {
use super::*;
use crate::{
errors::DeviceError,
response::{Response, ResponsePayload, State},
};
use crate::errors::DeviceError;
use crate::response::{Response, ResponsePayload, State};
#[test]
fn serialize() {