11mod test_deserialize {
22 #[ cfg( feature = "2024_11_05" ) ]
33 use rust_mcp_schema:: mcp_2024_11_05:: schema_utils:: * ;
4- #[ cfg( feature = "2025_03_26" ) ]
5- use rust_mcp_schema:: mcp_2025_03_26:: schema_utils:: * ;
6- #[ cfg( feature = "draft" ) ]
7- use rust_mcp_schema:: mcp_draft:: schema_utils:: * ;
84 #[ cfg( any( feature = "latest" , feature = "2025_06_18" ) ) ]
9- use rust_mcp_schema:: schema_utils:: * ;
10-
115 #[ cfg( feature = "2024_11_05" ) ]
126 use rust_mcp_schema:: mcp_2024_11_05:: * ;
137 #[ cfg( feature = "2025_03_26" ) ]
8+ use rust_mcp_schema:: mcp_2025_03_26:: schema_utils:: * ;
9+ #[ cfg( feature = "2025_03_26" ) ]
1410 use rust_mcp_schema:: mcp_2025_03_26:: * ;
1511 #[ cfg( feature = "draft" ) ]
12+ use rust_mcp_schema:: mcp_draft:: schema_utils:: * ;
13+ #[ cfg( feature = "draft" ) ]
1614 use rust_mcp_schema:: mcp_draft:: * ;
1715 #[ cfg( any( feature = "latest" , feature = "2025_06_18" ) ) ]
1816 use rust_mcp_schema:: * ;
@@ -39,7 +37,7 @@ mod test_deserialize {
3937 let json_deserialized = serde_json:: to_string ( & deserialized) . expect ( "Failed to serialize deserialized object" ) ;
4038
4139 // Compare the JSON strings to ensure consistency
42- assert_eq ! ( json, json_deserialized, "JSON serialization mismatch for {:?}" , original ) ;
40+ assert_eq ! ( json, json_deserialized, "JSON serialization mismatch for {original :?}" ) ;
4341 }
4442
4543 #[ cfg( not( feature = "2024_11_05" ) ) ]
0 commit comments