cdg: disable default features for the image crate

We don't need JPEG, GIF, etc. support so depending on the whole
dependency chain of them is not needed and only wastes CPU time.

As a result we can remove the gif crate exception in deny.toml.
This commit is contained in:
Guillaume Desmottes 2020-09-23 10:28:55 +02:00
parent b81c7e2fd7
commit fab361d32d
2 changed files with 1 additions and 8 deletions

View file

@ -96,13 +96,6 @@ version = "0.3"
name = "wasi"
version = "0.9"
# ignore duplicated gif dependency because of image depending on an old
# version
# https://github.com/image-rs/image/pull/1316
[[bans.skip]]
name = "gif"
version = "0.10"
[sources]
unknown-registry = "deny"
unknown-git = "deny"

View file

@ -15,7 +15,7 @@ gstreamer-video = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs
gstreamer-app = { git = "https://gitlab.freedesktop.org/gstreamer/gstreamer-rs" }
cdg = "0.1"
cdg_renderer = "0.6"
image = "0.23"
image = { version = "0.23", default-features = false }
muldiv = "0.2"
lazy_static = "1.0"