author Kartikaya Gupta <>
Thu, 12 Apr 2018 11:05:18 -0400
changeset 1482899 dd843b50cd362c62e56036daec5075859794fa98
parent 1477027 a97cccaa866a0fbd5721842ad8d8e862cd26ea65
child 1511050 9e47bf61e6951f2419a73b7d2ea6e1086d8707db
child 1522118 ac19cf785fff2a50d3f5cee169a189113a030235
permissions -rw-r--r--
Bug 1452603 - Update Cargo stuff for the serde bump. r=jrmuizel MozReview-Commit-ID: HDxOYbIXcIN


# 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/frontend/binsource", # Code generator.

# 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.

  # 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.

  # Excluded because these crates have their own Cargo workspaces so they can't
  # be included in the top-level one.

  # Excluded because they are used only as dependencies, not top-level targets,
  # so we don't need to vendor their dev-dependencies.

# 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.
opt-level = 1
rpath = false
lto = false
debug-assertions = true
panic = "abort"

opt-level = 2
rpath = false
debug-assertions = false
panic = "abort"
codegen-units = 1

libudev-sys = { path = "dom/webauthn/libudev-sys" }
serde_derive = { git = "", branch = "deserialize_from_enums6" }