Bug 1586801 - Use the contextual WalkerFront in _duplicateNode(). r=pbro
[gecko.git] / Cargo.toml
blob9f8db22bfce984de9238fbcdf3df626519e0568b
1 [workspace]
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`.
7 members = [
8   "js/src",
9   "js/src/rust",
10   "js/src/wasm/cranelift",
11   "js/rust",
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.
21 exclude = [
22   # Exclude third-party code vendored into mozilla-central.
23   "servo",
24   "third_party/rust",
26   # Excluded because these crates have their own Cargo workspaces so they can't
27   # be included in the top-level one.
28   "gfx/wr",
29   "media/audioipc",
30   "media/cubeb-rs",
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",
40   "tools/fuzzing/rust",
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.
46 [profile.dev]
47 opt-level = 1
48 rpath = false
49 lto = false
50 debug-assertions = true
51 panic = "abort"
53 [profile.release]
54 opt-level = 2
55 rpath = false
56 debug-assertions = false
57 panic = "abort"
58 codegen-units = 1
60 [patch.crates-io]
61 libudev-sys = { path = "dom/webauthn/libudev-sys" }
62 winapi = { git = "https://github.com/froydnj/winapi-rs", branch = "aarch64" }
63 packed_simd = { git = "https://github.com/hsivonen/packed_simd", branch = "rust_1_32" }
65 [patch.crates-io.cranelift-codegen]
66 git = "https://github.com/CraneStation/Cranelift"
67 rev = "182414f15c18538dfebbe040469ec8001e93ecc5"
69 [patch.crates-io.cranelift-wasm]
70 git = "https://github.com/CraneStation/Cranelift"
71 rev = "182414f15c18538dfebbe040469ec8001e93ecc5"
73 [patch.crates-io.coreaudio-sys]
74 path = "third_party/rust/coreaudio-sys"