diff --git a/trace-protobuf/Cargo.toml b/trace-protobuf/Cargo.toml index 157227b95..05b383de4 100644 --- a/trace-protobuf/Cargo.toml +++ b/trace-protobuf/Cargo.toml @@ -10,6 +10,8 @@ license.workspace = true prost = "0.11.6" serde = { version = "1.0.145", features = ["derive"] } serde_bytes = "0.11.9" + +[dev-dependencies] serde_json = "1.0.117" [build-dependencies] diff --git a/trace-protobuf/src/pb_test.rs b/trace-protobuf/src/pb_test.rs index 824cf6ba4..65fe50542 100644 --- a/trace-protobuf/src/pb_test.rs +++ b/trace-protobuf/src/pb_test.rs @@ -3,8 +3,8 @@ #[cfg(test)] mod tests { - use serde_json; use crate::pb::{is_default, Span}; + use serde_json; #[test] fn test_is_default() {