@@ -52,13 +52,10 @@ impl GamepadState {
52
52
/// # Serde
53
53
///
54
54
/// Serialization and deserialization of this type (via [Serde](https://serde.rs/))
55
- /// can be enabled via the `serde_support ` feature.
55
+ /// can be enabled via the `serde ` feature.
56
56
#[ non_exhaustive]
57
57
#[ derive( Debug , Copy , Clone , PartialEq , Eq , Hash ) ]
58
- #[ cfg_attr(
59
- feature = "serde_support" ,
60
- derive( serde:: Serialize , serde:: Deserialize )
61
- ) ]
58
+ #[ cfg_attr( feature = "serde" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
62
59
#[ allow( missing_docs) ]
63
60
pub enum GamepadButton {
64
61
A ,
@@ -85,13 +82,10 @@ pub enum GamepadButton {
85
82
/// # Serde
86
83
///
87
84
/// Serialization and deserialization of this type (via [Serde](https://serde.rs/))
88
- /// can be enabled via the `serde_support ` feature.
85
+ /// can be enabled via the `serde ` feature.
89
86
#[ non_exhaustive]
90
87
#[ derive( Debug , Copy , Clone , PartialEq , Eq , Hash ) ]
91
- #[ cfg_attr(
92
- feature = "serde_support" ,
93
- derive( serde:: Serialize , serde:: Deserialize )
94
- ) ]
88
+ #[ cfg_attr( feature = "serde" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
95
89
#[ allow( missing_docs) ]
96
90
pub enum GamepadAxis {
97
91
LeftStickX ,
@@ -107,13 +101,10 @@ pub enum GamepadAxis {
107
101
/// # Serde
108
102
///
109
103
/// Serialization and deserialization of this type (via [Serde](https://serde.rs/))
110
- /// can be enabled via the `serde_support ` feature.
104
+ /// can be enabled via the `serde ` feature.
111
105
#[ non_exhaustive]
112
106
#[ derive( Debug , Copy , Clone , PartialEq , Eq , Hash ) ]
113
- #[ cfg_attr(
114
- feature = "serde_support" ,
115
- derive( serde:: Serialize , serde:: Deserialize )
116
- ) ]
107
+ #[ cfg_attr( feature = "serde" , derive( serde:: Serialize , serde:: Deserialize ) ) ]
117
108
#[ allow( missing_docs) ]
118
109
pub enum GamepadStick {
119
110
LeftStick ,
0 commit comments