mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Use rustc-serialize rather than the built-in deprecated serialize.
This commit is contained in:
parent
4ab928728e
commit
aaed4a54c7
30 changed files with 54 additions and 33 deletions
|
@ -16,7 +16,7 @@ use msg::constellation_msg::PipelineId;
|
|||
|
||||
use collections::BTreeMap;
|
||||
use core::cell::RefCell;
|
||||
use serialize::json::{self, Json, ToJson};
|
||||
use rustc_serialize::json::{self, Json, ToJson};
|
||||
use std::old_io::TcpStream;
|
||||
use std::num::Float;
|
||||
use std::sync::mpsc::{channel, Sender};
|
||||
|
|
|
@ -13,7 +13,7 @@ use protocol::JsonPacketStream;
|
|||
|
||||
use collections::BTreeMap;
|
||||
use msg::constellation_msg::PipelineId;
|
||||
use serialize::json::{self, Json, ToJson};
|
||||
use rustc_serialize::json::{self, Json, ToJson};
|
||||
use std::cell::RefCell;
|
||||
use std::old_io::TcpStream;
|
||||
use std::sync::mpsc::{channel, Sender};
|
||||
|
|
|
@ -10,7 +10,7 @@ use actor::{Actor, ActorRegistry};
|
|||
use actors::tab::{TabActor, TabActorMsg};
|
||||
use protocol::JsonPacketStream;
|
||||
|
||||
use serialize::json;
|
||||
use rustc_serialize::json;
|
||||
use std::old_io::TcpStream;
|
||||
|
||||
#[derive(RustcEncodable)]
|
||||
|
|
|
@ -11,7 +11,7 @@ use actors::console::ConsoleActor;
|
|||
use devtools_traits::DevtoolScriptControlMsg::WantsLiveNotifications;
|
||||
use protocol::JsonPacketStream;
|
||||
|
||||
use serialize::json;
|
||||
use rustc_serialize::json;
|
||||
use std::old_io::TcpStream;
|
||||
|
||||
#[derive(RustcEncodable)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue