Bump ipc-channel and bincode

This required bumping uuid too which unfortunately duplicated rand.
This commit is contained in:
Bastien Orivel 2018-03-21 13:04:41 +01:00
parent 5b575e3647
commit 570d865065
34 changed files with 152 additions and 107 deletions

View file

@ -16,4 +16,4 @@ serde = {version = "1.0"}
servo_rand = {path = "../rand"}
url = "1.2"
url_serde = {version = "0.2"}
uuid = {version = "0.5.0", features = ["v4", "serde"]}
uuid = {version = "0.6.0", features = ["v4", "serde"]}

View file

@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use servo_rand;
use servo_rand::Rng;
use std::cell::RefCell;
use std::rc::Rc;
use url::{Host, Origin};
@ -43,7 +42,7 @@ impl ImmutableOrigin {
/// Creates a new opaque origin that is only equal to itself.
pub fn new_opaque() -> ImmutableOrigin {
ImmutableOrigin::Opaque(OpaqueOrigin(servo_rand::thread_rng().gen()))
ImmutableOrigin::Opaque(OpaqueOrigin(servo_rand::random_uuid()))
}
pub fn scheme(&self) -> Option<&str> {