1 # Note: if you add more configure substitutions here with required values
2 # you will also need to fix the sed commands in:
3 # taskcluster/scripts/builder/build-sm-mozjs-crate.sh
4 # taskcluster/scripts/builder/build-sm-rust-bindings.sh
7 registry = 'https://github.com/rust-lang/crates.io-index'
8 replace-with = 'vendored-sources'
10 [source."https://github.com/servo/serde"]
11 git = "https://github.com/servo/serde"
12 branch = "deserialize_from_enums9"
13 replace-with = "vendored-sources"
15 [source."https://github.com/retep998/winapi-rs"]
16 git = "https://github.com/froydnj/winapi-rs"
18 replace-with = "vendored-sources"
20 [source.vendored-sources]
21 directory = '@top_srcdir@/third_party/rust'
23 @WIN64_CARGO_LINKER_CONFIG@