2017-02-06 19:42:52 +03:00
|
|
|
[package]
|
|
|
|
name = "webrender"
|
2017-06-01 15:57:10 +03:00
|
|
|
version = "0.40.0"
|
2017-02-06 19:42:52 +03:00
|
|
|
authors = ["Glenn Watson <gw@intuitionlibrary.com>"]
|
|
|
|
license = "MPL-2.0"
|
|
|
|
repository = "https://github.com/servo/webrender"
|
|
|
|
build = "build.rs"
|
|
|
|
|
|
|
|
[features]
|
2017-03-29 00:49:11 +03:00
|
|
|
default = ["freetype-lib", "webgl"]
|
2017-02-06 19:42:52 +03:00
|
|
|
freetype-lib = ["freetype/servo-freetype-sys"]
|
2017-02-14 21:34:14 +03:00
|
|
|
profiler = ["thread_profiler/thread_profiler"]
|
2017-03-29 00:49:11 +03:00
|
|
|
webgl = ["offscreen_gl_context", "webrender_traits/webgl"]
|
2017-02-06 19:42:52 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2017-02-23 07:07:59 +03:00
|
|
|
app_units = "0.4"
|
2017-04-05 05:46:17 +03:00
|
|
|
bincode = "1.0.0-alpha6"
|
2017-02-06 19:42:52 +03:00
|
|
|
bit-set = "0.4"
|
2017-02-14 21:34:14 +03:00
|
|
|
byteorder = "1.0"
|
2017-06-01 15:57:10 +03:00
|
|
|
euclid = "0.13"
|
2017-03-07 02:46:30 +03:00
|
|
|
fnv = "1.0"
|
2017-04-21 16:58:56 +03:00
|
|
|
gleam = "0.4.3"
|
2017-02-06 19:42:52 +03:00
|
|
|
lazy_static = "0.2"
|
|
|
|
log = "0.3"
|
|
|
|
num-traits = "0.1.32"
|
2017-03-29 00:49:11 +03:00
|
|
|
offscreen_gl_context = {version = "0.8.0", features = ["serde", "osmesa"], optional = true}
|
2017-02-06 19:42:52 +03:00
|
|
|
time = "0.1"
|
2017-05-15 22:13:31 +03:00
|
|
|
rayon = {version = "0.7", features = ["unstable"]}
|
2017-03-07 02:46:30 +03:00
|
|
|
webrender_traits = {path = "../webrender_traits"}
|
2017-02-06 19:42:52 +03:00
|
|
|
bitflags = "0.7"
|
2017-05-15 22:13:31 +03:00
|
|
|
gamma-lut = "0.2"
|
2017-02-14 21:34:14 +03:00
|
|
|
thread_profiler = "0.1.1"
|
2017-06-01 15:57:10 +03:00
|
|
|
plane-split = "0.4"
|
2017-02-06 19:42:52 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
|
|
|
angle = {git = "https://github.com/servo/angle", branch = "servo"}
|
2017-05-25 20:27:55 +03:00
|
|
|
rand = "0.3" # for the benchmarks
|
2017-04-26 17:33:14 +03:00
|
|
|
servo-glutin = "0.10.1" # for the example apps
|
2017-02-06 19:42:52 +03:00
|
|
|
|
|
|
|
[target.'cfg(any(target_os = "android", all(unix, not(target_os = "macos"))))'.dependencies]
|
|
|
|
freetype = { version = "0.2", default-features = false }
|
|
|
|
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
2017-03-07 02:46:30 +03:00
|
|
|
dwrote = "0.3"
|
2017-02-06 19:42:52 +03:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2017-02-23 07:07:59 +03:00
|
|
|
core-graphics = "0.7.0"
|
|
|
|
core-text = "4.0"
|
2017-04-26 17:33:14 +03:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "basic"
|
|
|
|
|
2017-04-28 23:58:59 +03:00
|
|
|
[[example]]
|
|
|
|
name = "blob"
|
|
|
|
|
2017-04-26 17:33:14 +03:00
|
|
|
[[example]]
|
|
|
|
name = "scrolling"
|
2017-04-28 23:58:59 +03:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "yuv"
|