mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Bump serde to 1.0
This commit is contained in:
parent
e1bce24129
commit
76d8573393
60 changed files with 487 additions and 474 deletions
|
@ -18,22 +18,22 @@ canvas_traits = {path = "../canvas_traits"}
|
|||
compositing = {path = "../compositing"}
|
||||
debugger = {path = "../debugger"}
|
||||
devtools_traits = {path = "../devtools_traits"}
|
||||
euclid = "0.14.4"
|
||||
euclid = "0.15"
|
||||
gfx = {path = "../gfx"}
|
||||
gfx_traits = {path = "../gfx_traits"}
|
||||
hyper = "0.10"
|
||||
ipc-channel = "0.7"
|
||||
ipc-channel = "0.8"
|
||||
itertools = "0.5"
|
||||
layout_traits = {path = "../layout_traits"}
|
||||
log = "0.3.5"
|
||||
msg = {path = "../msg"}
|
||||
net = {path = "../net"}
|
||||
net_traits = {path = "../net_traits"}
|
||||
offscreen_gl_context = { version = "0.9", features = ["serde"] }
|
||||
offscreen_gl_context = { version = "0.11", features = ["serde"] }
|
||||
profile_traits = {path = "../profile_traits"}
|
||||
script_traits = {path = "../script_traits"}
|
||||
serde = "0.9"
|
||||
serde_derive = "0.9"
|
||||
serde = "1.0"
|
||||
serde_derive = "1.0"
|
||||
style_traits = {path = "../style_traits"}
|
||||
servo_config = {path = "../config"}
|
||||
servo_rand = {path = "../rand"}
|
||||
|
|
|
@ -479,7 +479,7 @@ const WARNINGS_BUFFER_SIZE: usize = 32;
|
|||
/// but does not panic on deserializtion errors.
|
||||
fn route_ipc_receiver_to_new_mpsc_receiver_preserving_errors<T>(ipc_receiver: IpcReceiver<T>)
|
||||
-> Receiver<Result<T, IpcError>>
|
||||
where T: Deserialize + Serialize + Send + 'static
|
||||
where T: for<'de> Deserialize<'de> + Serialize + Send + 'static
|
||||
{
|
||||
let (mpsc_sender, mpsc_receiver) = channel();
|
||||
ROUTER.add_route(ipc_receiver.to_opaque(), Box::new(move |message| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue