mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
10f4292c33
MozReview-Commit-ID: 100EQ2cTdj4 --HG-- extra : rebase_source : 22829dcb9b4a4b07a9b76aea6f1df5c9a1f1b488
81 lines
2.4 KiB
TOML
81 lines
2.4 KiB
TOML
[package]
|
|
name = "webrender"
|
|
version = "0.57.2"
|
|
authors = ["Glenn Watson <gw@intuitionlibrary.com>"]
|
|
license = "MPL-2.0"
|
|
repository = "https://github.com/servo/webrender"
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
default = ["freetype-lib"]
|
|
freetype-lib = ["freetype/servo-freetype-sys"]
|
|
profiler = ["thread_profiler/thread_profiler", "debug_renderer"]
|
|
debugger = ["ws", "serde_json", "serde", "image", "base64", "debug_renderer"]
|
|
capture = ["webrender_api/serialize", "ron", "serde", "debug_renderer"]
|
|
replay = ["webrender_api/deserialize", "ron", "serde"]
|
|
debug_renderer = []
|
|
pathfinder = ["pathfinder_font_renderer", "pathfinder_gfx_utils", "pathfinder_partitioner", "pathfinder_path_utils"]
|
|
serialize_program = ["serde"]
|
|
|
|
[dependencies]
|
|
app_units = "0.6"
|
|
base64 = { optional = true, version = "0.6" }
|
|
bincode = "1.0"
|
|
bitflags = "1.0"
|
|
byteorder = "1.0"
|
|
cfg-if = "0.1.2"
|
|
euclid = "0.17.3"
|
|
fxhash = "0.2.1"
|
|
gleam = "0.5"
|
|
image = { optional = true, version = "0.18" }
|
|
lazy_static = "1"
|
|
log = "0.4"
|
|
num-traits = "0.1.43"
|
|
plane-split = "0.9.1"
|
|
png = { optional = true, version = "0.11" }
|
|
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" }
|
|
smallvec = "0.6"
|
|
thread_profiler = "0.1.1"
|
|
time = "0.1"
|
|
webrender_api = {path = "../webrender_api"}
|
|
ws = { optional = true, version = "0.7.3" }
|
|
|
|
[dependencies.pathfinder_font_renderer]
|
|
git = "https://github.com/pcwalton/pathfinder"
|
|
optional = true
|
|
# Uncomment to test FreeType on macOS:
|
|
# features = ["freetype"]
|
|
|
|
[dependencies.pathfinder_gfx_utils]
|
|
git = "https://github.com/pcwalton/pathfinder"
|
|
optional = true
|
|
|
|
[dependencies.pathfinder_partitioner]
|
|
git = "https://github.com/pcwalton/pathfinder"
|
|
optional = true
|
|
|
|
[dependencies.pathfinder_path_utils]
|
|
git = "https://github.com/pcwalton/pathfinder"
|
|
optional = true
|
|
|
|
[dev-dependencies]
|
|
mozangle = "0.1"
|
|
env_logger = "0.5"
|
|
rand = "0.3" # for the benchmarks
|
|
glutin = "0.15" # for the example apps
|
|
winit = "0.13" # for the example apps
|
|
|
|
[target.'cfg(any(target_os = "android", all(unix, not(target_os = "macos"))))'.dependencies]
|
|
freetype = { version = "0.4", default-features = false }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
dwrote = "0.4.1"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-foundation = "0.5"
|
|
core-graphics = "0.13"
|
|
core-text = { version = "9.2.0", default-features = false }
|