Bug 1462329 [wpt PR 10991] - Server-Timing: test TAO:* for cross-origin resource...
[gecko.git] / Cargo.toml
blob6c0d8e591405fdaa85dfea99fc7dd75a3f3e374a
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/library/gtest/rust",
13   "toolkit/library/rust/",
16 # Excluded crates may be built as dependencies, but won't be considered members
17 # of the workspace and their dev-dependencies won't be included.
18 exclude = [
19   # Exclude third-party code vendored into mozilla-central.
20   "gfx/webrender",
21   "gfx/webrender_api",
22   "gfx/webrender_bindings",
23   "servo",
24   "third_party/rust",
26   # Excluded because this is a standalone tool for developers and not intended
27   # to be built as part of mozilla-central and is not shipped to users.
28   "gfx/wrench",
30   # Excluded because these crates have their own Cargo workspaces so they can't
31   # be included in the top-level one.
32   "media/audioipc",
33   "media/cubeb-rs",
35   # Excluded because they are used only as dependencies, not top-level targets,
36   # so we don't need to vendor their dev-dependencies.
37   "dom/webauthn/u2f-hid-rs",
38   "media/mp4parse-rust/mp4parse",
39   "media/mp4parse-rust/mp4parse_capi",
40   "media/mp4parse-rust/mp4parse_fallible",
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 serde_derive = { git = "https://github.com/servo/serde", branch = "deserialize_from_enums6" }