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/wasm/cranelift",
12 "js/src/frontend/binast", # Code generator.
13 "testing/geckodriver",
14 "toolkit/crashreporter/rust",
15 "toolkit/library/gtest/rust",
16 "toolkit/library/rust/",
19 # Excluded crates may be built as dependencies, but won't be considered members
20 # of the workspace and their dev-dependencies won't be included.
22 # Exclude third-party code vendored into mozilla-central.
26 # Excluded because these crates have their own Cargo workspaces so they can't
27 # be included in the top-level one.
32 # Excluded because they are used only as dependencies, not top-level targets,
33 # so we don't need to vendor their dev-dependencies.
34 "dom/webauthn/u2f-hid-rs",
35 "gfx/webrender_bindings",
36 "media/mp4parse-rust/mp4parse",
37 "media/mp4parse-rust/mp4parse_capi",
38 "media/mp4parse-rust/mp4parse_fallible",
39 "xpcom/rust/gkrust_utils",
42 # Explicitly specify what our profiles use. The opt-level setting here is
43 # a total fiction; see the setup of MOZ_RUST_DEFAULT_FLAGS for what the
44 # opt-level setting will be as a result of various other configure flags.
49 debug-assertions = true
55 debug-assertions = false
60 libudev-sys = { path = "dom/webauthn/libudev-sys" }
61 winapi = { git = "https://github.com/froydnj/winapi-rs", branch = "aarch64" }
62 packed_simd = { git = "https://github.com/hsivonen/packed_simd", branch = "rust_1_32" }
64 [patch.crates-io.cranelift-codegen]
65 git = "https://github.com/CraneStation/Cranelift"
66 rev = "bdfd2adc6e2052319d04d9400122c5b49939f404"
68 [patch.crates-io.cranelift-wasm]
69 git = "https://github.com/CraneStation/Cranelift"
70 rev = "bdfd2adc6e2052319d04d9400122c5b49939f404"
72 [patch.crates-io.coreaudio-sys]
73 path = "third_party/rust/coreaudio-sys"