Bug 1444940 [wpt PR 9917] - Writable streams: test changes to abort() under error...
[gecko.git] / Cargo.toml
blobfaafa36470490b9bda59891fe3eb054fefa2c620
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/rust",
10   "testing/geckodriver",
11   "toolkit/library/gtest/rust",
12   "toolkit/library/rust/",
15 # Excluded crates may be built as dependencies, but won't be considered members
16 # of the workspace and their dev-dependencies won't be included.
17 exclude = [
18   # Exclude third-party code vendored into mozilla-central.
19   "gfx/webrender",
20   "gfx/webrender_api",
21   "gfx/webrender_bindings",
22   "servo",
23   "third_party/rust",
25   # Excluded because this is a standalone tool for developers and not intended
26   # to be built as part of mozilla-central and is not shipped to users.
27   "gfx/wrench",
29   # Excluded because these crates have their own Cargo workspaces so they can't
30   # be included in the top-level one.
31   "media/audioipc",
32   "media/cubeb-rs",
34   # Excluded because they are used only as dependencies, not top-level targets,
35   # so we don't need to vendor their dev-dependencies.
36   "dom/webauthn/u2f-hid-rs",
37   "media/mp4parse-rust/mp4parse",
38   "media/mp4parse-rust/mp4parse_capi",
39   "media/mp4parse-rust/mp4parse_fallible",
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.
45 [profile.dev]
46 opt-level = 1
47 rpath = false
48 lto = false
49 debug-assertions = true
50 panic = "abort"
52 [profile.release]
53 opt-level = 2
54 rpath = false
55 debug-assertions = false
56 panic = "abort"
57 codegen-units = 1
59 [patch.crates-io]
60 libudev-sys = { path = "dom/webauthn/libudev-sys" }
61 serde_derive = { git = "https://github.com/servo/serde", branch = "deserialize_from_enums5" }