Skip to content

Commit

Permalink
web: SocketProxy doesn't need serde
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinnerbone committed Jun 12, 2024
1 parent 0ce64eb commit 50aa611
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions web/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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;
Expand Down Expand Up @@ -180,8 +180,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,
Expand Down

0 comments on commit 50aa611

Please sign in to comment.