@@ -17,7 +17,7 @@ use crate::{
1717
1818/// Whether an item is deprecated, with context.
1919#[ derive( Clone , Debug , Eq , Hash , PartialEq ) ]
20- #[ cfg_attr( feature = "arbitrary " , derive( arbitrary:: Arbitrary ) ) ]
20+ #[ cfg_attr( feature = "arbitrary1 " , derive( arbitrary:: Arbitrary ) ) ]
2121pub enum DeprecationStatus {
2222 /// The field/variant is not deprecated.
2323 Current ,
@@ -62,7 +62,7 @@ pub type InputValueParseFn<S> = for<'b> fn(&'b InputValue<S>) -> Result<(), Fiel
6262pub type ScalarTokenParseFn < S > = for <' b > fn ( ScalarToken < ' b > ) -> Result < S , ParseError > ;
6363
6464
65- #[ cfg( feature = "arbitrary " ) ]
65+ #[ cfg( feature = "arbitrary1 " ) ]
6666impl < ' a , S > arbitrary:: Arbitrary < ' a > for ScalarMeta < ' a , S >
6767where
6868 S : arbitrary:: Arbitrary < ' a > ,
@@ -121,7 +121,7 @@ where
121121
122122/// List type metadata
123123#[ derive( Debug ) ]
124- #[ cfg_attr( feature = "arbitrary " , derive( arbitrary:: Arbitrary ) ) ]
124+ #[ cfg_attr( feature = "arbitrary1 " , derive( arbitrary:: Arbitrary ) ) ]
125125pub struct ListMeta < ' a > {
126126 #[ doc( hidden) ]
127127 pub of_type : Type < ' a > ,
@@ -132,15 +132,15 @@ pub struct ListMeta<'a> {
132132
133133/// Nullable type metadata
134134#[ derive( Debug ) ]
135- #[ cfg_attr( feature = "arbitrary " , derive( arbitrary:: Arbitrary ) ) ]
135+ #[ cfg_attr( feature = "arbitrary1 " , derive( arbitrary:: Arbitrary ) ) ]
136136pub struct NullableMeta < ' a > {
137137 #[ doc( hidden) ]
138138 pub of_type : Type < ' a > ,
139139}
140140
141141/// Object type metadata
142142#[ derive( Debug ) ]
143- #[ cfg_attr( feature = "arbitrary " , derive( arbitrary:: Arbitrary ) ) ]
143+ #[ cfg_attr( feature = "arbitrary1 " , derive( arbitrary:: Arbitrary ) ) ]
144144pub struct ObjectMeta < ' a , S > {
145145 #[ doc( hidden) ]
146146 pub name : Cow < ' a , str > ,
@@ -153,7 +153,7 @@ pub struct ObjectMeta<'a, S> {
153153}
154154
155155/// Enum type metadata
156- //#[cfg_attr(feature = "arbitrary ", derive(arbitrary::Arbitrary))]
156+ //#[cfg_attr(feature = "arbitrary1 ", derive(arbitrary::Arbitrary))]
157157pub struct EnumMeta < ' a , S > {
158158 #[ doc( hidden) ]
159159 pub name : Cow < ' a , str > ,
@@ -164,7 +164,7 @@ pub struct EnumMeta<'a, S> {
164164 pub ( crate ) try_parse_fn : InputValueParseFn < S > ,
165165}
166166
167- #[ cfg( feature = "arbitrary " ) ]
167+ #[ cfg( feature = "arbitrary1 " ) ]
168168impl < ' a , S > arbitrary:: Arbitrary < ' a > for EnumMeta < ' a , S >
169169where
170170 S : arbitrary:: Arbitrary < ' a > ,
@@ -205,7 +205,7 @@ where
205205
206206/// Interface type metadata
207207#[ derive( Debug ) ]
208- #[ cfg_attr( feature = "arbitrary " , derive( arbitrary:: Arbitrary ) ) ]
208+ #[ cfg_attr( feature = "arbitrary1 " , derive( arbitrary:: Arbitrary ) ) ]
209209pub struct InterfaceMeta < ' a , S > {
210210 #[ doc( hidden) ]
211211 pub name : Cow < ' a , str > ,
@@ -219,7 +219,7 @@ pub struct InterfaceMeta<'a, S> {
219219
220220/// Union type metadata
221221#[ derive( Debug ) ]
222- #[ cfg_attr( feature = "arbitrary " , derive( arbitrary:: Arbitrary ) ) ]
222+ #[ cfg_attr( feature = "arbitrary1 " , derive( arbitrary:: Arbitrary ) ) ]
223223pub struct UnionMeta < ' a > {
224224 #[ doc( hidden) ]
225225 pub name : Cow < ' a , str > ,
@@ -230,7 +230,7 @@ pub struct UnionMeta<'a> {
230230}
231231
232232/// Input object metadata
233- //#[cfg_attr(feature = "arbitrary ", derive(arbitrary::Arbitrary))]
233+ //#[cfg_attr(feature = "arbitrary1 ", derive(arbitrary::Arbitrary))]
234234pub struct InputObjectMeta < ' a , S > {
235235 #[ doc( hidden) ]
236236 pub name : Cow < ' a , str > ,
@@ -241,7 +241,7 @@ pub struct InputObjectMeta<'a, S> {
241241 pub ( crate ) try_parse_fn : InputValueParseFn < S > ,
242242}
243243
244- #[ cfg( feature = "arbitrary " ) ]
244+ #[ cfg( feature = "arbitrary1 " ) ]
245245impl < ' a , S > arbitrary:: Arbitrary < ' a > for InputObjectMeta < ' a , S >
246246where
247247 S : arbitrary:: Arbitrary < ' a > ,
@@ -285,7 +285,7 @@ where
285285/// After a type's `meta` method has been called but before it has returned, a placeholder type
286286/// is inserted into a registry to indicate existence.
287287#[ derive( Debug ) ]
288- #[ cfg_attr( feature = "arbitrary " , derive( arbitrary:: Arbitrary ) ) ]
288+ #[ cfg_attr( feature = "arbitrary1 " , derive( arbitrary:: Arbitrary ) ) ]
289289pub struct PlaceholderMeta < ' a > {
290290 #[ doc( hidden) ]
291291 pub of_type : Type < ' a > ,
@@ -314,7 +314,7 @@ pub enum MetaType<'a, S = DefaultScalarValue> {
314314 Placeholder ( PlaceholderMeta < ' a > ) ,
315315}
316316
317- #[ cfg( feature = "arbitrary " ) ]
317+ #[ cfg( feature = "arbitrary1 " ) ]
318318impl < ' a , S > arbitrary:: Arbitrary < ' a > for MetaType < ' a , S >
319319where
320320 S : arbitrary:: Arbitrary < ' a > ,
@@ -340,7 +340,7 @@ where
340340
341341/// Metadata for a field
342342#[ derive( Debug , Clone ) ]
343- #[ cfg_attr( feature = "arbitrary " , derive( arbitrary:: Arbitrary ) ) ]
343+ #[ cfg_attr( feature = "arbitrary1 " , derive( arbitrary:: Arbitrary ) ) ]
344344pub struct Field < ' a , S > {
345345 #[ doc( hidden) ]
346346 pub name : smartstring:: alias:: String ,
@@ -364,7 +364,7 @@ impl<'a, S> Field<'a, S> {
364364
365365/// Metadata for an argument to a field
366366#[ derive( Debug , Clone ) ]
367- #[ cfg_attr( feature = "arbitrary " , derive( arbitrary:: Arbitrary ) ) ]
367+ #[ cfg_attr( feature = "arbitrary1 " , derive( arbitrary:: Arbitrary ) ) ]
368368pub struct Argument < ' a , S > {
369369 #[ doc( hidden) ]
370370 pub name : String ,
@@ -386,7 +386,7 @@ impl<'a, S> Argument<'a, S> {
386386
387387/// Metadata for a single value in an enum
388388#[ derive( Debug , Clone ) ]
389- #[ cfg_attr( feature = "arbitrary " , derive( arbitrary:: Arbitrary ) ) ]
389+ #[ cfg_attr( feature = "arbitrary1 " , derive( arbitrary:: Arbitrary ) ) ]
390390pub struct EnumValue {
391391 /// The name of the enum value
392392 ///
0 commit comments