refactor(build): generate revision via build.rs

This commit is contained in:
OJ Kwon 2018-03-19 13:44:51 -07:00
parent 0671fcb5c7
commit f9230975f5
No known key found for this signature in database
GPG key ID: 2E469434030C7F09
4 changed files with 70 additions and 32 deletions

View file

@ -4,6 +4,7 @@ version = "0.0.1"
authors = ["The Servo Project Developers"]
license = "MPL-2.0"
publish = false
build = "build.rs"
[lib]
name = "compositing"
@ -29,3 +30,6 @@ style_traits = {path = "../style_traits"}
time = "0.1.17"
webrender = {git = "https://github.com/servo/webrender", features = ["capture"]}
webrender_api = {git = "https://github.com/servo/webrender", features = ["ipc"]}
[build-dependencies]
toml = "0.4.5"