Add cargo features for canvas backend to other ports.

This commit is contained in:
Josh Matthews 2019-05-29 16:34:39 -04:00
parent 5a550e236c
commit 193013f6bb
4 changed files with 31 additions and 21 deletions

View file

@ -12,6 +12,10 @@ crate-type = ["staticlib"]
test = false
bench = false
[features]
azure_backend = ["simpleservo/azure_backend"]
raqote_backend = ["simpleservo/raqote_backend"]
[dependencies]
libservo = { path = "../../components/servo", features = ["no_static_freetype"] }
simpleservo = { path = "../libsimpleservo/api", features = ["no_static_freetype"] }