2019-09-20 00:47:22 +00:00
|
|
|
# This file contains vendoring instructions for cargo.
|
|
|
|
# It was generated by `mach vendor rust`.
|
|
|
|
# Please do not edit.
|
2018-01-03 19:51:52 +00:00
|
|
|
|
2022-12-20 23:01:25 +00:00
|
|
|
[source.crates-io]
|
2022-01-26 15:36:13 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-02-20 15:03:02 +00:00
|
|
|
[source."git+https://github.com/FirefoxGraphics/aa-stroke?rev=d94278ed9c7020f50232689a26d1277eb0eb74d2"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/FirefoxGraphics/aa-stroke"
|
2024-02-20 15:03:02 +00:00
|
|
|
rev = "d94278ed9c7020f50232689a26d1277eb0eb74d2"
|
2021-01-14 11:01:59 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-10-23 18:37:01 +00:00
|
|
|
[source."git+https://github.com/FirefoxGraphics/wpf-gpu-raster?rev=99979da091fd58fba8477e7fcdf5ec0727102916"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/FirefoxGraphics/wpf-gpu-raster"
|
2023-10-23 18:37:01 +00:00
|
|
|
rev = "99979da091fd58fba8477e7fcdf5ec0727102916"
|
2022-08-03 18:59:36 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-22 22:38:14 +00:00
|
|
|
[source."git+https://github.com/chris-zen/coremidi.git?rev=fc68464b5445caf111e41f643a2e69ccce0b4f83"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/chris-zen/coremidi.git"
|
|
|
|
rev = "fc68464b5445caf111e41f643a2e69ccce0b4f83"
|
2019-11-01 14:55:56 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-06-06 13:23:08 +00:00
|
|
|
[source."git+https://github.com/franziskuskiefer/cose-rust?rev=43c22248d136c8b38fe42ea709d08da6355cf04b"]
|
|
|
|
git = "https://github.com/franziskuskiefer/cose-rust"
|
|
|
|
rev = "43c22248d136c8b38fe42ea709d08da6355cf04b"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-06-18 19:41:12 +00:00
|
|
|
[source."git+https://github.com/gfx-rs/wgpu?rev=a2fcd72606f83cbb58c1aca2e7e1ad52a11d2067"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/gfx-rs/wgpu"
|
2024-06-18 19:41:12 +00:00
|
|
|
rev = "a2fcd72606f83cbb58c1aca2e7e1ad52a11d2067"
|
2021-12-21 11:34:51 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-01-23 22:54:10 +00:00
|
|
|
[source."git+https://github.com/glandium/mio?rev=9a2ef335c366044ffe73b1c4acabe50a1daefe05"]
|
|
|
|
git = "https://github.com/glandium/mio"
|
|
|
|
rev = "9a2ef335c366044ffe73b1c4acabe50a1daefe05"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-04-30 07:29:44 +00:00
|
|
|
[source."git+https://github.com/hsivonen/any_all_workaround?rev=7fb1b7034c9f172aade21ee1c8554e8d8a48af80"]
|
|
|
|
git = "https://github.com/hsivonen/any_all_workaround"
|
|
|
|
rev = "7fb1b7034c9f172aade21ee1c8554e8d8a48af80"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-22 22:38:14 +00:00
|
|
|
[source."git+https://github.com/hsivonen/chardetng?rev=3484d3e3ebdc8931493aa5df4d7ee9360a90e76b"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/hsivonen/chardetng"
|
|
|
|
rev = "3484d3e3ebdc8931493aa5df4d7ee9360a90e76b"
|
2021-02-17 20:06:44 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-22 22:38:14 +00:00
|
|
|
[source."git+https://github.com/hsivonen/chardetng_c?rev=ed8a4c6f900a90d4dbc1d64b856e61490a1c3570"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/hsivonen/chardetng_c"
|
|
|
|
rev = "ed8a4c6f900a90d4dbc1d64b856e61490a1c3570"
|
2021-02-17 20:06:44 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-22 22:38:14 +00:00
|
|
|
[source."git+https://github.com/jfkthame/mapped_hyph.git?rev=c7651a0cffff41996ad13c44f689bd9cd2192c01"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/jfkthame/mapped_hyph.git"
|
2022-12-21 08:53:26 +00:00
|
|
|
rev = "c7651a0cffff41996ad13c44f689bd9cd2192c01"
|
2020-04-01 17:04:29 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-01-11 13:31:05 +00:00
|
|
|
[source."git+https://github.com/mozilla-spidermonkey/jsparagus?rev=61f399c53a641ebd3077c1f39f054f6d396a633c"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/mozilla-spidermonkey/jsparagus"
|
2024-01-11 13:31:05 +00:00
|
|
|
rev = "61f399c53a641ebd3077c1f39f054f6d396a633c"
|
2021-12-16 06:24:23 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-06-20 23:01:41 +00:00
|
|
|
[source."git+https://github.com/mozilla/application-services?rev=46acbeb2cee2fb7f024b6ff5943bdfdb6cc53151"]
|
2023-03-07 07:42:14 +00:00
|
|
|
git = "https://github.com/mozilla/application-services"
|
2024-06-20 23:01:41 +00:00
|
|
|
rev = "46acbeb2cee2fb7f024b6ff5943bdfdb6cc53151"
|
2023-03-07 07:42:14 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-05-22 20:43:23 +00:00
|
|
|
[source."git+https://github.com/mozilla/audioipc?rev=3495905752a4263827f5d43737f9ca3ed0243ce0"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/mozilla/audioipc"
|
2024-05-22 20:43:23 +00:00
|
|
|
rev = "3495905752a4263827f5d43737f9ca3ed0243ce0"
|
2019-09-20 00:47:22 +00:00
|
|
|
replace-with = "vendored-sources"
|
2016-09-08 22:12:34 +00:00
|
|
|
|
2024-06-26 19:02:06 +00:00
|
|
|
[source."git+https://github.com/mozilla/cubeb-coreaudio-rs?rev=8bce3b333a920999055397a397e59c2b81a93b9a"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/mozilla/cubeb-coreaudio-rs"
|
2024-06-26 19:02:06 +00:00
|
|
|
rev = "8bce3b333a920999055397a397e59c2b81a93b9a"
|
2021-01-24 00:11:07 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-05-22 20:43:23 +00:00
|
|
|
[source."git+https://github.com/mozilla/cubeb-pulse-rs?rev=8678dcab1c287de79c4c184ccc2e065bc62b70e2"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/mozilla/cubeb-pulse-rs"
|
2024-05-22 20:43:23 +00:00
|
|
|
rev = "8678dcab1c287de79c4c184ccc2e065bc62b70e2"
|
2020-11-29 08:07:45 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-01-16 21:16:00 +00:00
|
|
|
[source."git+https://github.com/mozilla/midir.git?rev=85156e360a37d851734118104619f86bd18e94c6"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/mozilla/midir.git"
|
2024-01-16 21:16:00 +00:00
|
|
|
rev = "85156e360a37d851734118104619f86bd18e94c6"
|
2021-09-03 16:52:08 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-02-01 09:57:37 +00:00
|
|
|
[source."git+https://github.com/mozilla/mp4parse-rust?rev=a138e40ec1c603615873e524b5b22e11c0ec4820"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/mozilla/mp4parse-rust"
|
2024-02-01 09:57:37 +00:00
|
|
|
rev = "a138e40ec1c603615873e524b5b22e11c0ec4820"
|
2021-09-03 16:52:08 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-06-04 11:17:32 +00:00
|
|
|
[source."git+https://github.com/mozilla/neqo?tag=v0.7.9"]
|
2022-12-20 23:01:25 +00:00
|
|
|
git = "https://github.com/mozilla/neqo"
|
2024-06-04 11:17:32 +00:00
|
|
|
tag = "v0.7.9"
|
2021-12-21 11:34:51 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-12-06 20:53:22 +00:00
|
|
|
[source."git+https://github.com/seanmonstar/warp?rev=9d081461ae1167eb321585ce424f4fef6cf0092b"]
|
|
|
|
git = "https://github.com/seanmonstar/warp"
|
|
|
|
rev = "9d081461ae1167eb321585ce424f4fef6cf0092b"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-03-08 17:22:09 +00:00
|
|
|
[source."git+https://github.com/servo/unicode-bidi?rev=ca612daf1c08c53abe07327cb3e6ef6e0a760f0c"]
|
2024-02-22 19:47:54 +00:00
|
|
|
git = "https://github.com/servo/unicode-bidi"
|
2024-03-08 17:22:09 +00:00
|
|
|
rev = "ca612daf1c08c53abe07327cb3e6ef6e0a760f0c"
|
2024-02-22 19:47:54 +00:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2024-05-02 18:17:36 +00:00
|
|
|
[source."git+https://github.com/zakarumych/gpu-descriptor?rev=7b71a4e47c81903ad75e2c53deb5ab1310f6ff4d"]
|
|
|
|
git = "https://github.com/zakarumych/gpu-descriptor"
|
|
|
|
rev = "7b71a4e47c81903ad75e2c53deb5ab1310f6ff4d"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2022-12-20 23:01:25 +00:00
|
|
|
|
2019-09-20 00:47:22 +00:00
|
|
|
# Take advantage of the fact that cargo will treat lines starting with #
|
|
|
|
# as comments to add preprocessing directives. This file can thus by copied
|
2024-04-01 21:26:49 +00:00
|
|
|
# as-is to $topsrcdir/.cargo/config.toml with no preprocessing to be used there
|
2019-09-20 00:47:22 +00:00
|
|
|
# (for e.g. independent tasks building rust code), or be preprocessed by
|
2024-04-01 21:26:49 +00:00
|
|
|
# the build system to produce a .cargo/config.toml with the right content.
|
2019-09-20 00:47:22 +00:00
|
|
|
#define REPLACE_NAME vendored-sources
|
|
|
|
#define VENDORED_DIRECTORY third_party/rust
|
|
|
|
# We explicitly exclude the following section when preprocessing because
|
|
|
|
# it would overlap with the preprocessed [source."@REPLACE_NAME@"], and
|
|
|
|
# cargo would fail.
|
|
|
|
#ifndef REPLACE_NAME
|
|
|
|
[source.vendored-sources]
|
|
|
|
directory = "third_party/rust"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
# Thankfully, @REPLACE_NAME@ is unlikely to be a legitimate source, so
|
|
|
|
# cargo will ignore it when it's here verbatim.
|
|
|
|
#filter substitution
|
|
|
|
[source."@REPLACE_NAME@"]
|
Bug 1575760 - Make `mach vendor rust` create a .cargo/config and check it in the tree. r=nalexander
Maybe back when .cargo/config.in was added, the directory indicated for
vendored crates needed to be absolute. That is at least not the case
with the current supported versions of rust.
The current setup has a few caveats:
- .cargo/config.in has shown to become stale (it currently contains
multiple unused entries)
- non-gecko build tasks have to generate a .cargo/config on their own if
they want to use vendored crates
- in turn, non-gecko build tasks that don't, may unknowingly get their
dependencies from crates.io (see the recent attempt at moving
geckodriver builds to a separate task).
By checking in a .cargo/config file, we can alleviate the last two, but
that comes at the price of `cargo update` not wanting to act when
.cargo/config exists, because of the source replacement configuration.
But rust vendor gently generates a suitable configuration on its own, so
we can use that to generate a .cargo/config automatically. Which
addresses the first caveat of the current setup. That leaves us with
`cargo update` not working out of the box, but that just requires people
running it to manually remove .cargo/config first. Which is arguably
what rust wants you to do in the first place. It's kind of incidental
that we started with a .cargo/config.in rather than .cargo/config.
Now, while a simple .cargo/config works, that's not enough for the case
where the objdir doesn't live inside the source directory. In that case
cargo looks for the configuration from the objdir, and fails to find it.
So we still need a .cargo/config.in, which we generate with a little
trick.
Differential Revision: https://phabricator.services.mozilla.com/D43012
--HG--
rename : .cargo/config.in => .cargo/config
extra : moz-landing-system : lando
2019-08-26 22:20:32 +00:00
|
|
|
directory = "@top_srcdir@/@VENDORED_DIRECTORY@"
|