Bug 1635637 - Add contextId to MessageSender, prevent onConnect in same Context r...
[gecko.git] / Cargo.toml
blobc5b74b91344526c4f4cc69fa21a6bbe1801634b9
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/rust",
9   "js/src",
10   "js/src/frontend/smoosh",
11   "js/src/frontend/binast", # Code generator.
12   "js/src/rust",
13   "js/src/wasm/cranelift",
14   "netwerk/test/http3server",
15   "security/manager/ssl/osclientcerts",
16   "testing/geckodriver",
17   "toolkit/components/updateagent",
18   "toolkit/crashreporter/rust",
19   "toolkit/library/gtest/rust",
20   "toolkit/library/rust/",
23 # Excluded crates may be built as dependencies, but won't be considered members
24 # of the workspace and their dev-dependencies won't be included.
25 exclude = [
26   # Excluded because it's for a toolchain task
27   "build/liblowercase",
29   # Exclude third-party code vendored into mozilla-central.
30   "servo",
31   "third_party/rust",
33   # Excluded because these crates have their own Cargo workspaces so they can't
34   # be included in the top-level one.
35   "gfx/wgpu",
36   "gfx/wr",
37   "media/audioipc",
38   "media/cubeb-rs",
40   # Excluded because they are used only as dependencies, not top-level targets,
41   # so we don't need to vendor their dev-dependencies.
42   "dom/webauthn/u2f-hid-rs",
43   "gfx/webrender_bindings",
44   "media/mp4parse-rust/mp4parse",
45   "media/mp4parse-rust/mp4parse_capi",
46   "xpcom/rust/gkrust_utils",
47   "tools/lint/test/files/clippy",
48   "tools/fuzzing/rust",
51 # Explicitly specify what our profiles use.  The opt-level setting here is
52 # a total fiction; see the setup of MOZ_RUST_DEFAULT_FLAGS for what the
53 # opt-level setting will be as a result of various other configure flags.
54 [profile.dev]
55 opt-level = 1
56 rpath = false
57 lto = false
58 debug-assertions = true
59 panic = "abort"
61 [profile.release]
62 opt-level = 2
63 rpath = false
64 debug-assertions = false
65 panic = "abort"
67 [patch.crates-io]
68 libudev-sys = { path = "dom/webauthn/libudev-sys" }
69 packed_simd = { git = "https://github.com/hsivonen/packed_simd", rev="3541e3818fdc7c2a24f87e3459151a4ce955a67a" }
70 rlbox_lucet_sandbox = { git = "https://github.com/PLSysSec/rlbox_lucet_sandbox/", rev="d510da5999a744c563b0acd18056069d1698273f" }
71 nix = { git = "https://github.com/shravanrn/nix/", branch = "r0.13.1", rev="4af6c367603869a30fddb5ffb0aba2b9477ba92e" }
72 spirv_cross = { git = "https://github.com/kvark/spirv_cross", branch = "wgpu2", rev = "f252537beb139a818b4a8c854e501690c9ade20e" }
73 # failure's backtrace feature might break our builds, see bug 1608157.
74 failure = { git = "https://github.com/badboy/failure", rev = "64af847bc5fdcb6d2438bec8a6030812a80519a5" }
75 failure_derive = { git = "https://github.com/badboy/failure", rev = "64af847bc5fdcb6d2438bec8a6030812a80519a5" }
77 [patch.crates-io.cranelift-codegen]
78 git = "https://github.com/bytecodealliance/wasmtime"
79 rev = "b7cfd39b531680217537cfcf5294a22077a0a58d"
81 [patch.crates-io.cranelift-wasm]
82 git = "https://github.com/bytecodealliance/wasmtime"
83 rev = "b7cfd39b531680217537cfcf5294a22077a0a58d"