gecko-dev/servo/components/gfx/Cargo.toml
Alan Jeffrey f4ab2bfdb5 servo: Merge #8667 - Update string cache (from asajeffrey:update-string-cache); r=SimonSapin
Updated string_cache to 0.2, and updated the dependencies that depend on string_cache.
Removed references to string_cache_plugin.
Import atom! and ns! from string_cache.
Replaced ns!("") by ns!().
Replaced ns!(XML) and co by ns!(xml) and co.
Replaced Atom::from_slice by Atom::from.
Replaced atom.as_slice() by &*atom.

r? @SimonSapin

Source-Repo: https://github.com/servo/servo
Source-Revision: 188fa9378c103093f1f8dac24bff0d9d237fd2bc
2015-11-25 23:41:39 +05:01

125 lines
3.0 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.3", features = ["plugins"]}
fnv = "1.0"
harfbuzz-sys = "0.1"
lazy_static = "0.1"
libc = "0.1"
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"] }
[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.skia]
git = "https://github.com/servo/skia"
[dependencies.script_traits]
path = "../script_traits"
[dependencies.ipc-channel]
git = "https://github.com/servo/ipc-channel"
[dependencies.url]
version = "0.2"
features = [ "serde_serialization" ]
[target.x86_64-apple-darwin.dependencies]
core-foundation = "0.1"
core-graphics = "0.1"
[target.i686-unknown-linux-gnu.dependencies.fontconfig]
git = "https://github.com/servo/rust-fontconfig"
[target.x86_64-unknown-linux-gnu.dependencies.fontconfig]
git = "https://github.com/servo/rust-fontconfig"
[target.arm-unknown-linux-gnueabihf.dependencies.fontconfig]
git = "https://github.com/servo/rust-fontconfig"
[target.aarch64-unknown-linux-gnu.dependencies.fontconfig]
git = "https://github.com/servo/rust-fontconfig"
[target.arm-linux-androideabi.dependencies.fontconfig]
git = "https://github.com/servo/rust-fontconfig"
[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"