2017-02-06 19:42:52 +03:00
|
|
|
[package]
|
|
|
|
name = "webrender"
|
2017-06-20 16:33:07 +03:00
|
|
|
version = "0.43.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-06-20 16:33:07 +03:00
|
|
|
app_units = "0.5"
|
|
|
|
bincode = "0.8"
|
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-20 16:33:07 +03:00
|
|
|
euclid = "0.15"
|
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-06-20 16:33:07 +03:00
|
|
|
offscreen_gl_context = {version = "0.11", features = ["serde", "osmesa"], optional = true}
|
2017-02-06 19:42:52 +03:00
|
|
|
time = "0.1"
|
2017-06-15 04:47:09 +03:00
|
|
|
rayon = "0.8"
|
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-20 16:33:07 +03:00
|
|
|
plane-split = "0.6"
|
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-06-20 16:33:07 +03:00
|
|
|
servo-glutin = "0.11" # 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-06-20 16:33:07 +03:00
|
|
|
dwrote = "0.4"
|
2017-02-06 19:42:52 +03:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2017-06-20 16:33:07 +03:00
|
|
|
core-graphics = "0.8.0"
|
2017-06-20 20:31:13 +03:00
|
|
|
core-text = { version = "5.0.1", features = ["lion"] }
|