Cargo.toml
author Cosmin Sabou <csabou@mozilla.com>
Sat, 03 Nov 2018 03:12:43 +0200
changeset 444308 63f135d2db22375b51cf0ded745279afe2188022
parent 444225 d229433e0f47593f17f8ffd89923fe7e7f1553a1
child 444392 4d93f4acecac55ba7dc0a4994e6c46e6415134d6
permissions -rw-r--r--
Backed out 48 changesets (bug 1376873, bug 1502992) for causing windows 7 wpt crashes on several files. Backed out changeset b9db1780bb9c (bug 1502992) Backed out changeset f9f879bd247c (bug 1376873) Backed out changeset f029e9f3ceaf (bug 1376873) Backed out changeset 7317f657a9a7 (bug 1376873) Backed out changeset 4efbe4d0050c (bug 1376873) Backed out changeset 26e09a6dee05 (bug 1376873) Backed out changeset afbd3a8108de (bug 1376873) Backed out changeset 23b5fb1a2577 (bug 1376873) Backed out changeset 5d9c7a09616c (bug 1376873) Backed out changeset f15c4be0f19f (bug 1376873) Backed out changeset 3d11b041baf2 (bug 1376873) Backed out changeset 9674bbefc68e (bug 1376873) Backed out changeset 5a45d2c706d6 (bug 1376873) Backed out changeset 9b82f16618b9 (bug 1376873) Backed out changeset 0c3c2fc4646b (bug 1376873) Backed out changeset 381df4c6ae88 (bug 1376873) Backed out changeset acc06acb5342 (bug 1376873) Backed out changeset 60fdf3598932 (bug 1376873) Backed out changeset 176b82dccf4c (bug 1376873) Backed out changeset 58e47be76761 (bug 1376873) Backed out changeset d082eb8d80c6 (bug 1376873) Backed out changeset 622f78404b8a (bug 1376873) Backed out changeset 086c722131f9 (bug 1376873) Backed out changeset 79010785539c (bug 1376873) Backed out changeset 6b2919ed789b (bug 1376873) Backed out changeset da8d3eb163bd (bug 1376873) Backed out changeset 0fc8c65e163e (bug 1376873) Backed out changeset de3f5bd6846b (bug 1376873) Backed out changeset 2951112ade46 (bug 1376873) Backed out changeset 9fe47f8ea1b8 (bug 1376873) Backed out changeset b94935661622 (bug 1376873) Backed out changeset 6eca45c83131 (bug 1376873) Backed out changeset 909f472c2e40 (bug 1376873) Backed out changeset 19d9a30b300c (bug 1376873) Backed out changeset 6a52b92ff037 (bug 1376873) Backed out changeset 6a6771656fe5 (bug 1376873) Backed out changeset ffdbeba93fa6 (bug 1376873) Backed out changeset d12ad321047d (bug 1376873) Backed out changeset d1f7d44e05a4 (bug 1376873) Backed out changeset b59e1fca5c13 (bug 1376873) Backed out changeset 5d7a8864505d (bug 1376873) Backed out changeset e1ea09e84feb (bug 1376873) Backed out changeset bc92eac0522f (bug 1376873) Backed out changeset 1f86d23e4806 (bug 1376873) Backed out changeset d78c5c50b6b8 (bug 1376873) Backed out changeset 2e1af73cdd2e (bug 1376873) Backed out changeset dda3c784b0c0 (bug 1376873) Backed out changeset f40ca921b74b (bug 1376873)

[workspace]

# These are the "root" crates, which we build and test as top-level targets.
# Their transitive dependencies and dev-dependencies are included automatically
# and do not need to be listed here. Their external dependencies are vendored
# into `third_party/rust` by `mach vendor rust`.
members = [
  "js/src",
  "js/src/rust",
  "js/src/wasm/cranelift",
  "js/rust",
  "js/src/frontend/binsource", # Code generator.
  "testing/geckodriver",
  "toolkit/crashreporter/rust",
  "toolkit/library/gtest/rust",
  "toolkit/library/rust/",
]

# Excluded crates may be built as dependencies, but won't be considered members
# of the workspace and their dev-dependencies won't be included.
exclude = [
  # Exclude third-party code vendored into mozilla-central.
  "gfx/webrender",
  "gfx/webrender_api",
  "gfx/webrender_bindings",
  "servo",
  "third_party/rust",

  # Excluded because this is a standalone tool for developers and not intended
  # to be built as part of mozilla-central and is not shipped to users.
  "gfx/wrench",

  # Excluded because these crates have their own Cargo workspaces so they can't
  # be included in the top-level one.
  "media/audioipc",
  "media/cubeb-rs",

  # Excluded because they are used only as dependencies, not top-level targets,
  # so we don't need to vendor their dev-dependencies.
  "dom/webauthn/u2f-hid-rs",
  "media/mp4parse-rust/mp4parse",
  "media/mp4parse-rust/mp4parse_capi",
  "media/mp4parse-rust/mp4parse_fallible",
]

# Explicitly specify what our profiles use.  The opt-level setting here is
# a total fiction; see the setup of MOZ_RUST_DEFAULT_FLAGS for what the
# opt-level setting will be as a result of various other configure flags.
[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/servo/serde", branch = "deserialize_from_enums8" }
winapi = { git = "https://github.com/froydnj/winapi-rs", branch = "aarch64" }