3 # These are the "root" crates, which we build and test as top-level targets.
4 # Their transitive dependencies and dev-dependencies are included automatically
5 # and do not need to be listed here. Their external dependencies are vendored
6 # into `third_party/rust` by `mach vendor rust`.
10 "js/src/frontend/binsource", # Code generator.
11 "testing/geckodriver",
12 "toolkit/library/gtest/rust",
13 "toolkit/library/rust/",
16 # Excluded crates may be built as dependencies, but won't be considered members
17 # of the workspace and their dev-dependencies won't be included.
19 # Exclude third-party code vendored into mozilla-central.
22 "gfx/webrender_bindings",
26 # Excluded because this is a standalone tool for developers and not intended
27 # to be built as part of mozilla-central and is not shipped to users.
30 # Excluded because these crates have their own Cargo workspaces so they can't
31 # be included in the top-level one.
35 # Excluded because they are used only as dependencies, not top-level targets,
36 # so we don't need to vendor their dev-dependencies.
37 "dom/webauthn/u2f-hid-rs",
38 "media/mp4parse-rust/mp4parse",
39 "media/mp4parse-rust/mp4parse_capi",
40 "media/mp4parse-rust/mp4parse_fallible",
43 # Explicitly specify what our profiles use. The opt-level setting here is
44 # a total fiction; see the setup of MOZ_RUST_DEFAULT_FLAGS for what the
45 # opt-level setting will be as a result of various other configure flags.
50 debug-assertions = true
56 debug-assertions = false
61 libudev-sys = { path = "dom/webauthn/libudev-sys" }
62 serde_derive = { git = "https://github.com/servo/serde", branch = "deserialize_from_enums8" }