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 8, 2024
1 parent 7de966f commit bc32e33
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 @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit bc32e33

Please sign in to comment.