2019-09-20 03:47:22 +03:00
|
|
|
# This file contains vendoring instructions for cargo.
|
|
|
|
# It was generated by `mach vendor rust`.
|
|
|
|
# Please do not edit.
|
2018-01-03 22:51:52 +03:00
|
|
|
|
2022-12-21 02:01:25 +03:00
|
|
|
[source.crates-io]
|
2022-01-26 18:36:13 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/FirefoxGraphics/aa-stroke?rev=07d3c25322518f294300e96246e09b95e118555d"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/FirefoxGraphics/aa-stroke"
|
|
|
|
rev = "07d3c25322518f294300e96246e09b95e118555d"
|
2021-01-14 14:01:59 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/FirefoxGraphics/wpf-gpu-raster?rev=a6514854d4518b02f2805719ff6cd74dae7dfde6"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/FirefoxGraphics/wpf-gpu-raster"
|
2023-01-27 04:45:17 +03:00
|
|
|
rev = "a6514854d4518b02f2805719ff6cd74dae7dfde6"
|
2022-08-03 21:59:36 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/chris-zen/coremidi.git?rev=fc68464b5445caf111e41f643a2e69ccce0b4f83"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/chris-zen/coremidi.git"
|
|
|
|
rev = "fc68464b5445caf111e41f643a2e69ccce0b4f83"
|
2019-11-01 17:55:56 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/gfx-rs/d3d12-rs?rev=b940b1d71"]
|
2023-01-24 12:24:03 +03:00
|
|
|
git = "https://github.com/gfx-rs/d3d12-rs"
|
2023-01-31 21:29:10 +03:00
|
|
|
rev = "b940b1d71"
|
2023-01-24 12:24:03 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-04-21 18:39:25 +03:00
|
|
|
[source."git+https://github.com/gfx-rs/naga?rev=b99d58ea435090e561377949f428bce2c18451bb"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/gfx-rs/naga"
|
2023-04-21 18:39:25 +03:00
|
|
|
rev = "b99d58ea435090e561377949f428bce2c18451bb"
|
2020-05-09 03:36:48 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-05-25 21:01:03 +03:00
|
|
|
[source."git+https://github.com/gfx-rs/wgpu?rev=f71a1bc736fde37509262ca03e91d8f56a13aeb5"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/gfx-rs/wgpu"
|
2023-05-25 21:01:03 +03:00
|
|
|
rev = "f71a1bc736fde37509262ca03e91d8f56a13aeb5"
|
2021-12-21 14:34:51 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/glandium/warp?rev=4af45fae95bc98b0eba1ef0db17e1dac471bb23d"]
|
2023-01-10 03:50:06 +03:00
|
|
|
git = "https://github.com/glandium/warp"
|
|
|
|
rev = "4af45fae95bc98b0eba1ef0db17e1dac471bb23d"
|
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/hsivonen/chardetng?rev=3484d3e3ebdc8931493aa5df4d7ee9360a90e76b"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/hsivonen/chardetng"
|
|
|
|
rev = "3484d3e3ebdc8931493aa5df4d7ee9360a90e76b"
|
2021-02-17 23:06:44 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/hsivonen/chardetng_c?rev=ed8a4c6f900a90d4dbc1d64b856e61490a1c3570"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/hsivonen/chardetng_c"
|
|
|
|
rev = "ed8a4c6f900a90d4dbc1d64b856e61490a1c3570"
|
2021-02-17 23:06:44 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/hsivonen/packed_simd?rev=412f9a0aa556611de021bde89dee8fefe6e0fbbd"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/hsivonen/packed_simd"
|
|
|
|
rev = "412f9a0aa556611de021bde89dee8fefe6e0fbbd"
|
2021-02-17 23:23:46 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/jfkthame/mapped_hyph.git?rev=c7651a0cffff41996ad13c44f689bd9cd2192c01"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/jfkthame/mapped_hyph.git"
|
2022-12-21 11:53:26 +03:00
|
|
|
rev = "c7651a0cffff41996ad13c44f689bd9cd2192c01"
|
2020-04-01 20:04:29 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/mozilla-spidermonkey/jsparagus?rev=64ba08e24749616de2344112f226d1ef4ba893ae"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/mozilla-spidermonkey/jsparagus"
|
2023-03-22 00:21:43 +03:00
|
|
|
rev = "64ba08e24749616de2344112f226d1ef4ba893ae"
|
2021-12-16 09:24:23 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 06:28:07 +03:00
|
|
|
[source."git+https://github.com/mozilla/application-services?rev=86c84c217036c12283d19368867323a66bf35883"]
|
2023-03-07 10:42:14 +03:00
|
|
|
git = "https://github.com/mozilla/application-services"
|
2023-03-23 06:28:07 +03:00
|
|
|
rev = "86c84c217036c12283d19368867323a66bf35883"
|
2023-03-07 10:42:14 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-04-04 23:27:04 +03:00
|
|
|
[source."git+https://github.com/mozilla/audioipc?rev=0b51291d2483a17dce3e300c7784b369e02bee73"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/mozilla/audioipc"
|
2023-04-04 23:27:04 +03:00
|
|
|
rev = "0b51291d2483a17dce3e300c7784b369e02bee73"
|
2019-09-20 03:47:22 +03:00
|
|
|
replace-with = "vendored-sources"
|
2016-09-09 01:12:34 +03:00
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/mozilla/cubeb-coreaudio-rs?rev=93b5c01a131f65c83c11aeb317f4583405c5eb79"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/mozilla/cubeb-coreaudio-rs"
|
|
|
|
rev = "93b5c01a131f65c83c11aeb317f4583405c5eb79"
|
2021-01-24 03:11:07 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/mozilla/cubeb-pulse-rs?rev=cf48897be5cbe147d051ebbbe1eaf5fd8fb6bbc9"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/mozilla/cubeb-pulse-rs"
|
|
|
|
rev = "cf48897be5cbe147d051ebbbe1eaf5fd8fb6bbc9"
|
2020-11-29 11:07:45 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/mozilla/midir.git?rev=519e651241e867af3391db08f9ae6400bc023e18"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/mozilla/midir.git"
|
|
|
|
rev = "519e651241e867af3391db08f9ae6400bc023e18"
|
2021-09-03 19:52:08 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-05-24 16:18:44 +03:00
|
|
|
[source."git+https://github.com/mozilla/mp4parse-rust?rev=cf8b0e04de9c60f38f7f057f9f29c74d19336d0c"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/mozilla/mp4parse-rust"
|
2023-05-24 16:18:44 +03:00
|
|
|
rev = "cf8b0e04de9c60f38f7f057f9f29c74d19336d0c"
|
2021-09-03 19:52:08 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/mozilla/neqo?tag=v0.6.4"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/mozilla/neqo"
|
2023-02-14 22:35:24 +03:00
|
|
|
tag = "v0.6.4"
|
2021-12-21 14:34:51 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-03-23 01:38:14 +03:00
|
|
|
[source."git+https://github.com/mozilla/uniffi-rs.git?rev=bc7ff8977bf38d0fdd1a458810b14f434d4dc4de"]
|
2022-12-21 02:01:25 +03:00
|
|
|
git = "https://github.com/mozilla/uniffi-rs.git"
|
2023-01-31 14:12:05 +03:00
|
|
|
rev = "bc7ff8977bf38d0fdd1a458810b14f434d4dc4de"
|
2022-11-12 11:06:43 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2023-05-22 23:29:17 +03:00
|
|
|
[source."git+https://github.com/servo/rust-cssparser?rev=6ce91afdf292c4290118843e7421e146f0a4c48b"]
|
2023-05-16 21:02:52 +03:00
|
|
|
git = "https://github.com/servo/rust-cssparser"
|
2023-05-22 23:29:17 +03:00
|
|
|
rev = "6ce91afdf292c4290118843e7421e146f0a4c48b"
|
2023-05-16 21:02:52 +03:00
|
|
|
replace-with = "vendored-sources"
|
|
|
|
|
2022-12-21 02:01:25 +03:00
|
|
|
|
2019-09-20 03:47:22 +03: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
|
|
|
|
# as-is to $topsrcdir/.cargo/config with no preprocessing to be used there
|
|
|
|
# (for e.g. independent tasks building rust code), or be preprocessed by
|
|
|
|
# the build system to produce a .cargo/config with the right content.
|
|
|
|
#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-27 01:20:32 +03:00
|
|
|
directory = "@top_srcdir@/@VENDORED_DIRECTORY@"
|