mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-30 21:55:31 +00:00
90419861cd
This also: 1) Updates the webrender_bindings Cargo.toml file to use the latest version numbers of webrender and webrender_traits 2) Updates the webrender_bindings Cargo.toml file to use the same version of other dependencies (euclid, etc.) as webrender itself does 3) Updates the webrender_bindings glue code for API changes in push_border, add_image, and add_raw_font. --HG-- rename : third_party/rust/dwrote/.gitignore => third_party/rust/servo-dwrote/.gitignore rename : third_party/rust/dwrote/README.md => third_party/rust/servo-dwrote/README.md rename : third_party/rust/dwrote/build.rs => third_party/rust/servo-dwrote/build.rs rename : third_party/rust/dwrote/src/bitmap_render_target.rs => third_party/rust/servo-dwrote/src/bitmap_render_target.rs rename : third_party/rust/dwrote/src/com_helpers.rs => third_party/rust/servo-dwrote/src/com_helpers.rs rename : third_party/rust/dwrote/src/comptr.rs => third_party/rust/servo-dwrote/src/comptr.rs rename : third_party/rust/dwrote/src/font.rs => third_party/rust/servo-dwrote/src/font.rs rename : third_party/rust/dwrote/src/font_collection.rs => third_party/rust/servo-dwrote/src/font_collection.rs rename : third_party/rust/dwrote/src/font_face.rs => third_party/rust/servo-dwrote/src/font_face.rs rename : third_party/rust/dwrote/src/font_family.rs => third_party/rust/servo-dwrote/src/font_family.rs rename : third_party/rust/dwrote/src/font_file.rs => third_party/rust/servo-dwrote/src/font_file.rs rename : third_party/rust/dwrote/src/font_file_loader_impl.rs => third_party/rust/servo-dwrote/src/font_file_loader_impl.rs rename : third_party/rust/dwrote/src/gdi_interop.rs => third_party/rust/servo-dwrote/src/gdi_interop.rs rename : third_party/rust/dwrote/src/glyph_run_analysis.rs => third_party/rust/servo-dwrote/src/glyph_run_analysis.rs rename : third_party/rust/dwrote/src/helpers.rs => third_party/rust/servo-dwrote/src/helpers.rs rename : third_party/rust/dwrote/src/rendering_params.rs => third_party/rust/servo-dwrote/src/rendering_params.rs rename : third_party/rust/dwrote/src/test.rs => third_party/rust/servo-dwrote/src/test.rs rename : third_party/rust/dwrote/src/types.rs => third_party/rust/servo-dwrote/src/types.rs
47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
[package]
|
|
name = "webrender"
|
|
version = "0.19.0"
|
|
authors = ["Glenn Watson <gw@intuitionlibrary.com>"]
|
|
license = "MPL-2.0"
|
|
repository = "https://github.com/servo/webrender"
|
|
build = "build.rs"
|
|
|
|
[features]
|
|
default = ["codegen", "freetype-lib"]
|
|
codegen = ["webrender_traits/codegen"]
|
|
freetype-lib = ["freetype/servo-freetype-sys"]
|
|
serde_derive = ["webrender_traits/serde_derive"]
|
|
profiler = ["thread_profiler/thread_profiler"]
|
|
|
|
[dependencies]
|
|
app_units = "0.4"
|
|
bincode = "1.0.0-alpha2"
|
|
bit-set = "0.4"
|
|
byteorder = "1.0"
|
|
euclid = "0.11"
|
|
fnv="1.0"
|
|
gleam = "0.2.30"
|
|
lazy_static = "0.2"
|
|
log = "0.3"
|
|
num-traits = "0.1.32"
|
|
offscreen_gl_context = {version = "0.6", features = ["serde", "osmesa"]}
|
|
time = "0.1"
|
|
threadpool = "1.3.2"
|
|
webrender_traits = {path = "../webrender_traits", default-features = false}
|
|
bitflags = "0.7"
|
|
gamma-lut = "0.1"
|
|
thread_profiler = "0.1.1"
|
|
|
|
[dev-dependencies]
|
|
angle = {git = "https://github.com/servo/angle", branch = "servo"}
|
|
|
|
[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]
|
|
servo-dwrote = "0.2"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
core-graphics = "0.7.0"
|
|
core-text = "4.0"
|