toolkit/library/gtest/rust/Cargo.toml
author shindli <shindli@mozilla.com>
Fri, 02 Mar 2018 21:17:20 +0200
changeset 458863 90ea9e2402f67e48c928c7c5463a17a0c12bc4ef
parent 458858 bbae7807c164273f6bb123d680a4fc31202d7a61
child 458870 b26983780cb2b3537b1826e7c712dc31969269ab
permissions -rw-r--r--
Backed out 3 changesets (bug 1381576) for Bugzilla linting failure on a CLOSED TREE Backed out changeset 3bc1743ad418 (bug 1381576) Backed out changeset bbae7807c164 (bug 1381576) Backed out changeset 1ea18b70b170 (bug 1381576)

[package]
name = "gkrust-gtest"
version = "0.1.0"
authors = ["nobody@mozilla.org"]
license = "MPL-2.0"
description = "Testing code for libgkrust"

[features]
bindgen = ["gkrust-shared/bindgen"]
servo = ["gkrust-shared/servo"]
quantum_render = ["gkrust-shared/quantum_render"]
cubeb-remoting = ["gkrust-shared/cubeb-remoting"]
cubeb_pulse_rust = ["gkrust-shared/cubeb_pulse_rust"]
gecko_debug = ["gkrust-shared/gecko_debug"]
simd-accel = ["gkrust-shared/simd-accel"]
no-static-ideograph-encoder-tables = ["gkrust-shared/no-static-ideograph-encoder-tables"]

[dependencies]
mp4parse-gtest = { path = "../../../../dom/media/gtest" }
nsstring-gtest = { path = "../../../../xpcom/rust/gtest/nsstring" }
xpcom-gtest = { path = "../../../../xpcom/rust/gtest/xpcom" }
gkrust-shared = { path = "../../rust/shared" }

[lib]
path = "lib.rs"
crate-type = ["staticlib"]
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
panic = "abort"

[profile.release]
opt-level = 2
rpath = false
debug-assertions = false
panic = "abort"
codegen-units = 1

[patch.crates-io]
libudev-sys = { path = "../../../../dom/webauthn/libudev-sys" }
serde_derive = { git = "https://github.com/gankro/serde", branch = "deserialize_from_enums4" }