Import macros exclusively through serde_derive in test suite

This makes it easier to execute tests against the precompiled serde_derive.
This commit is contained in:
David Tolnay
2023-07-19 08:54:11 -07:00
parent be9c3fd69d
commit 2ef1cd4b35
20 changed files with 34 additions and 29 deletions
+3 -2
View File
@@ -10,8 +10,9 @@
clippy::uninlined_format_args,
)]
use serde::de::{self, IgnoredAny, MapAccess, Unexpected, Visitor};
use serde::{Deserialize, Deserializer, Serialize, Serializer};
use serde::de::{self, Deserialize, Deserializer, IgnoredAny, MapAccess, Unexpected, Visitor};
use serde::ser::{Serialize, Serializer};
use serde_derive::{Deserialize, Serialize};
use std::collections::{BTreeMap, HashMap};
use std::convert::TryFrom;