mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Bump ipc-channel and bincode
This required bumping uuid too which unfortunately duplicated rand.
This commit is contained in:
parent
5b575e3647
commit
570d865065
34 changed files with 152 additions and 107 deletions
|
@ -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"]}
|
||||
|
|
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue