Bug 1496737 [wpt PR 13373] - Add missing reject argument that is referenced., a=testonly
[gecko.git] / Cargo.toml
blob03faee93f40e0708096232732820bd94b99ff7d6
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/binsource", # 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   "gfx/webrender",
24   "gfx/webrender_api",
25   "gfx/webrender_bindings",
26   "servo",
27   "third_party/rust",
29   # Excluded because this is a standalone tool for developers and not intended
30   # to be built as part of mozilla-central and is not shipped to users.
31   "gfx/wrench",
33   # Excluded because these crates have their own Cargo workspaces so they can't
34   # be included in the top-level one.
35   "media/audioipc",
36   "media/cubeb-rs",
38   # Excluded because they are used only as dependencies, not top-level targets,
39   # so we don't need to vendor their dev-dependencies.
40   "dom/webauthn/u2f-hid-rs",
41   "media/mp4parse-rust/mp4parse",
42   "media/mp4parse-rust/mp4parse_capi",
43   "media/mp4parse-rust/mp4parse_fallible",
46 # Explicitly specify what our profiles use.  The opt-level setting here is
47 # a total fiction; see the setup of MOZ_RUST_DEFAULT_FLAGS for what the
48 # opt-level setting will be as a result of various other configure flags.
49 [profile.dev]
50 opt-level = 1
51 rpath = false
52 lto = false
53 debug-assertions = true
54 panic = "abort"
56 [profile.release]
57 opt-level = 2
58 rpath = false
59 debug-assertions = false
60 panic = "abort"
61 codegen-units = 1
63 [patch.crates-io]
64 libudev-sys = { path = "dom/webauthn/libudev-sys" }
65 serde_derive = { git = "https://github.com/servo/serde", branch = "deserialize_from_enums8" }