Bug 1542826 - Reduce featureset enabled on image crate. r=gw
authorKartikaya Gupta <kgupta@mozilla.com>
Thu, 25 Apr 2019 19:28:23 +0000
changeset 530178 e980a61a57d13ac9d17bf3de66fcd69bf21765ea
parent 530177 34d3173eb662ec893d94f1a0f45d1b98ea0068cd
child 530179 59a08c05c327a26a92386a1f0da29f585994c1a3
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)
reviewersgw
bugs1542826
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 1542826 - Reduce featureset enabled on image crate. r=gw The debugger in WebRender uses the image crate to generate PNGs, and so it only really needs the png codec feature from the image crate. Differential Revision: https://phabricator.services.mozilla.com/D28351
gfx/wr/webrender/Cargo.toml
--- a/gfx/wr/webrender/Cargo.toml
+++ b/gfx/wr/webrender/Cargo.toml
@@ -26,17 +26,17 @@ webrender_build = { version = "0.0.1", p
 base64 = { optional = true, version = "0.10" }
 bincode = "1.0"
 bitflags = "1.0"
 byteorder = "1.0"
 cfg-if = "0.1.2"
 cstr = "0.1.2"
 fxhash = "0.2.1"
 gleam = "0.6.16"
-image = { optional = true, version = "0.21" }
+image = { optional = true, version = "0.21", default-features = false, features = ["png_codec"] }
 lazy_static = "1"
 log = "0.4"
 malloc_size_of_derive = "0.1"
 num-traits = "0.2"
 plane-split = "0.13.7"
 png = { optional = true, version = "0.14" }
 rayon = "1"
 ron = { optional = true, version = "0.1.7" }