2016-08-06 04:49:26 +00:00
|
|
|
[package]
|
|
|
|
name = "gkrust"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["nobody@mozilla.org"]
|
|
|
|
license = "MPL-2.0"
|
|
|
|
description = "Rust code for libxul"
|
|
|
|
|
2017-01-20 16:33:04 +00:00
|
|
|
[features]
|
|
|
|
bindgen = ["gkrust-shared/bindgen"]
|
2017-02-02 23:30:16 +00:00
|
|
|
servo = ["gkrust-shared/servo"]
|
2017-02-06 16:42:52 +00:00
|
|
|
quantum_render = ["gkrust-shared/quantum_render"]
|
2017-03-12 23:52:45 +00:00
|
|
|
cubeb_pulse_rust = ["gkrust-shared/cubeb_pulse_rust"]
|
2017-04-20 17:54:14 +00:00
|
|
|
gecko_debug = ["gkrust-shared/gecko_debug"]
|
2017-05-29 14:11:18 +00:00
|
|
|
simd-accel = ["gkrust-shared/simd-accel"]
|
2017-04-27 10:27:03 +00:00
|
|
|
no-static-ideograph-encoder-tables = ["gkrust-shared/no-static-ideograph-encoder-tables"]
|
|
|
|
# parallel-utf8 = ["gkrust-shared/parallel-utf8"]
|
2017-01-20 16:33:04 +00:00
|
|
|
|
2016-08-06 04:49:26 +00:00
|
|
|
[dependencies]
|
2016-10-15 22:16:13 +00:00
|
|
|
gkrust-shared = { path = "shared" }
|
2016-08-06 04:49:26 +00:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
path = "lib.rs"
|
2016-10-15 22:16:13 +00:00
|
|
|
crate-type = ["staticlib"]
|
2016-08-06 04:49:26 +00:00
|
|
|
test = false
|
|
|
|
doctest = false
|
|
|
|
bench = false
|
|
|
|
doc = false
|
|
|
|
plugin = false
|
|
|
|
harness = false
|
|
|
|
|
|
|
|
# Explicitly specify what our profiles use.
|
|
|
|
[profile.dev]
|
|
|
|
opt-level = 1
|
|
|
|
rpath = false
|
|
|
|
lto = false
|
|
|
|
debug-assertions = true
|
2017-04-02 12:17:44 +00:00
|
|
|
codegen-units = 4
|
2016-08-09 22:10:19 +00:00
|
|
|
panic = "abort"
|
2016-08-06 04:49:26 +00:00
|
|
|
|
|
|
|
[profile.release]
|
|
|
|
opt-level = 2
|
|
|
|
rpath = false
|
2016-08-08 22:32:34 +00:00
|
|
|
lto = true
|
2016-08-06 04:49:26 +00:00
|
|
|
debug-assertions = false
|
2016-08-09 22:10:19 +00:00
|
|
|
panic = "abort"
|