Bug 1587989 [wpt PR 19634] - Enable Scroll To Text by default, a=testonly
[gecko.git] / Cargo.toml
blobb43fdf4aec90330e1466717cb820cf67c8ab79c8
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   "security/manager/ssl/osclientcerts",
14   "testing/geckodriver",
15   "toolkit/crashreporter/rust",
16   "toolkit/library/gtest/rust",
17   "toolkit/library/rust/",
20 # Excluded crates may be built as dependencies, but won't be considered members
21 # of the workspace and their dev-dependencies won't be included.
22 exclude = [
23   # Exclude third-party code vendored into mozilla-central.
24   "servo",
25   "third_party/rust",
27   # Excluded because these crates have their own Cargo workspaces so they can't
28   # be included in the top-level one.
29   "gfx/wgpu",
30   "gfx/wr",
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   "gfx/webrender_bindings",
38   "media/mp4parse-rust/mp4parse",
39   "media/mp4parse-rust/mp4parse_capi",
40   "media/mp4parse-rust/mp4parse_fallible",
41   "xpcom/rust/gkrust_utils",
42   "tools/fuzzing/rust",
45 # Explicitly specify what our profiles use.  The opt-level setting here is
46 # a total fiction; see the setup of MOZ_RUST_DEFAULT_FLAGS for what the
47 # opt-level setting will be as a result of various other configure flags.
48 [profile.dev]
49 opt-level = 1
50 rpath = false
51 lto = false
52 debug-assertions = true
53 panic = "abort"
55 [profile.release]
56 opt-level = 2
57 rpath = false
58 debug-assertions = false
59 panic = "abort"
60 codegen-units = 1
62 [patch.crates-io]
63 libudev-sys = { path = "dom/webauthn/libudev-sys" }
64 packed_simd = { git = "https://github.com/hsivonen/packed_simd", branch = "rust_1_32" }
65 rlbox_lucet_sandbox = { git = "https://github.com/PLSysSec/rlbox_lucet_sandbox/", rev="5f8bca975d8206e4837786d6bdb57a5c2fbd4016" }
66 nix = { git = "https://github.com/shravanrn/nix/", branch = "r0.13.1", rev="4af6c367603869a30fddb5ffb0aba2b9477ba92e" }
67 spirv_cross = { git = "https://github.com/kvark/spirv_cross", branch = "wgpu" }
68 # failure's backtrace feature might break our builds, see bug 1608157.
69 failure = { git = "https://github.com/badboy/failure", rev = "64af847bc5fdcb6d2438bec8a6030812a80519a5" }
70 failure_derive = { git = "https://github.com/badboy/failure", rev = "64af847bc5fdcb6d2438bec8a6030812a80519a5" }
72 [patch.crates-io.cranelift-codegen]
73 git = "https://github.com/bytecodealliance/cranelift"
74 rev = "b01bee7c5269f72196b42e8bdd874425166bf429"
76 [patch.crates-io.cranelift-wasm]
77 git = "https://github.com/bytecodealliance/cranelift"
78 rev = "b01bee7c5269f72196b42e8bdd874425166bf429"