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/crashreporter/rust",
13 "toolkit/library/gtest/rust",
14 "toolkit/library/rust/",
17 # Excluded crates may be built as dependencies, but won't be considered members
18 # of the workspace and their dev-dependencies won't be included.
20 # Exclude third-party code vendored into mozilla-central.
23 "gfx/webrender_bindings",
27 # Excluded because this is a standalone tool for developers and not intended
28 # to be built as part of mozilla-central and is not shipped to users.
31 # Excluded because these crates have their own Cargo workspaces so they can't
32 # be included in the top-level one.
36 # Excluded because they are used only as dependencies, not top-level targets,
37 # so we don't need to vendor their dev-dependencies.
38 "dom/webauthn/u2f-hid-rs",
39 "media/mp4parse-rust/mp4parse",
40 "media/mp4parse-rust/mp4parse_capi",
41 "media/mp4parse-rust/mp4parse_fallible",
44 # Explicitly specify what our profiles use. The opt-level setting here is
45 # a total fiction; see the setup of MOZ_RUST_DEFAULT_FLAGS for what the
46 # opt-level setting will be as a result of various other configure flags.
51 debug-assertions = true
57 debug-assertions = false
62 libudev-sys = { path = "dom/webauthn/libudev-sys" }
63 serde_derive = { git = "https://github.com/servo/serde", branch = "deserialize_from_enums8" }