Bug 1525402 - Mark all gfx/wr crates as Rust 2018. r=kvark
authorAlexis Beingessner <a.beingessner@gmail.com>
Tue, 07 May 2019 01:39:22 +0000
changeset 531639 2371d3a7ab2d46e91f4a71d1accfb74c5b01429e
parent 531638 f072f15ba54ede2c3c1eb24c09593284b3bc7c72
child 531640 a51bea90b88626322cbee00108436736ad09f024
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskvark
bugs1525402
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1525402 - Mark all gfx/wr crates as Rust 2018. r=kvark Differential Revision: https://phabricator.services.mozilla.com/D29569
gfx/wr/direct-composition/Cargo.toml
gfx/wr/examples/Cargo.toml
gfx/wr/webrender/Cargo.toml
gfx/wr/webrender_api/Cargo.toml
gfx/wr/webrender_build/Cargo.toml
gfx/wr/wr_malloc_size_of/Cargo.toml
gfx/wr/wrench/Cargo.toml
--- a/gfx/wr/direct-composition/Cargo.toml
+++ b/gfx/wr/direct-composition/Cargo.toml
@@ -1,13 +1,14 @@
 [package]
 name = "direct-composition"
 version = "0.1.0"
 authors = ["Simon Sapin <simon.sapin@exyr.org>"]
 license = "MPL-2.0"
+edition = "2018"
 
 [target.'cfg(windows)'.dependencies]
 euclid = "0.19"
 gleam = "0.6.2"
 mozangle = {version = "0.1", features = ["egl"]}
 webrender = {path = "../webrender"}
 winapi = {version = "0.3", features = ["winerror", "d3d11", "dcomp"]}
 winit = "0.16"
--- a/gfx/wr/examples/Cargo.toml
+++ b/gfx/wr/examples/Cargo.toml
@@ -1,14 +1,15 @@
 [package]
 name = "webrender-examples"
 version = "0.1.0"
 authors = ["Glenn Watson <gw@intuitionlibrary.com>"]
 license = "MPL-2.0"
 repository = "https://github.com/servo/webrender"
+edition = "2018"
 
 [[bin]]
 name = "alpha_perf"
 path = "alpha_perf.rs"
 
 [[bin]]
 name = "animation"
 path = "animation.rs"
--- a/gfx/wr/webrender/Cargo.toml
+++ b/gfx/wr/webrender/Cargo.toml
@@ -1,16 +1,17 @@
 [package]
 name = "webrender"
 version = "0.60.0"
 authors = ["Glenn Watson <gw@intuitionlibrary.com>"]
 license = "MPL-2.0"
 repository = "https://github.com/servo/webrender"
 description = "A GPU accelerated 2D renderer for web content"
 build = "build.rs"
+edition = "2018"
 
 [features]
 default = ["freetype-lib"]
 freetype-lib = ["freetype/servo-freetype-sys"]
 profiler = ["thread_profiler/thread_profiler"]
 debugger = ["ws", "serde_json", "serde", "image_loader", "base64"]
 capture = ["api/serialize", "ron", "serde", "smallvec/serde"]
 replay = ["api/deserialize", "ron", "serde"]
--- a/gfx/wr/webrender_api/Cargo.toml
+++ b/gfx/wr/webrender_api/Cargo.toml
@@ -1,15 +1,16 @@
 [package]
 name = "webrender_api"
 version = "0.60.0"
 authors = ["Glenn Watson <gw@intuitionlibrary.com>"]
 license = "MPL-2.0"
 repository = "https://github.com/servo/webrender"
 description = "Public API for WebRender"
+edition = "2018"
 
 [features]
 nightly = ["euclid/unstable", "serde/unstable"]
 ipc = ["ipc-channel"]
 serialize = []
 deserialize = []
 display_list_stats = []
 
--- a/gfx/wr/webrender_build/Cargo.toml
+++ b/gfx/wr/webrender_build/Cargo.toml
@@ -1,14 +1,15 @@
 [package]
 name = "webrender_build"
 authors = ["The Servo Project Developers"]
 version = "0.0.1"
 license = "MPL-2.0"
 repository = "https://github.com/servo/webrender"
 description = "Code shared between precompilation (build.rs) and the rest of WebRender"
+edition = "2018"
 
 [features]
 serialize_program = ["serde"]
 
 [dependencies]
 serde = { optional = true, version = "1.0", features = ["serde_derive"] }
 sha2 = "0.8"
--- a/gfx/wr/wr_malloc_size_of/Cargo.toml
+++ b/gfx/wr/wr_malloc_size_of/Cargo.toml
@@ -1,13 +1,14 @@
 [package]
 authors = ["The Servo Project Developers"]
 description = "Internal utility to measure memory usage in WebRender."
 name = "wr_malloc_size_of"
 version = "0.0.1"
 license = "MIT/Apache-2.0"
+edition = "2018"
 
 [lib]
 path = "lib.rs"
 
 [dependencies]
 app_units = "0.7"
 euclid = "0.19"
--- a/gfx/wr/wrench/Cargo.toml
+++ b/gfx/wr/wrench/Cargo.toml
@@ -1,14 +1,15 @@
 [package]
 name = "wrench"
 version = "0.3.0"
 authors = ["Vladimir Vukicevic <vladimir@pobox.com>"]
 build = "build.rs"
 license = "MPL-2.0"
+edition = "2018"
 
 [dependencies]
 base64 = "0.10"
 bincode = "1.0"
 byteorder = "1.0"
 env_logger = { version = "0.5", optional = true }
 euclid = "0.19"
 gleam = "0.6.2"