Bug 1485328 [wpt PR 12617] - HTML: test that floating legends do not disappear, a...
[gecko.git] / Cargo.toml
blob536d156ebce91c884f98910099058cae779ac596
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   "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.
19 exclude = [
20   # Exclude third-party code vendored into mozilla-central.
21   "gfx/webrender",
22   "gfx/webrender_api",
23   "gfx/webrender_bindings",
24   "servo",
25   "third_party/rust",
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.
29   "gfx/wrench",
31   # Excluded because these crates have their own Cargo workspaces so they can't
32   # be included in the top-level one.
33   "media/audioipc",
34   "media/cubeb-rs",
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.
47 [profile.dev]
48 opt-level = 1
49 rpath = false
50 lto = false
51 debug-assertions = true
52 panic = "abort"
54 [profile.release]
55 opt-level = 2
56 rpath = false
57 debug-assertions = false
58 panic = "abort"
59 codegen-units = 1
61 [patch.crates-io]
62 libudev-sys = { path = "dom/webauthn/libudev-sys" }
63 serde_derive = { git = "https://github.com/servo/serde", branch = "deserialize_from_enums8" }