mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
This fixes a build error for i686-linux-android with some versions of libclang: ``` error[E0560]: struct `generated::root::JS::Value` has no field named `__bindgen_align`sys --> /home/simon/projects/mozjs/src/jsval.rs:83:2 | 83 | __bindgen_align: [], | ^^^^^^^^^^^^^^^ `generated::root::JS::Value` does not have this field | = note: available fields are: `data` error: aborting due to previous error ```
45 lines
1.1 KiB
TOML
45 lines
1.1 KiB
TOML
[package]
|
|
name = "malloc_size_of"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MIT/Apache-2.0"
|
|
publish = false
|
|
|
|
[lib]
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
servo = [
|
|
"hyper",
|
|
"hyper_serde",
|
|
"mozjs",
|
|
"serde",
|
|
"serde_bytes",
|
|
"string_cache",
|
|
"time",
|
|
"url",
|
|
"webrender_api",
|
|
"xml5ever",
|
|
]
|
|
|
|
[dependencies]
|
|
app_units = "0.7"
|
|
cssparser = "0.24.0"
|
|
euclid = "0.19"
|
|
hashglobe = { path = "../hashglobe" }
|
|
hyper = { version = "0.10", optional = true }
|
|
hyper_serde = { version = "0.8", optional = true }
|
|
mozjs = { version = "0.9.0", optional = true }
|
|
selectors = { path = "../selectors" }
|
|
serde = { version = "1.0.27", optional = true }
|
|
serde_bytes = { version = "0.10", optional = true }
|
|
servo_arc = { path = "../servo_arc" }
|
|
smallbitvec = "2.1.0"
|
|
smallvec = "0.6"
|
|
string_cache = { version = "0.7", optional = true }
|
|
thin-slice = "0.1.0"
|
|
time = { version = "0.1.17", optional = true }
|
|
url = { version = "1.2", optional = true }
|
|
webrender_api = { git = "https://github.com/servo/webrender", features = ["ipc"], optional = true }
|
|
xml5ever = { version = "0.12", optional = true }
|
|
void = "1.0.2"
|