Remove serde derives Generic Player and Response

This commit is contained in:
CosminPerRam 2023-10-08 22:26:25 +03:00
parent 1e083c2df7
commit b584e11336
2 changed files with 2 additions and 4 deletions

View file

@ -29,7 +29,6 @@ pub enum Protocol {
}
/// All response types
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[derive(Debug, Clone, PartialEq)]
pub enum GenericResponse<'a> {
GameSpy(gamespy::VersionedResponse<'a>),
@ -45,7 +44,6 @@ pub enum GenericResponse<'a> {
}
/// All player types
#[cfg_attr(feature = "serde", derive(Serialize, Deserialize))]
#[derive(Debug, Clone, PartialEq)]
pub enum GenericPlayer<'a> {
Valve(&'a valve::ServerPlayer),