gecko-dev/servo/components/gfx/Cargo.toml
Simon Sapin d4a1557a4b servo: Merge #8757 - Use skia and deps from crates.io (from servo:skia); r=mbrubeck
This makes the initial download for skia go from a 300 MB git repository to a 5 MB tarball. This should help with issues like #6132 and #7687.

Fix https://github.com/servo/skia/issues/70

This builds, but the at the moment causes a number of tidy errors for duplicated crates.

Source-Repo: https://github.com/servo/servo
Source-Revision: 8b95d7b8d860ec4c0834192083361a9fb78ddbeb
2015-12-03 12:29:29 +05:01

120 lines
2.7 KiB
TOML

[package]
name = "gfx"
version = "0.0.1"
authors = ["The Servo Project Developers"]
[lib]
name = "gfx"
path = "lib.rs"
[dependencies]
app_units = {version = "0.1", features = ["plugins"]}
bitflags = "0.3"
euclid = {version = "0.4", features = ["plugins"]}
fnv = "1.0"
harfbuzz-sys = "0.1"
lazy_static = "0.1"
libc = "0.2"
log = "0.3"
rand = "0.3"
rustc-serialize = "0.3"
serde = "0.6"
serde_macros = "0.6"
smallvec = "0.1"
string_cache = "0.2"
time = "0.1.12"
unicode-script = { version = "0.1", features = ["harfbuzz"] }
url = "0.5"
servo-skia = "0.20130412.0"
[dependencies.plugins]
path = "../plugins"
[dependencies.gfx_traits]
path = "../gfx_traits"
[dependencies.net_traits]
path = "../net_traits"
[dependencies.canvas_traits]
path = "../canvas_traits"
[dependencies.util]
path = "../util"
[dependencies.msg]
path = "../msg"
[dependencies.profile_traits]
path = "../profile_traits"
[dependencies.style]
path = "../style"
[dependencies.azure]
git = "https://github.com/servo/rust-azure"
features = ["plugins"]
[dependencies.layers]
git = "https://github.com/servo/rust-layers"
features = ["plugins"]
[dependencies.script_traits]
path = "../script_traits"
[dependencies.ipc-channel]
git = "https://github.com/servo/ipc-channel"
[target.x86_64-apple-darwin.dependencies]
core-foundation = "0.2"
core-graphics = "0.2"
[target.i686-unknown-linux-gnu.dependencies]
servo-fontconfig = "0.2"
[target.x86_64-unknown-linux-gnu.dependencies]
servo-fontconfig = "0.2"
[target.arm-unknown-linux-gnueabihf.dependencies]
servo-fontconfig = "0.2"
[target.aarch64-unknown-linux-gnu.dependencies]
servo-fontconfig = "0.2"
[target.arm-linux-androideabi.dependencies]
servo-fontconfig = "0.2"
[target.i686-unknown-linux-gnu.dependencies.freetype]
git = "https://github.com/servo/rust-freetype"
[target.x86_64-unknown-linux-gnu.dependencies.freetype]
git = "https://github.com/servo/rust-freetype"
[target.arm-unknown-linux-gnueabihf.dependencies.freetype]
git = "https://github.com/servo/rust-freetype"
[target.aarch64-unknown-linux-gnu.dependencies.freetype]
git = "https://github.com/servo/rust-freetype"
[target.arm-linux-androideabi.dependencies.freetype]
git = "https://github.com/servo/rust-freetype"
[target.x86_64-apple-darwin.dependencies.core-text]
git = "https://github.com/servo/core-text-rs"
[target.x86_64-unknown-linux-gnu.dependencies.simd]
git = "https://github.com/huonw/simd"
[target.x86_64-apple-darwin.dependencies.simd]
git = "https://github.com/huonw/simd"
[target.aarch64-unknown-linux-gnu.dependencies.simd]
git = "https://github.com/huonw/simd"
[target.x86_64-pc-windows-gnu.dependencies.simd]
git = "https://github.com/huonw/simd"
[target.x86_64-pc-windows-msvc.dependencies.simd]
git = "https://github.com/huonw/simd"