Examples: Pin some dependencies to builda with rustc 1.28

These dependencies require rustc 1.31, which we can't yet use.
Since they are only affecting examples its not a big deal to pin
them to an earlier version.
This commit is contained in:
Jordan Petridis 2018-12-17 11:58:53 +02:00
parent 11db200dd6
commit 02dc888a3a
No known key found for this signature in database
GPG key ID: 902CC06D159744F5
2 changed files with 8 additions and 0 deletions

View file

@ -29,6 +29,11 @@ pangocairo = { git = "https://github.com/gtk-rs/pangocairo", optional = true }
# Using my personal repository (vjaquez) for glutin until
# https://github.com/tomaka/glutin/pull/1082 is merged
glutin = { git = "https://github.com/ceyusa/glutin", branch="native-display", optional = true }
# Newer versions do not compile with rustc 1.28 so pin it for the time being
# This dependency comes from backtrace, which comes from failure
rustc-demangle = "0.1.10"
# This dependency comes from glutin and winit, which comes from failure
stb_truetype = { version = "= 0.2.4", optional = true }
[build-dependencies]
gl_generator = { version = "0.9", optional = true }

View file

@ -14,6 +14,9 @@ gstreamer-app = { path = "../gstreamer-app" }
gstreamer-pbutils = { path = "../gstreamer-pbutils" }
byte-slice-cast = "0.2"
failure = "0.1.0"
# Newer versions do not compile with rustc 1.28 so pin it for the time being
# This dependency comes from backtrace, which comes from failure
rustc-demangle = "0.1.10"
[features]
tutorial5 = ["gtk", "gdk"]