Fix api 1 status request

This commit is contained in:
Dominik Werder
2024-10-07 23:40:56 +02:00
parent 8bddb73579
commit 365cdcf2d6
11 changed files with 167 additions and 68 deletions

View File

@@ -50,12 +50,12 @@ pub mod log_macros {
}
}
pub mod log2 {
pub mod log {
pub use tracing::{self, event, span, Level};
pub use tracing::{debug, error, info, trace, warn};
}
pub mod log {
pub mod log_ {
pub use crate::{debug, error, info, trace, warn};
pub use tracing::{self, event, span, Level};
}
@@ -1337,6 +1337,12 @@ pub enum Shape {
Image(u32, u32),
}
impl fmt::Display for Shape {
fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt::Result {
fmt::Debug::fmt(self, fmt)
}
}
mod serde_shape {
use super::*;