diff --git a/web/src/lib.rs b/web/src/lib.rs index 2b72104968863..902adfac264b9 100644 --- a/web/src/lib.rs +++ b/web/src/lib.rs @@ -20,7 +20,7 @@ use ruffle_core::events::{MouseButton, MouseWheelDelta, TextControlCode}; use ruffle_core::tag_utils::SwfMovie; use ruffle_core::{Player, PlayerEvent, StaticCallstack, ViewportDimensions}; use ruffle_web_common::JsResult; -use serde::{Deserialize, Serialize}; +use serde::Serialize; use slotmap::{new_key_type, SlotMap}; use std::rc::Rc; use std::str::FromStr; @@ -179,8 +179,7 @@ extern "C" { fn display_unsupported_video(this: &JavascriptPlayer, url: &str); } -#[derive(Debug, Deserialize, Clone)] -#[serde(rename_all = "camelCase")] +#[derive(Debug, Clone)] pub struct SocketProxy { host: String, port: u16,