mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 00:35:44 +00:00
727f83b96a
<!-- Please describe your changes on the following line: --> I have been working on issue number #15244. I have substituted quickersort with pdqsort in the style component. The changes I made affect: Cargo.toml, stylist.rs and lib.rs (all of them are in /components/style). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #15244 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [X] These changes do not require tests because both library expose the same functionality, they differ in permance. Source-Repo: https://github.com/servo/servo Source-Revision: d4ee8a3599a57078735766640b31df31c67d8201
73 lines
1.8 KiB
TOML
73 lines
1.8 KiB
TOML
[package]
|
|
name = "style"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MPL-2.0"
|
|
publish = false
|
|
|
|
build = "build.rs"
|
|
|
|
[lib]
|
|
name = "style"
|
|
path = "lib.rs"
|
|
doctest = false
|
|
|
|
[features]
|
|
gecko = ["nsstring_vendor", "num_cpus", "rayon/unstable"]
|
|
use_bindgen = ["bindgen", "regex"]
|
|
servo = ["serde/unstable", "serde", "serde_derive", "heapsize_derive",
|
|
"style_traits/servo", "app_units/plugins", "servo_atoms", "html5ever-atoms",
|
|
"cssparser/heap_size", "cssparser/serde-serialization",
|
|
"rayon/unstable", "servo_url/servo"]
|
|
testing = []
|
|
|
|
[dependencies]
|
|
app_units = "0.3"
|
|
atomic_refcell = "0.1"
|
|
bitflags = "0.7"
|
|
cfg-if = "0.1.0"
|
|
cssparser = "0.7.3"
|
|
encoding = "0.2"
|
|
euclid = "0.10.1"
|
|
fnv = "1.0"
|
|
heapsize = "0.3.0"
|
|
heapsize_derive = {version = "0.1", optional = true}
|
|
html5ever-atoms = {version = "0.1", optional = true}
|
|
lazy_static = "0.2"
|
|
log = "0.3.5"
|
|
matches = "0.1"
|
|
nsstring_vendor = {path = "gecko_bindings/nsstring_vendor", optional = true}
|
|
num-integer = "0.1.32"
|
|
num-traits = "0.1.32"
|
|
ordered-float = "0.2.2"
|
|
owning_ref = "0.2.2"
|
|
parking_lot = "0.3.3"
|
|
phf = "0.7.20"
|
|
pdqsort = "0.1.0"
|
|
rayon = "0.6"
|
|
rustc-serialize = "0.3"
|
|
selectors = "0.15.1"
|
|
serde = {version = "0.8", optional = true}
|
|
serde_derive = {version = "0.8", optional = true}
|
|
servo_atoms = {path = "../atoms", optional = true}
|
|
servo_config = {path = "../config"}
|
|
smallvec = "0.1"
|
|
style_traits = {path = "../style_traits"}
|
|
servo_url = {path = "../url"}
|
|
time = "0.1"
|
|
unicode-segmentation = "0.1.2"
|
|
|
|
[dependencies.num_cpus]
|
|
optional = true
|
|
version = "1.0"
|
|
|
|
[target.'cfg(windows)'.dependencies]
|
|
kernel32-sys = "0.2"
|
|
|
|
[build-dependencies]
|
|
lazy_static = "0.2"
|
|
bindgen = { version = "0.20.1", optional = true }
|
|
phf_codegen = "0.7.20"
|
|
regex = {version = "0.2", optional = true}
|
|
walkdir = "0.1"
|