2017-02-06 19:42:52 +03:00
|
|
|
[package]
|
|
|
|
name = "webrender"
|
2019-02-15 05:54:40 +03:00
|
|
|
version = "0.60.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"
|
2018-08-21 05:32:50 +03:00
|
|
|
description = "A GPU accelerated 2D renderer for web content"
|
2017-02-06 19:42:52 +03:00
|
|
|
build = "build.rs"
|
|
|
|
|
|
|
|
[features]
|
2017-08-18 15:51:39 +03:00
|
|
|
default = ["freetype-lib"]
|
2017-02-06 19:42:52 +03:00
|
|
|
freetype-lib = ["freetype/servo-freetype-sys"]
|
2019-01-23 00:29:24 +03:00
|
|
|
profiler = ["thread_profiler/thread_profiler"]
|
|
|
|
debugger = ["ws", "serde_json", "serde", "image", "base64"]
|
2019-02-11 22:54:19 +03:00
|
|
|
capture = ["webrender_api/serialize", "ron", "serde", "smallvec/serde"]
|
2018-01-30 18:21:30 +03:00
|
|
|
replay = ["webrender_api/deserialize", "ron", "serde"]
|
2018-04-04 22:21:50 +03:00
|
|
|
pathfinder = ["pathfinder_font_renderer", "pathfinder_gfx_utils", "pathfinder_partitioner", "pathfinder_path_utils"]
|
2019-01-04 07:21:27 +03:00
|
|
|
serialize_program = ["serde", "webrender_build/serialize_program"]
|
2019-01-11 20:01:52 +03:00
|
|
|
no_static_freetype = []
|
2019-01-04 07:21:27 +03:00
|
|
|
|
|
|
|
[build-dependencies]
|
|
|
|
webrender_build = { version = "0.0.1", path = "../webrender_build" }
|
2017-02-06 19:42:52 +03:00
|
|
|
|
|
|
|
[dependencies]
|
2018-08-02 17:20:04 +03:00
|
|
|
app_units = "0.7"
|
2018-12-23 19:28:52 +03:00
|
|
|
base64 = { optional = true, version = "0.10" }
|
2018-03-22 17:27:18 +03:00
|
|
|
bincode = "1.0"
|
2018-05-08 16:33:03 +03:00
|
|
|
bitflags = "1.0"
|
|
|
|
byteorder = "1.0"
|
|
|
|
cfg-if = "0.1.2"
|
2019-02-14 00:46:32 +03:00
|
|
|
cstr = "0.1.2"
|
2017-08-09 15:46:18 +03:00
|
|
|
fxhash = "0.2.1"
|
2018-11-27 22:28:45 +03:00
|
|
|
gleam = "0.6.8"
|
2019-01-21 18:12:26 +03:00
|
|
|
image = { optional = true, version = "0.21" }
|
2017-12-05 19:51:33 +03:00
|
|
|
lazy_static = "1"
|
2018-02-12 19:28:01 +03:00
|
|
|
log = "0.4"
|
2019-01-09 23:14:21 +03:00
|
|
|
malloc_size_of_derive = "0.1"
|
2018-08-02 17:20:04 +03:00
|
|
|
num-traits = "0.2"
|
2018-10-24 13:57:28 +03:00
|
|
|
plane-split = "0.13.3"
|
2019-01-21 18:12:26 +03:00
|
|
|
png = { optional = true, version = "0.14" }
|
2018-05-08 16:33:03 +03:00
|
|
|
rayon = "1"
|
|
|
|
ron = { optional = true, version = "0.1.7" }
|
|
|
|
serde = { optional = true, version = "1.0", features = ["serde_derive"] }
|
|
|
|
serde_json = { optional = true, version = "1.0" }
|
2018-12-25 04:11:14 +03:00
|
|
|
sha2 = "0.8"
|
2017-12-10 21:48:41 +03:00
|
|
|
smallvec = "0.6"
|
2018-05-08 16:33:03 +03:00
|
|
|
thread_profiler = "0.1.1"
|
|
|
|
time = "0.1"
|
2019-02-15 05:54:40 +03:00
|
|
|
webrender_api = { version = "0.60.0", path = "../webrender_api" }
|
2019-01-04 07:21:27 +03:00
|
|
|
webrender_build = { version = "0.0.1", path = "../webrender_build" }
|
2019-01-09 23:14:21 +03:00
|
|
|
wr_malloc_size_of = { version = "0.0.1", path = "../wr_malloc_size_of" }
|
2017-08-28 16:27:24 +03:00
|
|
|
ws = { optional = true, version = "0.7.3" }
|
2018-04-04 22:21:50 +03:00
|
|
|
|
|
|
|
[dependencies.pathfinder_font_renderer]
|
|
|
|
git = "https://github.com/pcwalton/pathfinder"
|
2018-09-21 06:27:49 +03:00
|
|
|
branch = "webrender"
|
2018-04-04 22:21:50 +03:00
|
|
|
optional = true
|
|
|
|
# Uncomment to test FreeType on macOS:
|
|
|
|
# features = ["freetype"]
|
|
|
|
|
|
|
|
[dependencies.pathfinder_gfx_utils]
|
|
|
|
git = "https://github.com/pcwalton/pathfinder"
|
2018-09-21 06:27:49 +03:00
|
|
|
branch = "webrender"
|
2018-04-04 22:21:50 +03:00
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.pathfinder_partitioner]
|
|
|
|
git = "https://github.com/pcwalton/pathfinder"
|
2018-09-21 06:27:49 +03:00
|
|
|
branch = "webrender"
|
2018-04-04 22:21:50 +03:00
|
|
|
optional = true
|
|
|
|
|
|
|
|
[dependencies.pathfinder_path_utils]
|
|
|
|
git = "https://github.com/pcwalton/pathfinder"
|
2018-09-21 06:27:49 +03:00
|
|
|
branch = "webrender"
|
2018-04-04 22:21:50 +03:00
|
|
|
optional = true
|
2017-02-06 19:42:52 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2018-03-07 18:15:43 +03:00
|
|
|
mozangle = "0.1"
|
2018-12-02 03:35:50 +03:00
|
|
|
rand = "0.4"
|
2017-02-06 19:42:52 +03:00
|
|
|
|
|
|
|
[target.'cfg(any(target_os = "android", all(unix, not(target_os = "macos"))))'.dependencies]
|
2018-04-04 22:21:50 +03:00
|
|
|
freetype = { version = "0.4", default-features = false }
|
2018-12-22 11:57:10 +03:00
|
|
|
libc = "0.2"
|
2017-02-06 19:42:52 +03:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
2019-01-17 23:45:07 +03:00
|
|
|
dwrote = "0.8"
|
2017-02-06 19:42:52 +03:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
2018-07-18 19:04:12 +03:00
|
|
|
core-foundation = "0.6"
|
2018-09-21 06:27:49 +03:00
|
|
|
core-graphics = "0.17.1"
|
|
|
|
core-text = { version = "13", default-features = false }
|