rust/Cargo.lock

5044 lines
109 KiB
Plaintext
Raw Normal View History

# This file is automatically @generated by Cargo.
# It is not intended for manual editing.
[[package]]
name = "adler32"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e522997b529f05601e05166c07ed17789691f562762c7f3b987263d2dedee5c"
2019-05-16 00:27:39 -05:00
[[package]]
name = "aho-corasick"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e6f484ae0c99fec2e858eb6134949117399f222608d84cadb3f58c1f97c2364c"
2019-05-16 00:27:39 -05:00
dependencies = [
"memchr",
2019-05-16 00:27:39 -05:00
]
[[package]]
name = "alloc"
version = "0.0.0"
dependencies = [
"compiler_builtins",
"core",
"rand 0.7.0",
"rand_xorshift 0.2.0",
]
[[package]]
name = "ammonia"
version = "2.1.2"
2019-06-18 22:36:47 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "384d704f242a0a9faf793fff775a0be6ab9aa27edabffa097331d73779142520"
2019-06-18 22:36:47 -05:00
dependencies = [
"html5ever",
"lazy_static 1.3.0",
"maplit",
"matches",
"tendril",
"url 1.7.2",
2019-06-18 22:36:47 -05:00
]
[[package]]
name = "annotate-snippets"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c7021ce4924a3f25f802b2cccd1af585e39ea1a363a1aa2e72afe54b67a3a7a7"
2019-07-30 06:00:27 -05:00
dependencies = [
"ansi_term",
2019-07-30 06:00:27 -05:00
]
[[package]]
name = "ansi_term"
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ee49baf6cb617b853aa8d93bf420db2383fab46d314482ca2803b40d5fde979b"
dependencies = [
"winapi 0.3.6",
]
[[package]]
name = "arc-swap"
version = "0.3.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1025aeae2b664ca0ea726a89d574fe8f4e77dd712d443236ad1de00379450cf6"
[[package]]
name = "arena"
version = "0.0.0"
2017-12-03 06:49:46 -06:00
dependencies = [
"rustc_data_structures",
"smallvec",
2017-12-03 06:49:46 -06:00
]
2019-02-18 03:32:58 -06:00
[[package]]
name = "argon2rs"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f67b0b6a86dae6e67ff4ca2b6201396074996379fba2b92ff649126f37cb392"
2019-02-18 03:32:58 -06:00
dependencies = [
"blake2-rfc",
"scoped_threadpool",
2019-02-18 03:32:58 -06:00
]
2019-01-18 20:39:37 -06:00
[[package]]
name = "arrayref"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d382e583f07208808f6b1249e60848879ba3543f57c32277bf52d69c2f0f0ee"
2019-01-18 20:39:37 -06:00
2018-02-25 21:15:45 -06:00
[[package]]
name = "arrayvec"
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1e964f9e24d588183fcb43503abda40d288c8657dfc27311516ce2f05675aef"
2018-02-25 21:15:45 -06:00
dependencies = [
"nodrop",
2018-02-25 21:15:45 -06:00
]
[[package]]
name = "atty"
2018-07-27 08:10:52 -05:00
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a7d5b8723950951411ee34d271d99dddcc2035a16ab25310ea2c8cfd4369652"
dependencies = [
"libc",
"termion",
"winapi 0.3.6",
]
2017-05-08 17:01:13 -05:00
[[package]]
name = "backtrace"
version = "0.3.37"
2017-05-08 17:01:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5180c5a20655b14a819b652fd2378fa5f1697b6c9ddad3e695c2f9cedf6df4e2"
2017-05-08 17:01:13 -05:00
dependencies = [
"backtrace-sys",
"cfg-if",
"compiler_builtins",
"libc",
"rustc-demangle",
"rustc-std-workspace-core",
2017-05-08 17:01:13 -05:00
]
[[package]]
name = "backtrace-sys"
version = "0.1.30"
2017-05-08 17:01:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b3a000b9c543553af61bc01cbfc403b04b5caa9e421033866f2e98061eb3e61"
2017-05-08 17:01:13 -05:00
dependencies = [
"cc",
"compiler_builtins",
"libc",
"rustc-std-workspace-core",
2017-05-08 17:01:13 -05:00
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "base64"
version = "0.10.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b25d992356d2eb0ed82172f5248873db5560c4721f564b13cb5193bda5e668e"
2019-04-07 07:59:33 -05:00
dependencies = [
"byteorder",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "bitflags"
2019-07-18 16:37:27 -05:00
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3d155346769a6855b86399e9bc3814ab343cd3d62c7e985113d46a0ec3c281fd"
2019-02-18 03:32:58 -06:00
[[package]]
name = "blake2-rfc"
version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5d6d530bdd2d52966a6d03b7a964add7ae1a288d25214066fd4b600f0f796400"
2019-02-18 03:32:58 -06:00
dependencies = [
"arrayvec",
"constant_time_eq",
2019-02-18 03:32:58 -06:00
]
2019-01-18 20:39:37 -06:00
[[package]]
name = "block-buffer"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a076c298b9ecdb530ed9d967e74a6027d6a7478924520acddcddc24c1c8ab3ab"
2019-01-18 20:39:37 -06:00
dependencies = [
"arrayref",
"byte-tools",
2019-01-18 20:39:37 -06:00
]
[[package]]
name = "bootstrap"
version = "0.0.0"
dependencies = [
"build_helper",
"cc",
"cmake",
"filetime",
"getopts",
"lazy_static 1.3.0",
"libc",
"num_cpus",
"petgraph",
"pretty_assertions",
"serde",
"serde_json",
"time",
"toml",
]
2019-05-16 00:27:39 -05:00
[[package]]
name = "bstr"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "853b090ce0f45d0265902666bf88039ea3da825e33796716c511a1ec9c170036"
2019-05-16 00:27:39 -05:00
dependencies = [
"memchr",
2019-05-16 00:27:39 -05:00
]
[[package]]
name = "build-manifest"
version = "0.1.0"
dependencies = [
"serde",
"toml",
]
[[package]]
name = "build_const"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39092a32794787acd8525ee150305ff051b0aa6cc2abaf193924f5ab05425f39"
[[package]]
name = "build_helper"
version = "0.1.0"
2019-01-18 20:39:37 -06:00
[[package]]
name = "byte-tools"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "560c32574a12a89ecd91f5e742165893f86e3ab98d21f8ea548658eb9eef5f40"
2019-01-18 20:39:37 -06:00
[[package]]
name = "bytecount"
2019-09-08 03:28:11 -05:00
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "b0017894339f586ccb943b01b9555de56770c11cda818e7e3d8bd93f4ed7f46e"
dependencies = [
"packed_simd",
]
[[package]]
name = "byteorder"
2019-09-15 06:53:04 -05:00
version = "1.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-15 06:53:04 -05:00
checksum = "a7c3dd8985a7111efc5c80b44e23ecdd8c007de8ade3b96595387e812b957cf5"
[[package]]
name = "bytes"
version = "0.4.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "40ade3d27603c2cb345eb0912aec461a6dec7e06a4ae48589904e808335c7afa"
dependencies = [
"byteorder",
"either",
"iovec",
]
[[package]]
name = "bytesize"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "716960a18f978640f25101b5cbf1c6f6b0d3192fab36a2d98ca96f0ecbe41010"
2019-08-01 10:02:26 -05:00
[[package]]
name = "c2-chacha"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d64d04786e0f528460fc884753cf8dddcc466be308f6026f8e355c41a0e4101"
2019-08-01 10:02:26 -05:00
dependencies = [
"lazy_static 1.3.0",
"ppv-lite86",
2019-08-01 10:02:26 -05:00
]
[[package]]
name = "cargo"
2019-08-20 02:32:53 -05:00
version = "0.40.0"
dependencies = [
"atty",
"bytesize",
"cargo-platform",
"cargo-test-macro",
"cargo-test-support",
"clap",
"core-foundation",
"crates-io",
"crossbeam-utils 0.6.5",
"crypto-hash",
"curl",
"curl-sys",
"env_logger 0.7.0",
"failure",
"filetime",
"flate2",
"fs2",
"fwdansi",
"git2",
"git2-curl",
"glob",
"hex 0.4.0",
2019-09-08 03:28:11 -05:00
"home",
"humantime",
"ignore",
"im-rc",
"jobserver",
"lazy_static 1.3.0",
"lazycell",
"libc",
"libgit2-sys",
"log",
"memchr",
"miow 0.3.3",
"num_cpus",
"opener",
"openssl",
"percent-encoding 2.0.0",
"pretty_env_logger",
"remove_dir_all",
"rustc-workspace-hack",
"rustfix",
"same-file",
"semver",
"serde",
2019-09-08 03:28:11 -05:00
"serde_ignored",
"serde_json",
"shell-escape",
"strip-ansi-escapes",
"tar",
"tempfile",
"termcolor",
"toml",
"unicode-width",
2019-08-20 02:32:53 -05:00
"url 2.1.0",
"walkdir",
"winapi 0.3.6",
]
[[package]]
name = "cargo-platform"
version = "0.1.0"
dependencies = [
"serde",
]
2019-06-12 09:37:30 -05:00
[[package]]
name = "cargo-test-macro"
version = "0.1.0"
[[package]]
name = "cargo-test-support"
version = "0.1.0"
dependencies = [
"cargo",
"cargo-test-macro",
"filetime",
"flate2",
"git2",
"glob",
"lazy_static 1.3.0",
"remove_dir_all",
"serde_json",
"tar",
"url 2.1.0",
]
2019-06-03 18:00:38 -05:00
[[package]]
name = "cargo_metadata"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "929766d993a2fde7a0ae962ee82429069cd7b68839cd9375b98efd719df65d3a"
2019-06-03 18:00:38 -05:00
dependencies = [
"failure",
"semver",
"serde",
"serde_derive",
"serde_json",
2019-06-03 18:00:38 -05:00
]
2017-02-15 16:55:26 -06:00
[[package]]
name = "cargotest2"
version = "0.1.0"
2017-09-21 20:58:35 -05:00
[[package]]
name = "cc"
2019-04-10 14:18:35 -05:00
version = "1.0.35"
2017-09-21 20:58:35 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e5f3fee5eeb60324c2781f1e41286bdee933850fff9b3c672587fed5ec58c83"
2017-09-21 20:58:35 -05:00
2017-05-08 17:01:13 -05:00
[[package]]
name = "cfg-if"
std: Depend on `backtrace` crate from crates.io This commit removes all in-tree support for generating backtraces in favor of depending on the `backtrace` crate on crates.io. This resolves a very longstanding piece of duplication where the standard library has long contained the ability to generate a backtrace on panics, but the code was later extracted and duplicated on crates.io with the `backtrace` crate. Since that fork each implementation has seen various improvements one way or another, but typically `backtrace`-the-crate has lagged behind libstd in one way or another. The goal here is to remove this duplication of a fairly critical piece of code and ensure that there's only one source of truth for generating backtraces between the standard library and the crate on crates.io. Recently I've been working to bring the `backtrace` crate on crates.io up to speed with the support in the standard library which includes: * Support for `StackWalkEx` on MSVC to recover inline frames with debuginfo. * Using `libbacktrace` by default on MinGW targets. * Supporting `libbacktrace` on OSX as an option. * Ensuring all the requisite support in `backtrace`-the-crate compiles with `#![no_std]`. * Updating the `libbacktrace` implementation in `backtrace`-the-crate to initialize the global state with the correct filename where necessary. After reviewing the code in libstd the `backtrace` crate should be at exact feature parity with libstd today. The backtraces generated should have the same symbols and same number of frames in general, and there's not known divergence from libstd currently. Note that one major difference between libstd's backtrace support and the `backtrace` crate is that on OSX the crates.io crate enables the `coresymbolication` feature by default. This feature, however, uses private internal APIs that aren't published for OSX. While they provide more accurate backtraces this isn't appropriate for libstd distributed as a binary, so libstd's dependency on the `backtrace` crate explicitly disables this feature and forces OSX to use `libbacktrace` as a symbolication strategy. The long-term goal of this refactoring is to eventually move us towards a world where we can drop `libbacktrace` entirely and simply use Gimli and the surrounding crates for backtrace support. That's still aways off but hopefully will much more easily enabled by having the source of truth for backtraces live in crates.io! Procedurally if we go forward with this I'd like to transfer the `backtrace-rs` crate to the rust-lang GitHub organization as well, but I figured I'd hold off on that until we get closer to merging.
2019-05-15 09:30:15 -05:00
version = "0.1.8"
2017-05-08 17:01:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89431bba4e6b7092fb5fcd00a6f6ca596c55cc26b2f1e6dcdd08a1f4933f66b2"
std: Depend on `backtrace` crate from crates.io This commit removes all in-tree support for generating backtraces in favor of depending on the `backtrace` crate on crates.io. This resolves a very longstanding piece of duplication where the standard library has long contained the ability to generate a backtrace on panics, but the code was later extracted and duplicated on crates.io with the `backtrace` crate. Since that fork each implementation has seen various improvements one way or another, but typically `backtrace`-the-crate has lagged behind libstd in one way or another. The goal here is to remove this duplication of a fairly critical piece of code and ensure that there's only one source of truth for generating backtraces between the standard library and the crate on crates.io. Recently I've been working to bring the `backtrace` crate on crates.io up to speed with the support in the standard library which includes: * Support for `StackWalkEx` on MSVC to recover inline frames with debuginfo. * Using `libbacktrace` by default on MinGW targets. * Supporting `libbacktrace` on OSX as an option. * Ensuring all the requisite support in `backtrace`-the-crate compiles with `#![no_std]`. * Updating the `libbacktrace` implementation in `backtrace`-the-crate to initialize the global state with the correct filename where necessary. After reviewing the code in libstd the `backtrace` crate should be at exact feature parity with libstd today. The backtraces generated should have the same symbols and same number of frames in general, and there's not known divergence from libstd currently. Note that one major difference between libstd's backtrace support and the `backtrace` crate is that on OSX the crates.io crate enables the `coresymbolication` feature by default. This feature, however, uses private internal APIs that aren't published for OSX. While they provide more accurate backtraces this isn't appropriate for libstd distributed as a binary, so libstd's dependency on the `backtrace` crate explicitly disables this feature and forces OSX to use `libbacktrace` as a symbolication strategy. The long-term goal of this refactoring is to eventually move us towards a world where we can drop `libbacktrace` entirely and simply use Gimli and the surrounding crates for backtrace support. That's still aways off but hopefully will much more easily enabled by having the source of truth for backtraces live in crates.io! Procedurally if we go forward with this I'd like to transfer the `backtrace-rs` crate to the rust-lang GitHub organization as well, but I figured I'd hold off on that until we get closer to merging.
2019-05-15 09:30:15 -05:00
dependencies = [
"compiler_builtins",
"rustc-std-workspace-core",
std: Depend on `backtrace` crate from crates.io This commit removes all in-tree support for generating backtraces in favor of depending on the `backtrace` crate on crates.io. This resolves a very longstanding piece of duplication where the standard library has long contained the ability to generate a backtrace on panics, but the code was later extracted and duplicated on crates.io with the `backtrace` crate. Since that fork each implementation has seen various improvements one way or another, but typically `backtrace`-the-crate has lagged behind libstd in one way or another. The goal here is to remove this duplication of a fairly critical piece of code and ensure that there's only one source of truth for generating backtraces between the standard library and the crate on crates.io. Recently I've been working to bring the `backtrace` crate on crates.io up to speed with the support in the standard library which includes: * Support for `StackWalkEx` on MSVC to recover inline frames with debuginfo. * Using `libbacktrace` by default on MinGW targets. * Supporting `libbacktrace` on OSX as an option. * Ensuring all the requisite support in `backtrace`-the-crate compiles with `#![no_std]`. * Updating the `libbacktrace` implementation in `backtrace`-the-crate to initialize the global state with the correct filename where necessary. After reviewing the code in libstd the `backtrace` crate should be at exact feature parity with libstd today. The backtraces generated should have the same symbols and same number of frames in general, and there's not known divergence from libstd currently. Note that one major difference between libstd's backtrace support and the `backtrace` crate is that on OSX the crates.io crate enables the `coresymbolication` feature by default. This feature, however, uses private internal APIs that aren't published for OSX. While they provide more accurate backtraces this isn't appropriate for libstd distributed as a binary, so libstd's dependency on the `backtrace` crate explicitly disables this feature and forces OSX to use `libbacktrace` as a symbolication strategy. The long-term goal of this refactoring is to eventually move us towards a world where we can drop `libbacktrace` entirely and simply use Gimli and the surrounding crates for backtrace support. That's still aways off but hopefully will much more easily enabled by having the source of truth for backtraces live in crates.io! Procedurally if we go forward with this I'd like to transfer the `backtrace-rs` crate to the rust-lang GitHub organization as well, but I figured I'd hold off on that until we get closer to merging.
2019-05-15 09:30:15 -05:00
]
2017-05-08 17:01:13 -05:00
2018-05-24 07:48:02 -05:00
[[package]]
name = "chalk-engine"
2018-11-28 15:11:00 -06:00
version = "0.9.0"
2018-05-24 07:48:02 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17ec698a6f053a23bfbe646d9f2fde4b02abc19125595270a99e6f44ae0bdd1a"
2018-05-24 07:48:02 -05:00
dependencies = [
"chalk-macros",
"rustc-hash",
2018-05-24 07:48:02 -05:00
]
[[package]]
name = "chalk-macros"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "295635afd6853aa9f20baeb7f0204862440c0fe994c5a253d5f479dac41d047e"
2018-05-24 07:48:02 -05:00
dependencies = [
"lazy_static 0.2.11",
2018-05-24 07:48:02 -05:00
]
[[package]]
name = "chrono"
version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45912881121cb26fad7c38c17ba7daa18764771836b34fab7d3fbd93ed633878"
dependencies = [
"num-integer",
"num-traits",
"time",
]
[[package]]
name = "clap"
2019-09-08 03:28:11 -05:00
version = "2.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "5067f5bb2d80ef5d68b4c87db81601f0b75bca627bc2ef76b141d7b846a3c6d9"
dependencies = [
"ansi_term",
"atty",
"bitflags",
"strsim",
"textwrap",
"unicode-width",
"vec_map",
"yaml-rust",
]
2017-12-06 02:25:29 -06:00
[[package]]
name = "clippy"
2018-07-14 17:01:24 -05:00
version = "0.0.212"
2017-12-06 02:25:29 -06:00
dependencies = [
"cargo_metadata",
"clippy-mini-macro-test",
"clippy_lints",
"compiletest_rs",
"derive-new",
"lazy_static 1.3.0",
"regex",
"rustc-workspace-hack",
2019-05-26 12:21:54 -05:00
"rustc_tools_util 0.2.0",
"semver",
"serde",
2017-12-06 02:25:29 -06:00
]
[[package]]
name = "clippy-mini-macro-test"
2018-01-30 08:12:12 -06:00
version = "0.2.0"
2017-12-06 02:25:29 -06:00
2018-05-19 06:18:02 -05:00
[[package]]
name = "clippy_lints"
2018-07-14 17:01:24 -05:00
version = "0.0.212"
2018-05-11 07:11:06 -05:00
dependencies = [
"cargo_metadata",
"if_chain",
"itertools 0.8.0",
"lazy_static 1.3.0",
"matches",
2019-09-19 03:32:31 -05:00
"pulldown-cmark 0.6.0",
"quine-mc_cluskey",
"regex-syntax",
"semver",
"serde",
"smallvec",
"toml",
"unicode-normalization",
2019-08-20 02:32:53 -05:00
"url 2.1.0",
2018-05-11 07:11:06 -05:00
]
2018-07-26 16:58:55 -05:00
[[package]]
name = "cloudabi"
version = "0.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ddfc5b9aa5d4507acaf872de71051dfd0e309860e88966e1051e462a077aac4f"
2018-07-26 16:58:55 -05:00
dependencies = [
"bitflags",
2018-07-26 16:58:55 -05:00
]
[[package]]
name = "cmake"
2019-04-10 14:18:35 -05:00
version = "0.1.38"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "96210eec534fc3fbfc0452a63769424eaa80205fda6cea98e5b61cb3d97bcec8"
dependencies = [
"cc",
]
2018-04-25 17:11:28 -05:00
[[package]]
name = "colored"
version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b0aa3473e85a3161b59845d6096b289bb577874cafeaf75ea1b1beaa6572c7fc"
2018-04-25 17:11:28 -05:00
dependencies = [
"lazy_static 0.2.11",
2018-04-25 17:11:28 -05:00
]
2017-12-06 02:25:29 -06:00
[[package]]
name = "commoncrypto"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d056a8586ba25a1e4d61cb090900e495952c7886786fc55f909ab2f819b69007"
2017-12-06 02:25:29 -06:00
dependencies = [
"commoncrypto-sys",
2017-12-06 02:25:29 -06:00
]
[[package]]
name = "commoncrypto-sys"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fed34f46747aa73dfaa578069fd8279d2818ade2b55f38f22a9401c7f4083e2"
2017-12-06 02:25:29 -06:00
dependencies = [
"libc",
]
[[package]]
name = "compiler_builtins"
2019-07-20 04:27:13 -05:00
version = "0.1.18"
std: Depend directly on crates.io crates Ever since we added a Cargo-based build system for the compiler the standard library has always been a little special, it's never been able to depend on crates.io crates for runtime dependencies. This has been a result of various limitations, namely that Cargo doesn't understand that crates from crates.io depend on libcore, so Cargo tries to build crates before libcore is finished. I had an idea this afternoon, however, which lifts the strategy from #52919 to directly depend on crates.io crates from the standard library. After all is said and done this removes a whopping three submodules that we need to manage! The basic idea here is that for any crate `std` depends on it adds an *optional* dependency on an empty crate on crates.io, in this case named `rustc-std-workspace-core`. This crate is overridden via `[patch]` in this repository to point to a local crate we write, and *that* has a `path` dependency on libcore. Note that all `no_std` crates also depend on `compiler_builtins`, but if we're not using submodules we can publish `compiler_builtins` to crates.io and all crates can depend on it anyway! The basic strategy then looks like: * The standard library (or some transitive dep) decides to depend on a crate `foo`. * The standard library adds ```toml [dependencies] foo = { version = "0.1", features = ['rustc-dep-of-std'] } ``` * The crate `foo` has an optional dependency on `rustc-std-workspace-core` * The crate `foo` has an optional dependency on `compiler_builtins` * The crate `foo` has a feature `rustc-dep-of-std` which activates these crates and any other necessary infrastructure in the crate. A sample commit for `dlmalloc` [turns out to be quite simple][commit]. After that all `no_std` crates should largely build "as is" and still be publishable on crates.io! Notably they should be able to continue to use stable Rust if necessary, since the `rename-dependency` feature of Cargo is soon stabilizing. As a proof of concept, this commit removes the `dlmalloc`, `libcompiler_builtins`, and `libc` submodules from this repository. Long thorns in our side these are now gone for good and we can directly depend on crates.io! It's hoped that in the long term we can bring in other crates as necessary, but for now this is largely intended to simply make it easier to manage these crates and remove submodules. This should be a transparent non-breaking change for all users, but one possible stickler is that this almost for sure breaks out-of-tree `std`-building tools like `xargo` and `cargo-xbuild`. I think it should be relatively easy to get them working, however, as all that's needed is an entry in the `[patch]` section used to build the standard library. Hopefully we can work with these tools to solve this problem! [commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-19 23:52:50 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef1c086a06d6f52f9c0d50cacdc021bfb6034ddeec9fb7e62f099f13f65472f4"
dependencies = [
"cc",
"rustc-std-workspace-core",
]
[[package]]
name = "compiletest"
version = "0.0.0"
dependencies = [
"diff",
"env_logger 0.6.2",
"getopts",
"lazy_static 1.3.0",
"libc",
"log",
"miow 0.3.3",
"regex",
"rustfix",
"serde",
"serde_json",
"walkdir",
"winapi 0.3.6",
]
2017-06-30 13:58:54 -05:00
[[package]]
2017-12-06 02:25:29 -06:00
name = "compiletest_rs"
2019-09-25 16:43:23 -05:00
version = "0.3.23"
2017-07-14 05:30:17 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-25 16:43:23 -05:00
checksum = "eb783fe7afb90ec3d3e49ccaf9196d29ab63c6ed61d4b0695839daa580ae3a3d"
2017-07-14 05:30:17 -05:00
dependencies = [
"diff",
"filetime",
"getopts",
"libc",
"log",
"miow 0.3.3",
"regex",
"rustfix",
"serde",
"serde_derive",
"serde_json",
"tempfile",
"tester",
"winapi 0.3.6",
2017-07-14 05:30:17 -05:00
]
2019-02-18 03:32:58 -06:00
[[package]]
name = "constant_time_eq"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8ff012e225ce166d4422e0e78419d901719760f62ae2b7969ca6b564d1b54a9e"
2019-02-18 03:32:58 -06:00
[[package]]
name = "core"
version = "0.0.0"
dependencies = [
"rand 0.7.0",
]
2017-08-24 00:52:28 -05:00
[[package]]
name = "core-foundation"
version = "0.6.3"
2017-08-24 00:52:28 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4e2640d6d0bf22e82bed1b73c6aef8d5dd31e5abe6666c57e6d45e2649f4f887"
2017-08-24 00:52:28 -05:00
dependencies = [
"core-foundation-sys",
"libc",
2017-08-24 00:52:28 -05:00
]
[[package]]
name = "core-foundation-sys"
version = "0.6.2"
2017-08-24 00:52:28 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e7ca8a5221364ef15ce201e8ed2f609fc312682a8f4e0e3d4aa5879764e0fa3b"
2017-08-24 00:52:28 -05:00
[[package]]
name = "crates-io"
2019-08-20 02:32:53 -05:00
version = "0.28.0"
dependencies = [
"curl",
"failure",
"percent-encoding 2.0.0",
"serde",
"serde_derive",
"serde_json",
2019-08-20 02:32:53 -05:00
"url 2.1.0",
]
[[package]]
name = "crc"
version = "1.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d663548de7f5cca343f1e0a48d14dcfb0e9eb4e079ec58883b7251539fa10aeb"
dependencies = [
"build_const",
]
[[package]]
name = "crc32fast"
version = "1.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e91d5240c6975ef33aeb5f148f35275c25eda8e8a5f95abe421978b05b8bf192"
dependencies = [
"cfg-if",
]
[[package]]
name = "crossbeam-channel"
2019-05-16 00:27:39 -05:00
version = "0.3.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f0ed1a4de2235cabda8558ff5840bffb97fcb64c97827f354a451307df5f72b"
dependencies = [
"crossbeam-utils 0.6.5",
"smallvec",
]
2018-02-25 21:15:45 -06:00
[[package]]
name = "crossbeam-deque"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f739f8c5363aca78cfb059edf753d8f0d36908c348f3d8d1503f03d8b75d9cf3"
2018-02-25 21:15:45 -06:00
dependencies = [
"crossbeam-epoch 0.3.1",
"crossbeam-utils 0.2.2",
2018-02-25 21:15:45 -06:00
]
[[package]]
name = "crossbeam-deque"
version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05e44b8cf3e1a625844d1750e1f7820da46044ff6d28f4d43e455ba3e5bb2c13"
dependencies = [
"crossbeam-epoch 0.7.2",
"crossbeam-utils 0.6.5",
]
2018-02-25 21:15:45 -06:00
[[package]]
name = "crossbeam-epoch"
version = "0.3.1"
2018-02-25 21:15:45 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "927121f5407de9956180ff5e936fe3cf4324279280001cd56b669d28ee7e9150"
2018-02-25 21:15:45 -06:00
dependencies = [
"arrayvec",
"cfg-if",
"crossbeam-utils 0.2.2",
"lazy_static 1.3.0",
"memoffset 0.2.1",
"nodrop",
"scopeguard 0.3.3",
2018-02-25 21:15:45 -06:00
]
[[package]]
name = "crossbeam-epoch"
2019-07-25 08:57:25 -05:00
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fedcd6772e37f3da2a9af9bf12ebe046c0dfe657992377b4df982a2b54cd37a9"
dependencies = [
"arrayvec",
"cfg-if",
"crossbeam-utils 0.6.5",
"lazy_static 1.3.0",
"memoffset 0.5.1",
"scopeguard 1.0.0",
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "crossbeam-queue"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c979cd6cfe72335896575c6b5688da489e420d36a27a0b9eb0c73db574b4a4b"
2019-04-07 07:59:33 -05:00
dependencies = [
"crossbeam-utils 0.6.5",
2019-04-07 07:59:33 -05:00
]
2018-02-25 21:15:45 -06:00
[[package]]
name = "crossbeam-utils"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2760899e32a1d58d5abb31129f8fae5de75220bc2176e77ff7c627ae45c918d9"
2018-02-25 21:15:45 -06:00
dependencies = [
"cfg-if",
2018-02-25 21:15:45 -06:00
]
[[package]]
name = "crossbeam-utils"
2019-05-16 00:27:39 -05:00
version = "0.6.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8306fcef4a7b563b76b7dd949ca48f52bc1141aa067d2ea09565f3e2652aa5c"
dependencies = [
"cfg-if",
"lazy_static 1.3.0",
]
2017-12-06 02:25:29 -06:00
[[package]]
name = "crypto-hash"
version = "0.3.1"
2017-12-06 02:25:29 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09de9ee0fc255ace04c7fa0763c9395a945c37c8292bb554f8d48361d1dcf1b4"
2017-12-06 02:25:29 -06:00
dependencies = [
"commoncrypto",
"hex 0.3.2",
"openssl",
"winapi 0.3.6",
2017-12-06 02:25:29 -06:00
]
[[package]]
name = "curl"
2019-04-22 15:12:52 -05:00
version = "0.4.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a85f2f95f2bd277d316d1aa8a477687ab4a6942258c7db7c89c187534669979c"
dependencies = [
"curl-sys",
"kernel32-sys",
"libc",
"openssl-probe",
"openssl-sys",
"schannel",
"socket2",
"winapi 0.2.8",
]
[[package]]
name = "curl-sys"
2019-04-22 15:12:52 -05:00
version = "0.4.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d91a0052d5b982887d8e829bee0faffc7218ea3c6ebd3d6c2c8f678a93c9a42"
dependencies = [
"cc",
"libc",
"libnghttp2-sys",
"libz-sys",
"openssl-sys",
"pkg-config",
"vcpkg",
"winapi 0.3.6",
2017-05-08 17:01:13 -05:00
]
2019-06-18 22:36:47 -05:00
[[package]]
name = "darling"
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9158d690bc62a3a57c3e45b85e4d50de2008b39345592c64efd79345c7e24be0"
2019-06-18 22:36:47 -05:00
dependencies = [
"darling_core",
"darling_macro",
2019-06-18 22:36:47 -05:00
]
[[package]]
name = "darling_core"
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2a368589465391e127e10c9e3a08efc8df66fd49b87dc8524c764bbe7f2ef82"
2019-06-18 22:36:47 -05:00
dependencies = [
"fnv",
"ident_case",
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
2019-06-18 22:36:47 -05:00
]
[[package]]
name = "darling_macro"
version = "0.8.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "244e8987bd4e174385240cde20a3657f607fb0797563c28255c353b5819a07b1"
2019-06-18 22:36:47 -05:00
dependencies = [
"darling_core",
2019-09-08 03:28:11 -05:00
"quote 0.6.12",
"syn 0.15.35",
2019-06-18 22:36:47 -05:00
]
2018-05-29 06:52:51 -05:00
[[package]]
name = "datafrog"
version = "2.0.1"
2018-05-29 06:52:51 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a0afaad2b26fa326569eb264b1363e8ae3357618c43982b3f285f0774ce76b69"
2018-05-29 06:52:51 -05:00
[[package]]
name = "derive-new"
version = "0.5.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ca414e896ae072546f4d789f452daaecf60ddee4c9df5dc6d5936d769e3d87c"
dependencies = [
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
]
2018-07-26 16:58:55 -05:00
[[package]]
name = "derive_more"
2018-11-18 22:21:10 -06:00
version = "0.13.0"
2018-07-26 16:58:55 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f57d78cf3bd45270dad4e70c21ec77a960b36c7a841ff9db76aaa775a8fb871"
2018-07-26 16:58:55 -05:00
dependencies = [
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"rustc_version",
2019-09-08 03:28:11 -05:00
"syn 0.15.35",
2018-07-26 16:58:55 -05:00
]
[[package]]
name = "diff"
2017-12-06 02:25:29 -06:00
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c2b69f912779fbb121ceb775d74d51e915af17aaebc38d28a592843a2dd0a3a"
[[package]]
name = "difference"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
2019-01-18 20:39:37 -06:00
[[package]]
name = "digest"
version = "0.7.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03b072242a8cbaf9c145665af9d250c59af3b958f83ed6824e13533cf76d5b90"
2019-01-18 20:39:37 -06:00
dependencies = [
"generic-array",
2019-01-18 20:39:37 -06:00
]
2018-11-28 14:22:45 -06:00
[[package]]
name = "directories"
2019-06-13 02:58:32 -05:00
version = "2.0.1"
2018-11-28 14:22:45 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ccc83e029c3cebb4c8155c644d34e3a070ccdb4ff90d369c74cd73f7cb3c984"
2018-11-28 14:22:45 -06:00
dependencies = [
"cfg-if",
"dirs-sys",
2018-11-28 14:22:45 -06:00
]
2019-02-18 03:32:58 -06:00
[[package]]
name = "dirs"
2019-07-15 08:51:42 -05:00
version = "2.0.1"
2019-02-18 03:32:58 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1c4ef5a8b902d393339e2a2c7fe573af92ce7e0ee5a3ff827b4c9ad7e07e4fa1"
2019-02-18 03:32:58 -06:00
dependencies = [
"cfg-if",
"dirs-sys",
2019-02-18 03:32:58 -06:00
]
2019-06-13 02:58:32 -05:00
[[package]]
name = "dirs-sys"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "937756392ec77d1f2dd9dc3ac9d69867d109a2121479d72c364e42f4cab21e2d"
2019-06-13 02:58:32 -05:00
dependencies = [
"cfg-if",
"libc",
"redox_users",
"winapi 0.3.6",
2019-06-13 02:58:32 -05:00
]
2017-12-06 02:25:29 -06:00
[[package]]
name = "dlmalloc"
2019-02-25 18:18:22 -06:00
version = "0.1.3"
std: Depend directly on crates.io crates Ever since we added a Cargo-based build system for the compiler the standard library has always been a little special, it's never been able to depend on crates.io crates for runtime dependencies. This has been a result of various limitations, namely that Cargo doesn't understand that crates from crates.io depend on libcore, so Cargo tries to build crates before libcore is finished. I had an idea this afternoon, however, which lifts the strategy from #52919 to directly depend on crates.io crates from the standard library. After all is said and done this removes a whopping three submodules that we need to manage! The basic idea here is that for any crate `std` depends on it adds an *optional* dependency on an empty crate on crates.io, in this case named `rustc-std-workspace-core`. This crate is overridden via `[patch]` in this repository to point to a local crate we write, and *that* has a `path` dependency on libcore. Note that all `no_std` crates also depend on `compiler_builtins`, but if we're not using submodules we can publish `compiler_builtins` to crates.io and all crates can depend on it anyway! The basic strategy then looks like: * The standard library (or some transitive dep) decides to depend on a crate `foo`. * The standard library adds ```toml [dependencies] foo = { version = "0.1", features = ['rustc-dep-of-std'] } ``` * The crate `foo` has an optional dependency on `rustc-std-workspace-core` * The crate `foo` has an optional dependency on `compiler_builtins` * The crate `foo` has a feature `rustc-dep-of-std` which activates these crates and any other necessary infrastructure in the crate. A sample commit for `dlmalloc` [turns out to be quite simple][commit]. After that all `no_std` crates should largely build "as is" and still be publishable on crates.io! Notably they should be able to continue to use stable Rust if necessary, since the `rename-dependency` feature of Cargo is soon stabilizing. As a proof of concept, this commit removes the `dlmalloc`, `libcompiler_builtins`, and `libc` submodules from this repository. Long thorns in our side these are now gone for good and we can directly depend on crates.io! It's hoped that in the long term we can bring in other crates as necessary, but for now this is largely intended to simply make it easier to manage these crates and remove submodules. This should be a transparent non-breaking change for all users, but one possible stickler is that this almost for sure breaks out-of-tree `std`-building tools like `xargo` and `cargo-xbuild`. I think it should be relatively easy to get them working, however, as all that's needed is an entry in the `[patch]` section used to build the standard library. Hopefully we can work with these tools to solve this problem! [commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-19 23:52:50 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f283302e035e61c23f2b86b3093e8c6273a4c3125742d6087e96ade001ca5e63"
2017-12-06 02:25:29 -06:00
dependencies = [
"compiler_builtins",
"libc",
"rustc-std-workspace-core",
2017-12-06 02:25:29 -06:00
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "dtoa"
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea57b42383d091c85abcc2706240b94ab2a8fa1fc81c10ff23c4de06e2a90b5e"
2019-04-07 07:59:33 -05:00
2017-12-06 02:25:29 -06:00
[[package]]
name = "either"
version = "1.5.0"
2017-12-06 02:25:29 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3be565ca5c557d7f59e7cfcf1844f9e3033650c929c6566f511e8005f205c1d0"
2017-12-06 02:25:29 -06:00
[[package]]
name = "elasticlunr-rs"
version = "2.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a99a310cd1f9770e7bf8e48810c7bcbb0e078c8fb23a8c7bcf0da4c2bf61a455"
dependencies = [
"lazy_static 1.3.0",
"regex",
"serde",
"serde_derive",
"serde_json",
"strum",
"strum_macros",
]
2019-03-19 16:30:07 -05:00
[[package]]
name = "ena"
version = "0.13.1"
2019-03-19 16:30:07 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8944dc8fa28ce4a38f778bd46bf7d923fe73eed5a439398507246c8e017e6f36"
2019-03-19 16:30:07 -05:00
dependencies = [
"log",
2019-03-19 16:30:07 -05:00
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "encoding_rs"
version = "0.8.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4155785c79f2f6701f185eb2e6b4caf0555ec03477cb4c70db67b465311620ed"
2019-04-07 07:59:33 -05:00
dependencies = [
"cfg-if",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "env_logger"
2019-08-29 06:22:21 -05:00
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-08-29 06:22:21 -05:00
checksum = "aafcde04e90a5226a6443b7aabdb016ba2f8307c847d524724bd9b346dd1a2d3"
dependencies = [
"atty",
"humantime",
"log",
"regex",
"termcolor",
]
[[package]]
name = "env_logger"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39ecdb7dd54465526f0a56d666e3b2dd5f3a218665a030b6e4ad9e70fa95d8fa"
dependencies = [
"atty",
"humantime",
"log",
"regex",
"termcolor",
]
2018-07-13 03:34:50 -05:00
[[package]]
name = "error-chain"
version = "0.12.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07e791d3be96241c77c43846b665ef1384606da2cd2a48730abe606a12906e02"
2018-07-13 03:34:50 -05:00
dependencies = [
"backtrace",
2018-07-13 03:34:50 -05:00
]
[[package]]
name = "error_index_generator"
version = "0.0.0"
dependencies = [
"rustdoc",
"walkdir",
]
[[package]]
name = "failure"
2019-02-03 16:42:29 -06:00
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "795bd83d3abeb9220f257e597aa0080a508b27533824adf336529648f6abf7e2"
dependencies = [
"backtrace",
"failure_derive",
]
[[package]]
name = "failure_derive"
2019-02-03 16:42:29 -06:00
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea1063915fd7ef4309e222a5a07cf9c319fb9c7836b1f89b85458672dbb127e1"
dependencies = [
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
"synstructure",
]
2019-01-18 20:39:37 -06:00
[[package]]
name = "fake-simd"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
2019-01-18 20:39:37 -06:00
2018-04-18 10:43:59 -05:00
[[package]]
name = "filetime"
version = "0.2.4"
2018-04-18 10:43:59 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2df5c1a8c4be27e7707789dc42ae65976e60b394afd293d1419ab915833e646"
2018-04-18 10:43:59 -05:00
dependencies = [
"cfg-if",
"libc",
"redox_syscall",
2018-04-18 10:43:59 -05:00
]
[[package]]
name = "fixedbitset"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "86d4de0081402f5e88cdac65c8dcdcc73118c1a7a465e2a05f0da05843a8ea33"
2017-12-31 08:34:29 -06:00
[[package]]
name = "flate2"
version = "1.0.6"
2017-12-31 08:34:29 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2291c165c8e703ee54ef3055ad6188e3d51108e2ded18e9f2476e774fc5ad3d4"
2017-12-31 08:34:29 -06:00
dependencies = [
"crc32fast",
"libc",
"libz-sys",
"miniz-sys",
"miniz_oxide_c_api",
2017-12-31 08:34:29 -06:00
]
[[package]]
name = "fmt_macros"
version = "0.0.0"
dependencies = [
"rustc_lexer",
"syntax_pos",
]
[[package]]
name = "fnv"
2017-12-06 02:25:29 -06:00
version = "1.0.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2fad85553e09a6f881f739c29f0b00b0f01357c743266d478b68951ce23285f3"
[[package]]
name = "foreign-types"
2017-12-06 02:25:29 -06:00
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
2017-12-06 02:25:29 -06:00
dependencies = [
"foreign-types-shared",
2017-12-06 02:25:29 -06:00
]
[[package]]
name = "foreign-types-shared"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "fortanix-sgx-abi"
2018-12-19 05:56:17 -06:00
version = "0.3.2"
std: Depend directly on crates.io crates Ever since we added a Cargo-based build system for the compiler the standard library has always been a little special, it's never been able to depend on crates.io crates for runtime dependencies. This has been a result of various limitations, namely that Cargo doesn't understand that crates from crates.io depend on libcore, so Cargo tries to build crates before libcore is finished. I had an idea this afternoon, however, which lifts the strategy from #52919 to directly depend on crates.io crates from the standard library. After all is said and done this removes a whopping three submodules that we need to manage! The basic idea here is that for any crate `std` depends on it adds an *optional* dependency on an empty crate on crates.io, in this case named `rustc-std-workspace-core`. This crate is overridden via `[patch]` in this repository to point to a local crate we write, and *that* has a `path` dependency on libcore. Note that all `no_std` crates also depend on `compiler_builtins`, but if we're not using submodules we can publish `compiler_builtins` to crates.io and all crates can depend on it anyway! The basic strategy then looks like: * The standard library (or some transitive dep) decides to depend on a crate `foo`. * The standard library adds ```toml [dependencies] foo = { version = "0.1", features = ['rustc-dep-of-std'] } ``` * The crate `foo` has an optional dependency on `rustc-std-workspace-core` * The crate `foo` has an optional dependency on `compiler_builtins` * The crate `foo` has a feature `rustc-dep-of-std` which activates these crates and any other necessary infrastructure in the crate. A sample commit for `dlmalloc` [turns out to be quite simple][commit]. After that all `no_std` crates should largely build "as is" and still be publishable on crates.io! Notably they should be able to continue to use stable Rust if necessary, since the `rename-dependency` feature of Cargo is soon stabilizing. As a proof of concept, this commit removes the `dlmalloc`, `libcompiler_builtins`, and `libc` submodules from this repository. Long thorns in our side these are now gone for good and we can directly depend on crates.io! It's hoped that in the long term we can bring in other crates as necessary, but for now this is largely intended to simply make it easier to manage these crates and remove submodules. This should be a transparent non-breaking change for all users, but one possible stickler is that this almost for sure breaks out-of-tree `std`-building tools like `xargo` and `cargo-xbuild`. I think it should be relatively easy to get them working, however, as all that's needed is an entry in the `[patch]` section used to build the standard library. Hopefully we can work with these tools to solve this problem! [commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-19 23:52:50 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f8cbee5e872cf7db61a999a041f9bc4706ca7bf7df4cb914f53fabb1c1bc550"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-core",
]
[[package]]
name = "fs2"
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213"
dependencies = [
"libc",
"winapi 0.3.6",
]
[[package]]
name = "fs_extra"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5f2a4a2034423744d2cc7ca2068453168dcdb82c438419e639a26bd87839c674"
2018-07-05 19:34:00 -05:00
[[package]]
name = "fst"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d94485a00b1827b861dd9d1a2cc9764f9044d4c535514c0760a5a2012ef3399f"
2018-07-05 19:34:00 -05:00
dependencies = [
"byteorder",
2018-07-05 19:34:00 -05:00
]
2019-06-10 13:22:31 -05:00
[[package]]
name = "fuchsia-cprng"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a06f77d526c1a601b7c4cdd98f54b5eaabffc14d5f2f0296febdc7f357c6d3ba"
2019-06-10 13:22:31 -05:00
2017-12-06 02:25:29 -06:00
[[package]]
name = "fuchsia-zircon"
version = "0.3.3"
2017-12-06 02:25:29 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e9763c69ebaae630ba35f74888db465e49e259ba1bc0eda7d06f4a067615d82"
2017-12-06 02:25:29 -06:00
dependencies = [
"bitflags",
"fuchsia-zircon-sys",
2017-12-06 02:25:29 -06:00
]
[[package]]
name = "fuchsia-zircon-sys"
version = "0.3.3"
2017-12-06 02:25:29 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3dcaa9ae7725d12cdb85b3ad99a434db70b468c09ded17e012d86b5c1010f7a7"
2017-12-06 02:25:29 -06:00
[[package]]
name = "futf"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7c9c1ce3fa9336301af935ab852c437817d14cd33690446569392e65170aac3b"
dependencies = [
"mac",
"new_debug_unreachable",
]
[[package]]
name = "futures"
2019-04-07 07:59:33 -05:00
version = "0.1.28"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45dc39533a6cae6da2b56da48edae506bb767ec07370f86f70fc062e9d435869"
2019-04-07 07:59:33 -05:00
[[package]]
name = "futures-cpupool"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab90cde24b3319636588d0c35fe03b1333857621051837ed769faefb4c2162e4"
2019-04-07 07:59:33 -05:00
dependencies = [
"futures",
"num_cpus",
2019-04-07 07:59:33 -05:00
]
2018-08-14 16:27:26 -05:00
[[package]]
name = "fwdansi"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "34dd4c507af68d37ffef962063dfa1944ce0dd4d5b82043dbab1dabe088610c3"
2018-08-14 16:27:26 -05:00
dependencies = [
"memchr",
"termcolor",
2018-08-14 16:27:26 -05:00
]
2019-01-18 20:39:37 -06:00
[[package]]
name = "generic-array"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef25c5683767570c2bbd7deba372926a55eaae9982d7726ee2a1050239d45b9d"
2019-01-18 20:39:37 -06:00
dependencies = [
"typenum",
2019-01-18 20:39:37 -06:00
]
[[package]]
name = "getopts"
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
version = "0.2.21"
source = "registry+https://github.com/rust-lang/crates.io-index"
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
dependencies = [
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
"rustc-std-workspace-core",
"rustc-std-workspace-std",
"unicode-width",
]
2019-08-01 10:02:26 -05:00
[[package]]
name = "getrandom"
2019-08-22 05:28:03 -05:00
version = "0.1.12"
2019-08-01 10:02:26 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-08-22 05:28:03 -05:00
checksum = "473a1265acc8ff1e808cd0a1af8cee3c2ee5200916058a2ca113c29f2d903571"
2019-08-01 10:02:26 -05:00
dependencies = [
"cfg-if",
"libc",
2019-08-22 05:28:03 -05:00
"wasi",
2019-08-01 10:02:26 -05:00
]
[[package]]
name = "git2"
2019-08-27 16:03:32 -05:00
version = "0.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-08-27 16:03:32 -05:00
checksum = "327d698f86a7ebdfeb86a4238ccdb004828939d3a3555b6ead679541d14e36c0"
dependencies = [
"bitflags",
"libc",
"libgit2-sys",
"log",
"openssl-probe",
"openssl-sys",
2019-08-20 02:32:53 -05:00
"url 2.1.0",
]
[[package]]
name = "git2-curl"
2019-08-27 16:03:32 -05:00
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-08-27 16:03:32 -05:00
checksum = "cd6527e480187ce19aaf4fa6acfb7657b25628ce31cb8ffabdfca3bf731524c5"
dependencies = [
"curl",
"git2",
"log",
2019-08-20 02:32:53 -05:00
"url 2.1.0",
]
[[package]]
name = "glob"
2019-03-12 15:34:47 -05:00
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
[[package]]
name = "globset"
2019-05-16 00:27:39 -05:00
version = "0.4.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ef4feaabe24a0a658fd9cf4a9acf6ed284f045c77df0f49020ba3245cfb7b454"
dependencies = [
"aho-corasick",
"bstr",
"fnv",
"log",
"regex",
]
[[package]]
name = "graphviz"
version = "0.0.0"
2019-04-07 07:59:33 -05:00
[[package]]
name = "h2"
version = "0.1.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a539b63339fbbb00e081e84b6e11bd1d9634a82d91da2984a18ac74a8823f392"
2019-04-07 07:59:33 -05:00
dependencies = [
"byteorder",
"bytes",
"fnv",
"futures",
"http",
"indexmap",
"log",
"slab",
"string",
"tokio-io",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "handlebars"
version = "2.0.1"
2019-01-18 20:39:37 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df044dd42cdb7e32f28557b661406fc0f2494be75199779998810dbc35030e0d"
2019-01-18 20:39:37 -06:00
dependencies = [
"hashbrown",
"lazy_static 1.3.0",
"log",
"pest",
"pest_derive",
"quick-error",
"regex",
"serde",
"serde_json",
2019-01-18 20:39:37 -06:00
]
[[package]]
name = "hashbrown"
2019-06-12 11:31:32 -05:00
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1de41fb8dba9714efd92241565cdff73f78508c95697dd56787d3cba27e2353"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-alloc",
"rustc-std-workspace-core",
"serde",
]
[[package]]
name = "heck"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea04fa3ead4e05e51a7c806fc07271fdbde4e246a6c6d1efd52e72230b771b82"
dependencies = [
"unicode-segmentation",
]
[[package]]
name = "hex"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
[[package]]
name = "hex"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "023b39be39e3a2da62a94feb433e91e8bcd37676fbc8bea371daf52b7a769a3e"
2019-08-20 02:32:53 -05:00
[[package]]
name = "home"
2019-08-27 16:03:32 -05:00
version = "0.5.0"
2019-08-20 02:32:53 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-08-27 16:03:32 -05:00
checksum = "c07c315e106bd6f83f026a20ddaeef2706782e490db1dcdd37caad38a0e895b3"
2019-08-20 02:32:53 -05:00
dependencies = [
"scopeguard 1.0.0",
"winapi 0.3.6",
]
2019-06-18 22:36:47 -05:00
[[package]]
name = "html5ever"
version = "0.23.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ce65ac8028cf5a287a7dbf6c4e0a6cf2dcf022ed5b167a81bae66ebf599a8b7"
2019-06-18 22:36:47 -05:00
dependencies = [
"log",
"mac",
"markup5ever",
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
2019-06-18 22:36:47 -05:00
]
2019-03-28 22:13:13 -05:00
[[package]]
name = "http"
version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fe67e3678f2827030e89cc4b9e7ecd16d52f132c0b940ab5005f88e821500f6a"
2019-03-28 22:13:13 -05:00
dependencies = [
"bytes",
"fnv",
"itoa",
2019-03-28 22:13:13 -05:00
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "http-body"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6741c859c1b2463a423a1dbce98d418e6c3c3fc720fb0d45528657320920292d"
2019-04-07 07:59:33 -05:00
dependencies = [
"bytes",
"futures",
"http",
"tokio-buf",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "httparse"
version = "1.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd179ae861f0c2e53da70d892f5f3029f9594be0c41dc5269cd371691b1dc2f9"
2019-04-07 07:59:33 -05:00
[[package]]
name = "humantime"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f"
dependencies = [
"quick-error",
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "hyper"
version = "0.12.31"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6481fff8269772d4463253ca83c788104a7305cb3fb9136bc651a6211e46e03f"
dependencies = [
"bytes",
"futures",
"futures-cpupool",
"h2",
"http",
"http-body",
"httparse",
"iovec",
"itoa",
"log",
"net2",
"rustc_version",
"time",
"tokio",
"tokio-buf",
"tokio-executor",
"tokio-io",
"tokio-reactor",
"tokio-tcp",
"tokio-threadpool",
"tokio-timer",
"want",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "hyper-tls"
version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a800d6aa50af4b5850b2b0f659625ce9504df908e9733b635720483be26174f"
2019-04-07 07:59:33 -05:00
dependencies = [
"bytes",
"futures",
"hyper",
"native-tls",
"tokio-io",
2019-04-07 07:59:33 -05:00
]
2019-06-18 22:36:47 -05:00
[[package]]
name = "ident_case"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
2019-06-18 22:36:47 -05:00
[[package]]
name = "idna"
2018-07-17 11:04:22 -05:00
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e"
dependencies = [
"matches",
"unicode-bidi",
"unicode-normalization",
2017-02-15 16:55:26 -06:00
]
2019-07-31 19:44:39 -05:00
[[package]]
name = "idna"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9"
2019-07-31 19:44:39 -05:00
dependencies = [
"matches",
"unicode-bidi",
"unicode-normalization",
2019-07-31 19:44:39 -05:00
]
2017-12-06 02:25:29 -06:00
[[package]]
name = "if_chain"
2019-05-26 12:21:54 -05:00
version = "1.0.0"
2017-12-06 02:25:29 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c3360c7b59e5ffa2653671fb74b4741a5d343c03f331c0a4aeda42b5c2b0ec7d"
2017-12-06 02:25:29 -06:00
[[package]]
name = "ignore"
2019-05-16 00:27:39 -05:00
version = "0.4.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8dc57fa12805f367736a38541ac1a9fc6a52812a0ca959b1d4d4b640a89eb002"
dependencies = [
"crossbeam-channel",
"globset",
"lazy_static 1.3.0",
"log",
"memchr",
"regex",
"same-file",
"thread_local",
"walkdir",
"winapi-util",
]
2018-12-02 19:33:20 -06:00
[[package]]
name = "im-rc"
2019-05-23 15:27:49 -05:00
version = "13.0.0"
2018-12-02 19:33:20 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0a0197597d095c0d11107975d3175173f810ee572c2501ff4de64f4f3f119806"
2018-12-02 19:33:20 -06:00
dependencies = [
"rustc_version",
"sized-chunks",
"typenum",
2018-12-02 19:33:20 -06:00
]
[[package]]
name = "indexmap"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e81a7c05f79578dbc15793d8b619db9ba32b4577003ef3af1a91c416798c58d"
2017-05-08 17:01:13 -05:00
[[package]]
name = "installer"
version = "0.0.0"
dependencies = [
"clap",
"failure",
"flate2",
"lazy_static 1.3.0",
"num_cpus",
"rayon",
"remove_dir_all",
"tar",
"walkdir",
"winapi 0.3.6",
"xz2",
2017-05-08 17:01:13 -05:00
]
[[package]]
name = "iovec"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dbe6e417e7d0975db6512b90796e8ce223145ac4e33c377e4a42882a0e88bb08"
dependencies = [
"libc",
"winapi 0.2.8",
]
[[package]]
name = "is-match"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e5b386aef33a1c677be65237cb9d32c3f3ef56bd035949710c4bb13083eb053"
[[package]]
name = "itertools"
version = "0.7.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f58856976b776fedd95533137617a02fb25719f40e7d9b01c7043cd65474f450"
dependencies = [
"either",
]
[[package]]
name = "itertools"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b8467d9c1cebe26feb08c640139247fac215782d35371ade9a2136ed6085358"
dependencies = [
"either",
]
[[package]]
name = "itoa"
2019-06-12 09:37:30 -05:00
version = "0.4.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "501266b7edd0174f8530248f87f99c88fbe60ca4ef3dd486835b8d8d53136f7f"
[[package]]
name = "jemalloc-sys"
2019-03-26 05:29:21 -05:00
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7bef0d4ce37578dfd80b466e3d8324bd9de788e249f1accebb0c472ea4b52bdc"
dependencies = [
"cc",
"fs_extra",
"libc",
]
[[package]]
name = "jobserver"
2019-08-01 10:02:26 -05:00
version = "0.1.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f74e73053eaf95399bf926e48fc7a2a3ce50bd0eaaa2357d391e95b2dcdd4f10"
dependencies = [
"libc",
"log",
"rand 0.7.0",
]
[[package]]
name = "json"
version = "0.11.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9ad0485404155f45cce53a40d4b2d6ac356418300daed05273d9e26f91c390be"
2019-09-08 03:28:11 -05:00
[[package]]
name = "jsonrpc-client-transports"
version = "13.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39577db48b004cffb4c5b8e5c9b993c177c52599ecbee88711e815acf65144db"
dependencies = [
"failure",
"futures",
"jsonrpc-core",
"jsonrpc-pubsub",
"jsonrpc-server-utils",
"log",
"parity-tokio-ipc",
"serde",
"serde_json",
"tokio",
"url 1.7.2",
]
[[package]]
name = "jsonrpc-core"
2019-09-08 03:28:11 -05:00
version = "13.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "dd42951eb35079520ee29b7efbac654d85821b397ef88c8151600ef7e2d00217"
dependencies = [
"futures",
"log",
"serde",
"serde_derive",
"serde_json",
]
2019-09-08 03:28:11 -05:00
[[package]]
name = "jsonrpc-core-client"
version = "13.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f047c10738edee7c3c6acf5241a0ce33df32ef9230c1a7fb03e4a77ee72c992f"
dependencies = [
"jsonrpc-client-transports",
]
[[package]]
name = "jsonrpc-derive"
version = "13.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29f9149f785deaae92a4c834a9a1a83a4313b8cfedccf15362cd4cf039a64501"
dependencies = [
"proc-macro-crate",
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
]
[[package]]
name = "jsonrpc-ipc-server"
version = "13.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "256c5e4292c17b4c2ecdf542299dc8e9d6b3939c075c54825570ad9317fe5751"
dependencies = [
"jsonrpc-core",
"jsonrpc-server-utils",
"log",
"parity-tokio-ipc",
"parking_lot 0.9.0",
"tokio-service",
]
[[package]]
name = "jsonrpc-pubsub"
version = "13.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2c08b444cc0ed70263798834343d0ac875e664257df8079160f23ac1ea79446"
dependencies = [
"jsonrpc-core",
"log",
"parking_lot 0.9.0",
"serde",
]
[[package]]
name = "jsonrpc-server-utils"
version = "13.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "44561bfdd31401bad790527f1e951dde144f2341ddc3e1b859d32945e1a34eff"
dependencies = [
"bytes",
"globset",
"jsonrpc-core",
"lazy_static 1.3.0",
"log",
"num_cpus",
"tokio",
"tokio-codec",
2019-09-19 03:32:31 -05:00
"unicase 2.5.1",
2019-09-08 03:28:11 -05:00
]
[[package]]
name = "kernel32-sys"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7507624b29483431c0ba2d82aece8ca6cdba9382bff4ddd0f7490560c056098d"
dependencies = [
"winapi 0.2.8",
"winapi-build",
]
[[package]]
name = "lazy_static"
2017-12-06 02:25:29 -06:00
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "76f033c7ad61445c5b347c7382dd1237847eb1bce590fe50365dcb33d546be73"
2017-12-06 02:25:29 -06:00
[[package]]
name = "lazy_static"
version = "1.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bc5729f27f159ddd61f4df6228e827e86643d4d3e7c32183cb30a1c08f604a14"
[[package]]
name = "lazycell"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b294d6fa9ee409a054354afc4352b0b9ef7ca222c69b8812cbea9e7d2bf3783f"
[[package]]
name = "libc"
2019-08-22 05:28:03 -05:00
version = "0.2.62"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-08-22 05:28:03 -05:00
checksum = "34fcd2c08d2f832f376f4173a231990fa5aef4e99fb569867318a227ef4c06ba"
std: Depend directly on crates.io crates Ever since we added a Cargo-based build system for the compiler the standard library has always been a little special, it's never been able to depend on crates.io crates for runtime dependencies. This has been a result of various limitations, namely that Cargo doesn't understand that crates from crates.io depend on libcore, so Cargo tries to build crates before libcore is finished. I had an idea this afternoon, however, which lifts the strategy from #52919 to directly depend on crates.io crates from the standard library. After all is said and done this removes a whopping three submodules that we need to manage! The basic idea here is that for any crate `std` depends on it adds an *optional* dependency on an empty crate on crates.io, in this case named `rustc-std-workspace-core`. This crate is overridden via `[patch]` in this repository to point to a local crate we write, and *that* has a `path` dependency on libcore. Note that all `no_std` crates also depend on `compiler_builtins`, but if we're not using submodules we can publish `compiler_builtins` to crates.io and all crates can depend on it anyway! The basic strategy then looks like: * The standard library (or some transitive dep) decides to depend on a crate `foo`. * The standard library adds ```toml [dependencies] foo = { version = "0.1", features = ['rustc-dep-of-std'] } ``` * The crate `foo` has an optional dependency on `rustc-std-workspace-core` * The crate `foo` has an optional dependency on `compiler_builtins` * The crate `foo` has a feature `rustc-dep-of-std` which activates these crates and any other necessary infrastructure in the crate. A sample commit for `dlmalloc` [turns out to be quite simple][commit]. After that all `no_std` crates should largely build "as is" and still be publishable on crates.io! Notably they should be able to continue to use stable Rust if necessary, since the `rename-dependency` feature of Cargo is soon stabilizing. As a proof of concept, this commit removes the `dlmalloc`, `libcompiler_builtins`, and `libc` submodules from this repository. Long thorns in our side these are now gone for good and we can directly depend on crates.io! It's hoped that in the long term we can bring in other crates as necessary, but for now this is largely intended to simply make it easier to manage these crates and remove submodules. This should be a transparent non-breaking change for all users, but one possible stickler is that this almost for sure breaks out-of-tree `std`-building tools like `xargo` and `cargo-xbuild`. I think it should be relatively easy to get them working, however, as all that's needed is an entry in the `[patch]` section used to build the standard library. Hopefully we can work with these tools to solve this problem! [commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-19 23:52:50 -06:00
dependencies = [
"rustc-std-workspace-core",
std: Depend directly on crates.io crates Ever since we added a Cargo-based build system for the compiler the standard library has always been a little special, it's never been able to depend on crates.io crates for runtime dependencies. This has been a result of various limitations, namely that Cargo doesn't understand that crates from crates.io depend on libcore, so Cargo tries to build crates before libcore is finished. I had an idea this afternoon, however, which lifts the strategy from #52919 to directly depend on crates.io crates from the standard library. After all is said and done this removes a whopping three submodules that we need to manage! The basic idea here is that for any crate `std` depends on it adds an *optional* dependency on an empty crate on crates.io, in this case named `rustc-std-workspace-core`. This crate is overridden via `[patch]` in this repository to point to a local crate we write, and *that* has a `path` dependency on libcore. Note that all `no_std` crates also depend on `compiler_builtins`, but if we're not using submodules we can publish `compiler_builtins` to crates.io and all crates can depend on it anyway! The basic strategy then looks like: * The standard library (or some transitive dep) decides to depend on a crate `foo`. * The standard library adds ```toml [dependencies] foo = { version = "0.1", features = ['rustc-dep-of-std'] } ``` * The crate `foo` has an optional dependency on `rustc-std-workspace-core` * The crate `foo` has an optional dependency on `compiler_builtins` * The crate `foo` has a feature `rustc-dep-of-std` which activates these crates and any other necessary infrastructure in the crate. A sample commit for `dlmalloc` [turns out to be quite simple][commit]. After that all `no_std` crates should largely build "as is" and still be publishable on crates.io! Notably they should be able to continue to use stable Rust if necessary, since the `rename-dependency` feature of Cargo is soon stabilizing. As a proof of concept, this commit removes the `dlmalloc`, `libcompiler_builtins`, and `libc` submodules from this repository. Long thorns in our side these are now gone for good and we can directly depend on crates.io! It's hoped that in the long term we can bring in other crates as necessary, but for now this is largely intended to simply make it easier to manage these crates and remove submodules. This should be a transparent non-breaking change for all users, but one possible stickler is that this almost for sure breaks out-of-tree `std`-building tools like `xargo` and `cargo-xbuild`. I think it should be relatively easy to get them working, however, as all that's needed is an entry in the `[patch]` section used to build the standard library. Hopefully we can work with these tools to solve this problem! [commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-19 23:52:50 -06:00
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "libflate"
version = "0.1.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90c6f86f4b0caa347206f916f8b687b51d77c6ef8ff18d52dd007491fd580529"
2019-04-07 07:59:33 -05:00
dependencies = [
"adler32",
"byteorder",
"crc32fast",
"rle-decode-fast",
"take_mut",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "libgit2-sys"
2019-08-27 16:03:32 -05:00
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-08-27 16:03:32 -05:00
checksum = "8c2078aec6f4b16d1b89f6a72e4f6eb1e75ffa85312023291e89c6d3087bc8fb"
dependencies = [
"cc",
"libc",
"libssh2-sys",
"libz-sys",
"openssl-sys",
"pkg-config",
]
[[package]]
name = "libnghttp2-sys"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d75d7966bda4730b722d1eab8e668df445368a24394bae9fc1e8dc0ab3dbe4f4"
dependencies = [
"cc",
"libc",
]
[[package]]
name = "libssh2-sys"
version = "0.2.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "126a1f4078368b163bfdee65fbab072af08a1b374a5551b21e87ade27b1fbf9d"
dependencies = [
"cc",
"libc",
"libz-sys",
"openssl-sys",
"pkg-config",
"vcpkg",
]
[[package]]
name = "libz-sys"
version = "1.0.25"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2eb5e43362e38e2bca2fd5f5134c4d4564a23a5c28e9b95411652021a8675ebe"
dependencies = [
"cc",
"libc",
"pkg-config",
"vcpkg",
]
[[package]]
name = "linkchecker"
version = "0.1.0"
2018-08-04 17:24:39 -05:00
[[package]]
name = "lock_api"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "949826a5ccf18c1b3a7c3d57692778d21768b79e46eb9dd07bfc4c2160036c54"
2018-08-04 17:24:39 -05:00
dependencies = [
"owning_ref",
"scopeguard 0.3.3",
2018-08-04 17:24:39 -05:00
]
2019-09-08 03:28:11 -05:00
[[package]]
name = "lock_api"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f8912e782533a93a167888781b836336a6ca5da6175c05944c86cf28c31104dc"
dependencies = [
"scopeguard 1.0.0",
]
[[package]]
name = "log"
2019-08-27 16:03:32 -05:00
version = "0.4.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-08-27 16:03:32 -05:00
checksum = "14b6052be84e6b71ab17edffc2eeabf5c2c3ae1fdb464aae35ac50c67a44e1f7"
dependencies = [
"cfg-if",
]
[[package]]
name = "log_settings"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "19af41f0565d7c19b2058153ad0b42d4d5ce89ec4dbf06ed6741114a8b63e7cd"
dependencies = [
"lazy_static 1.3.0",
]
[[package]]
name = "lsp-codec"
2019-03-04 15:18:44 -06:00
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "169d737ad89cf8ddd82d1804d9122f54568c49377665157277cc90d747b1d31a"
dependencies = [
"bytes",
"serde_json",
"tokio-codec",
]
[[package]]
name = "lsp-types"
2019-09-08 03:28:11 -05:00
version = "0.60.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "fe3edefcd66dde1f7f1df706f46520a3c93adc5ca4bc5747da6621195e894efd"
dependencies = [
"bitflags",
"serde",
"serde_json",
2019-09-08 03:28:11 -05:00
"serde_repr",
"url 2.1.0",
]
2017-05-08 17:01:13 -05:00
[[package]]
name = "lzma-sys"
version = "0.1.14"
2017-05-08 17:01:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "16b5c59c57cc4d39e7999f50431aa312ea78af7c93b23fbb0c3567bd672e7f35"
2017-05-08 17:01:13 -05:00
dependencies = [
"cc",
"libc",
"pkg-config",
2017-05-08 17:01:13 -05:00
]
[[package]]
name = "mac"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
2018-08-15 08:07:07 -05:00
[[package]]
name = "macro-utils"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f2c4deaccc2ead6a28c16c0ba82f07d52b6475397415ce40876e559b0b0ea510"
2018-08-15 08:07:07 -05:00
[[package]]
name = "maplit"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08cbb6b4fef96b6d77bfc40ec491b1690c779e77b05cd9f07f787ed376fd4c43"
2019-06-18 22:36:47 -05:00
[[package]]
name = "markup5ever"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1af46a727284117e09780d05038b1ce6fc9c76cc6df183c3dae5a8955a25e21"
2019-06-18 22:36:47 -05:00
dependencies = [
"log",
"phf",
"phf_codegen",
"serde",
"serde_derive",
"serde_json",
"string_cache",
"string_cache_codegen",
"tendril",
2019-06-18 22:36:47 -05:00
]
[[package]]
name = "matches"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
[[package]]
name = "mdbook"
version = "0.3.1"
2019-01-18 20:39:37 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "949bb2acb2cff9fa5c375cf9c43e70b3dba0a974d9fe01c31285d7a84d2a0fa2"
dependencies = [
"ammonia",
"chrono",
"clap",
"elasticlunr-rs",
"env_logger 0.6.2",
"error-chain",
"handlebars",
"itertools 0.8.0",
"lazy_static 1.3.0",
"log",
"memchr",
"open",
2019-09-19 03:32:31 -05:00
"pulldown-cmark 0.5.3",
"regex",
"serde",
"serde_derive",
"serde_json",
"shlex",
"tempfile",
"toml",
"toml-query",
2019-01-18 20:39:37 -06:00
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "mdbook-linkcheck"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77d1f0ba4d1e6b86fa18e8853d026d7d76a97eb7eb5eb052ed80901e43b7fc10"
2019-04-07 07:59:33 -05:00
dependencies = [
"env_logger 0.6.2",
"failure",
"log",
"mdbook",
"memchr",
2019-09-19 03:32:31 -05:00
"pulldown-cmark 0.5.3",
"rayon",
"regex",
"reqwest",
"semver",
"serde",
"serde_derive",
"serde_json",
2019-09-08 03:28:11 -05:00
"structopt 0.2.18",
"url 1.7.2",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "measureme"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d09de7dafa3aa334bc806447c7e4de69419723312f4b88b80b561dea66601ce8"
dependencies = [
"byteorder",
"memmap",
"rustc-hash",
]
2017-12-06 02:25:29 -06:00
[[package]]
name = "memchr"
version = "2.2.0"
2017-12-06 02:25:29 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2efc7bc57c883d4a4d6e3246905283d8dae951bb3bd32f49d6ef297f546e1c39"
[[package]]
name = "memmap"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2ffa2c986de11a9df78620c01eeaaf27d94d3ff02bf81bfcca953102dd0c6ff"
dependencies = [
"libc",
"winapi 0.3.6",
]
2018-02-25 21:15:45 -06:00
[[package]]
name = "memoffset"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0f9dc261e2b62d7a622bf416ea3c5245cdd5d9a7fcc428c0d06804dfce1775b3"
2018-02-25 21:15:45 -06:00
2019-07-25 08:57:25 -05:00
[[package]]
name = "memoffset"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce6075db033bbbb7ee5a0bbd3a3186bbae616f57fb001c485c7ff77955f8177f"
2019-07-25 08:57:25 -05:00
dependencies = [
"rustc_version",
2019-07-25 08:57:25 -05:00
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "mime"
version = "0.3.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3e27ca21f40a310bd06d9031785f4801710d566c184a6e15bad4f1d9b65f9425"
2019-04-07 07:59:33 -05:00
dependencies = [
2019-09-19 03:32:31 -05:00
"unicase 2.5.1",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "mime_guess"
version = "2.0.0-alpha.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30de2e4613efcba1ec63d8133f344076952090c122992a903359be5a4f99c3ed"
2019-04-07 07:59:33 -05:00
dependencies = [
"mime",
"phf",
"phf_codegen",
"unicase 1.4.2",
2019-04-07 07:59:33 -05:00
]
2018-05-10 17:02:05 -05:00
[[package]]
name = "minifier"
2019-07-28 13:24:52 -05:00
version = "0.0.33"
2018-05-10 17:02:05 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "70bf0db2475f5e627787da77ca52fe33c294063f49f4134b8bc662eedb5e7332"
2018-05-10 17:02:05 -05:00
dependencies = [
"macro-utils",
2018-05-10 17:02:05 -05:00
]
2017-05-08 17:01:13 -05:00
[[package]]
name = "miniz-sys"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0300eafb20369952951699b68243ab4334f4b10a88f411c221d444b36c40e649"
dependencies = [
"cc",
"libc",
]
[[package]]
name = "miniz_oxide"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ad30a47319c16cde58d0314f5d98202a80c9083b5f61178457403dfb14e509c"
dependencies = [
"adler32",
]
[[package]]
name = "miniz_oxide_c_api"
version = "0.2.0"
2017-05-08 17:01:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28edaef377517fd9fe3e085c37d892ce7acd1fbeab9239c5a36eec352d8a8b7e"
2017-05-08 17:01:13 -05:00
dependencies = [
"cc",
"crc",
"libc",
"miniz_oxide",
]
[[package]]
name = "mio"
version = "0.6.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71646331f2619b1026cc302f87a2b8b648d5c6dd6937846a16cc8ce0f347f432"
dependencies = [
"fuchsia-zircon",
"fuchsia-zircon-sys",
"iovec",
"kernel32-sys",
"lazycell",
"libc",
"log",
"miow 0.2.1",
"net2",
"slab",
"winapi 0.2.8",
]
[[package]]
name = "mio-named-pipes"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f5e374eff525ce1c5b7687c4cef63943e7686524a387933ad27ca7ec43779cb3"
dependencies = [
"log",
"mio",
"miow 0.3.3",
"winapi 0.3.6",
]
[[package]]
name = "mio-uds"
version = "0.6.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "966257a94e196b11bb43aca423754d87429960a768de9414f3691d6957abf125"
dependencies = [
"iovec",
"libc",
"mio",
]
[[package]]
name = "miow"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8c1f2f3b1cf331de6896aabf6e9d55dca90356cc9960cca7eaaf408a355ae919"
dependencies = [
"kernel32-sys",
"net2",
"winapi 0.2.8",
"ws2_32-sys",
]
2018-03-07 01:39:55 -06:00
[[package]]
name = "miow"
version = "0.3.3"
2018-03-07 01:39:55 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "396aa0f2003d7df8395cb93e09871561ccc3e785f0acb369170e8cc74ddf9226"
2018-03-07 01:39:55 -06:00
dependencies = [
"socket2",
"winapi 0.3.6",
2018-03-07 01:39:55 -06:00
]
[[package]]
name = "miri"
version = "0.1.0"
dependencies = [
"byteorder",
"cargo_metadata",
"colored",
"compiletest_rs",
"directories",
"env_logger 0.6.2",
2019-08-27 08:49:47 -05:00
"getrandom",
"hex 0.3.2",
"log",
"num-traits",
2019-09-15 06:53:04 -05:00
"rand 0.7.0",
"rustc-workspace-hack",
"rustc_version",
"shell-escape",
"vergen",
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "native-tls"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b2df1a4c22fd44a62147fd8f13dd0f95c9d8ca7b2610299b2a2f9cf8964274e"
2019-04-07 07:59:33 -05:00
dependencies = [
"lazy_static 1.3.0",
"libc",
"log",
"openssl",
"openssl-probe",
"openssl-sys",
"schannel",
"security-framework",
"security-framework-sys",
"tempfile",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "net2"
version = "0.2.33"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42550d9fb7b6684a6d404d9fa7250c2eb2646df731d1c06afc06dcee9e1bcf88"
dependencies = [
"cfg-if",
"libc",
"winapi 0.3.6",
]
[[package]]
name = "new_debug_unreachable"
2019-06-25 09:09:25 -05:00
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f40f005c60db6e03bae699e414c58bf9aa7ea02a2d0b9bfbcf19286cc4c82b30"
2018-02-25 21:15:45 -06:00
[[package]]
name = "nodrop"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9a2228dca57108069a5262f2ed8bd2e82496d2e074a06d1ccc7ce1687b6ae0a2"
2018-02-25 21:15:45 -06:00
[[package]]
2018-07-14 17:01:24 -05:00
name = "num-integer"
version = "0.1.39"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e83d528d2677f0518c570baf2b7abdcf0cd2d248860b68507bdcb3e91d4c0cea"
dependencies = [
"num-traits",
2017-05-08 17:01:13 -05:00
]
[[package]]
name = "num-traits"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0b3a5d7cc97d6d30d8b9bc8fa19bf45349ffe46241e8816f50f62f6d6aaabee1"
[[package]]
name = "num_cpus"
version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c51a3322e4bca9d212ad9a158a02abc6934d005490c054a2778df73a70aa0a30"
dependencies = [
"libc",
]
[[package]]
name = "once_cell"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d6a04cb71e910d0034815600180f62a95bf6e67942d7ab52a166a68c7d7e9cd0"
[[package]]
name = "open"
2017-09-27 17:37:02 -05:00
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c281318d992e4432cfa799969467003d05921582a7489a8325e37f8a450d5113"
[[package]]
name = "opener"
2019-05-06 20:19:21 -05:00
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "998c59e83d9474c01127a96e023b7a04bb061dd286bf8bb939d31dc8d31a7448"
dependencies = [
"winapi 0.3.6",
]
[[package]]
name = "openssl"
2019-01-02 04:06:36 -06:00
version = "0.10.16"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ec7bd7ca4cce6dbdc77e7c1230682740d307d1218a87fb0349a571272be749f9"
dependencies = [
"bitflags",
"cfg-if",
"foreign-types",
"lazy_static 1.3.0",
"libc",
"openssl-sys",
]
[[package]]
name = "openssl-probe"
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
2018-08-14 16:27:26 -05:00
[[package]]
name = "openssl-src"
version = "111.6.0+1.1.1d"
2018-08-14 16:27:26 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b9c2da1de8a7a3f860919c01540b03a6db16de042405a8a07a5e9d0b4b825d9c"
2018-08-14 16:27:26 -05:00
dependencies = [
"cc",
2018-08-14 16:27:26 -05:00
]
[[package]]
name = "openssl-sys"
2019-04-22 15:12:52 -05:00
version = "0.9.43"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33c86834957dd5b915623e94f2f4ab2c70dd8f6b70679824155d5ae21dbd495d"
dependencies = [
"cc",
"libc",
"openssl-src",
"pkg-config",
"rustc_version",
"vcpkg",
]
[[package]]
name = "ordermap"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a86ed3f5f244b372d6b1a00b72ef7f8876d0bc6a78a4c9985c53614041512063"
2018-07-05 19:34:00 -05:00
[[package]]
name = "ordslice"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd20eec3dbe4376829cb7d80ae6ac45e0a766831dca50202ff2d40db46a8a024"
2018-07-05 19:34:00 -05:00
[[package]]
name = "owning_ref"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cdf84f41639e037b484f93433aa3897863b561ed65c6e59c7073d7c561710f37"
dependencies = [
"stable_deref_trait",
]
2018-12-01 04:36:32 -06:00
[[package]]
name = "packed_simd"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25d36de864f7218ec5633572a800109bbe5a1cc8d9d95a967f3daf93ea7e6ddc"
2018-12-01 04:36:32 -06:00
dependencies = [
"cfg-if",
2018-12-01 04:36:32 -06:00
]
[[package]]
name = "panic_abort"
version = "0.0.0"
dependencies = [
"compiler_builtins",
"core",
"libc",
]
[[package]]
name = "panic_unwind"
version = "0.0.0"
dependencies = [
"alloc",
"cfg-if",
"compiler_builtins",
"core",
"libc",
"unwind",
]
2019-09-08 03:28:11 -05:00
[[package]]
name = "parity-tokio-ipc"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8281bf4f1d6429573f89589bf68d89451c46750977a8264f8ea3edbabeba7947"
dependencies = [
"bytes",
"futures",
"log",
"mio-named-pipes",
"miow 0.3.3",
"rand 0.7.0",
"tokio",
"tokio-named-pipes",
"tokio-uds",
"winapi 0.3.6",
]
[[package]]
name = "parking_lot"
version = "0.7.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab41b4aed082705d1056416ae4468b6ea99d52599ecf3169b00088d43113e337"
dependencies = [
2019-09-08 03:28:11 -05:00
"lock_api 0.1.3",
"parking_lot_core 0.4.0",
]
[[package]]
name = "parking_lot"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f842b1982eb6c2fe34036a4fbfb06dd185a3f5c8edfaacdf7d1ea10b07de6252"
dependencies = [
"lock_api 0.3.1",
"parking_lot_core 0.6.2",
"rustc_version",
]
[[package]]
name = "parking_lot_core"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94c8c7923936b28d546dfd14d4472eaf34c99b14e1c973a32b3e6d4eb04298c9"
dependencies = [
"libc",
"rand 0.6.1",
"rustc_version",
"smallvec",
"winapi 0.3.6",
]
2019-09-08 03:28:11 -05:00
[[package]]
name = "parking_lot_core"
version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b876b1b9e7ac6e1a74a6da34d25c42e17e8862aa409cbbbdcfc8d86c6f3bc62b"
dependencies = [
"cfg-if",
"cloudabi",
"libc",
"redox_syscall",
"rustc_version",
"smallvec",
"winapi 0.3.6",
]
[[package]]
name = "percent-encoding"
2017-12-06 02:25:29 -06:00
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
2019-07-31 19:44:39 -05:00
[[package]]
name = "percent-encoding"
version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba4f28a6faf4ffea762ba8f4baef48c61a6db348647c73095034041fc79dd954"
2019-07-31 19:44:39 -05:00
2019-01-18 20:39:37 -06:00
[[package]]
name = "pest"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54f0c72a98d8ab3c99560bfd16df8059cc10e1f9a8e83e6e3b97718dd766e9c3"
2019-01-18 20:39:37 -06:00
dependencies = [
"ucd-trie",
2019-01-18 20:39:37 -06:00
]
[[package]]
name = "pest_derive"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0"
2019-01-18 20:39:37 -06:00
dependencies = [
"pest",
"pest_generator",
2019-01-18 20:39:37 -06:00
]
[[package]]
name = "pest_generator"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63120576c4efd69615b5537d3d052257328a4ca82876771d6944424ccfd9f646"
2019-01-18 20:39:37 -06:00
dependencies = [
"pest",
"pest_meta",
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
2019-01-18 20:39:37 -06:00
]
[[package]]
name = "pest_meta"
version = "2.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f5a3492a4ed208ffc247adcdcc7ba2a95be3104f58877d0d02f0df39bf3efb5e"
2019-01-18 20:39:37 -06:00
dependencies = [
"maplit",
"pest",
"sha-1",
2019-01-18 20:39:37 -06:00
]
[[package]]
name = "petgraph"
version = "0.4.13"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c3659d1ee90221741f65dd128d9998311b0e40c5d3c23a62445938214abce4f"
dependencies = [
"fixedbitset",
"ordermap",
]
[[package]]
name = "phf"
2019-06-21 06:14:56 -05:00
version = "0.7.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3da44b85f8e8dfaec21adae67f95d93244b2ecf6ad2a692320598dcc8e6dd18"
dependencies = [
"phf_shared",
]
[[package]]
name = "phf_codegen"
2019-06-21 06:14:56 -05:00
version = "0.7.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b03e85129e324ad4166b06b2c7491ae27fe3ec353af72e72cd1654c7225d517e"
dependencies = [
"phf_generator",
"phf_shared",
]
[[package]]
name = "phf_generator"
2019-06-21 06:14:56 -05:00
version = "0.7.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "09364cc93c159b8b06b1f4dd8a4398984503483891b0c26b867cf431fb132662"
dependencies = [
"phf_shared",
"rand 0.6.1",
]
[[package]]
name = "phf_shared"
2019-06-21 06:14:56 -05:00
version = "0.7.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "234f71a15de2288bcb7e3b6515828d22af7ec8598ee6d24c3b526fa0a80b67a0"
dependencies = [
"siphasher",
"unicase 1.4.2",
]
[[package]]
name = "pkg-config"
version = "0.3.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "676e8eb2b1b4c9043511a9b7bea0915320d7e502b0a079fb03f9635a5252b18c"
2018-05-24 16:52:01 -05:00
[[package]]
name = "polonius-engine"
2019-07-18 05:32:06 -05:00
version = "0.10.0"
2018-05-24 16:52:01 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-07-18 05:32:06 -05:00
checksum = "50fa9dbfd0d3d60594da338cfe6f94028433eecae4b11b7e83fd99759227bbfe"
2018-05-29 06:52:51 -05:00
dependencies = [
"datafrog",
"log",
"rustc-hash",
2018-05-29 06:52:51 -05:00
]
2018-05-24 16:52:01 -05:00
2019-08-01 10:02:26 -05:00
[[package]]
name = "ppv-lite86"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3cbf9f658cdb5000fcf6f362b8ea2ba154b9f146a61c7a20d647034c6b6561b"
2019-08-01 10:02:26 -05:00
[[package]]
name = "precomputed-hash"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
[[package]]
name = "pretty_assertions"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3a029430f0d744bc3d15dd474d591bed2402b645d024583082b9f63bb936dac6"
dependencies = [
"ansi_term",
"difference",
]
2018-12-02 19:33:20 -06:00
[[package]]
name = "pretty_env_logger"
version = "0.3.0"
2018-12-02 19:33:20 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df8b3f4e0475def7d9c2e5de8e5a1306949849761e107b360d03e98eafaffd61"
2018-12-02 19:33:20 -06:00
dependencies = [
"chrono",
"env_logger 0.6.2",
"log",
2018-12-02 19:33:20 -06:00
]
2019-09-08 03:28:11 -05:00
[[package]]
name = "proc-macro-crate"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e10d4b51f154c8a7fb96fd6dad097cb74b863943ec010ac94b9fd1be8861fe1e"
dependencies = [
"toml",
]
[[package]]
name = "proc-macro-error"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aeccfe4d5d8ea175d5f0e4a2ad0637e0f4121d63bd99d356fb1f39ab2e7c6097"
dependencies = [
"proc-macro2 1.0.3",
"quote 1.0.2",
"syn 1.0.5",
]
[[package]]
name = "proc-macro2"
2019-06-12 09:37:30 -05:00
version = "0.4.30"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf3d2011ab5c909338f7887f4fc896d35932e29146c12c8d01da6b22a80ba759"
dependencies = [
"unicode-xid 0.1.0",
]
2019-09-08 03:28:11 -05:00
[[package]]
name = "proc-macro2"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e98a83a9f9b331f54b924e68a66acb1bb35cb01fb0a23645139967abefb697e8"
dependencies = [
"unicode-xid 0.2.0",
]
[[package]]
name = "proc_macro"
version = "0.0.0"
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
dependencies = [
"std",
]
[[package]]
name = "profiler_builtins"
version = "0.0.0"
dependencies = [
"cc",
"compiler_builtins",
"core",
]
[[package]]
name = "pulldown-cmark"
2019-07-18 16:37:27 -05:00
version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77043da1282374688ee212dc44b3f37ff929431de9c9adc3053bd3cee5630357"
dependencies = [
"bitflags",
"getopts",
"memchr",
2019-09-19 03:32:31 -05:00
"unicase 2.5.1",
]
[[package]]
name = "pulldown-cmark"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85b0ad0d4c1702965ee6bb5b4ff5e71f83850b497d497e9444302987bf9e26a4"
dependencies = [
"bitflags",
"getopts",
"memchr",
"unicase 2.5.1",
]
[[package]]
name = "punycode"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6ddd112cca70a4d30883b2d21568a1d376ff8be4758649f64f973c6845128ad3"
[[package]]
name = "quick-error"
version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9274b940887ce9addde99c4eee6b5c44cc494b182b97e73dc8ffdcb3397fd3f0"
[[package]]
2017-12-06 02:25:29 -06:00
name = "quine-mc_cluskey"
version = "0.2.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "07589615d719a60c8dd8a4622e7946465dfef20d1a428f969e3443e7386d5f45"
[[package]]
name = "quote"
2019-06-12 09:37:30 -05:00
version = "0.6.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "faf4799c5d274f3868a4aae320a0a182cbd2baee377b378f080e16a23e9d80db"
dependencies = [
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
]
[[package]]
name = "quote"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "053a8c8bcc71fcce321828dc897a98ab9760bef03a4fc36693c231e5b3216cfe"
dependencies = [
"proc-macro2 1.0.3",
]
[[package]]
name = "racer"
2019-09-08 03:28:11 -05:00
version = "2.1.27"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "dde22b84ab75220015cbd91240222402bf885cbe3a5dc856475771abb82533ae"
dependencies = [
"bitflags",
"clap",
"derive_more",
"env_logger 0.6.2",
"humantime",
"lazy_static 1.3.0",
"log",
"rls-span",
"rustc-ap-syntax",
]
[[package]]
name = "rand"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ae9d223d52ae411a33cf7e54ec6034ec165df296ccd23533d671a28252b6f66a"
dependencies = [
"cloudabi",
"fuchsia-zircon",
"libc",
"rand_chacha 0.1.0",
"rand_core 0.3.0",
"rand_hc 0.1.0",
"rand_isaac",
"rand_pcg",
"rand_xorshift 0.1.0",
"rustc_version",
"winapi 0.3.6",
]
2019-08-01 10:02:26 -05:00
[[package]]
name = "rand"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d47eab0e83d9693d40f825f86948aa16eff6750ead4bdffc4ab95b8b3a7f052c"
2019-08-01 10:02:26 -05:00
dependencies = [
"getrandom",
"libc",
"rand_chacha 0.2.1",
"rand_core 0.5.0",
"rand_hc 0.2.0",
2019-08-01 10:02:26 -05:00
]
[[package]]
name = "rand_chacha"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "771b009e3a508cb67e8823dda454aaa5368c7bc1c16829fb77d3e980440dd34a"
dependencies = [
"rand_core 0.3.0",
"rustc_version",
]
2019-08-01 10:02:26 -05:00
[[package]]
name = "rand_chacha"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "03a2a90da8c7523f554344f921aa97283eadf6ac484a6d2a7d0212fa7f8d6853"
2019-08-01 10:02:26 -05:00
dependencies = [
"c2-chacha",
"rand_core 0.5.0",
2019-08-01 10:02:26 -05:00
]
[[package]]
name = "rand_core"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0905b6b7079ec73b314d4c748701f6931eb79fd97c668caa3f1899b22b32c6db"
2019-06-10 13:22:31 -05:00
[[package]]
name = "rand_core"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d0e7a549d590831370895ab7ba4ea0c1b6b011d106b5ff2da6eee112615e6dc0"
2019-06-10 13:22:31 -05:00
2019-08-01 10:02:26 -05:00
[[package]]
name = "rand_core"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "615e683324e75af5d43d8f7a39ffe3ee4a9dc42c5c701167a71dc59c3a493aca"
2019-08-01 10:02:26 -05:00
dependencies = [
"getrandom",
2019-08-01 10:02:26 -05:00
]
[[package]]
name = "rand_hc"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b40677c7be09ae76218dc623efbf7b18e34bced3f38883af07bb75630a21bc4"
dependencies = [
"rand_core 0.3.0",
]
2019-08-01 10:02:26 -05:00
[[package]]
name = "rand_hc"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
2019-08-01 10:02:26 -05:00
dependencies = [
"rand_core 0.5.0",
2019-08-01 10:02:26 -05:00
]
[[package]]
name = "rand_isaac"
version = "0.1.1"
2018-07-26 16:58:55 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ded997c9d5f13925be2a6fd7e66bf1872597f759fd9dd93513dd7e92e5a5ee08"
dependencies = [
"rand_core 0.3.0",
]
2019-06-10 13:22:31 -05:00
[[package]]
name = "rand_os"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7b75f676a1e053fc562eafbb47838d67c84801e38fc1ba459e8f180deabd5071"
2019-06-10 13:22:31 -05:00
dependencies = [
"cloudabi",
"fuchsia-cprng",
"libc",
"rand_core 0.4.0",
"rdrand",
"winapi 0.3.6",
2019-06-10 13:22:31 -05:00
]
[[package]]
name = "rand_pcg"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "086bd09a33c7044e56bb44d5bdde5a60e7f119a9e95b0775f545de759a32fe05"
dependencies = [
"rand_core 0.3.0",
"rustc_version",
]
[[package]]
name = "rand_xorshift"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "effa3fcaa47e18db002bdde6060944b6d2f9cfd8db471c30e873448ad9187be3"
dependencies = [
"rand_core 0.3.0",
]
2018-07-26 16:58:55 -05:00
2019-04-19 02:37:33 -05:00
[[package]]
name = "rand_xorshift"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "77d416b86801d23dde1aa643023b775c3a462efc0ed96443add11546cdf1dca8"
2019-04-19 02:37:33 -05:00
dependencies = [
"rand_core 0.5.0",
2019-04-19 02:37:33 -05:00
]
2018-02-25 21:15:45 -06:00
[[package]]
name = "rayon"
2019-04-07 07:59:33 -05:00
version = "1.1.0"
2018-02-25 21:15:45 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a4b0186e22767d5b9738a05eab7c6ac90b15db17e5b5f9bd87976dd7d89a10a4"
2018-02-25 21:15:45 -06:00
dependencies = [
"crossbeam-deque 0.6.3",
"either",
"rayon-core",
2017-12-06 02:25:29 -06:00
]
[[package]]
name = "rayon-core"
2019-04-07 07:59:33 -05:00
version = "1.5.0"
2017-12-06 02:25:29 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ebbe0df8435ac0c397d467b6cad6d25543d06e8a019ef3f6af3c384597515bd2"
2017-12-06 02:25:29 -06:00
dependencies = [
"crossbeam-deque 0.6.3",
"crossbeam-queue",
"crossbeam-utils 0.6.5",
"lazy_static 1.3.0",
"num_cpus",
2019-06-10 13:22:31 -05:00
]
[[package]]
name = "rdrand"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "678054eb77286b51581ba43620cc911abf02758c91f93f479767aed0f90458b2"
2019-06-10 13:22:31 -05:00
dependencies = [
"rand_core 0.3.0",
]
2017-09-21 20:58:35 -05:00
[[package]]
name = "redox_syscall"
version = "0.1.43"
2017-12-06 02:25:29 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "679da7508e9a6390aeaf7fbd02a800fdc64b73fe2204dd2c8ae66d22d9d5ad5d"
2017-12-06 02:25:29 -06:00
[[package]]
name = "redox_termios"
version = "0.1.1"
2017-09-21 20:58:35 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7e891cfe48e9100a70a3b6eb652fef28920c117d366339687bd5576160db0f76"
2017-12-06 02:25:29 -06:00
dependencies = [
"redox_syscall",
2017-12-06 02:25:29 -06:00
]
2017-09-21 20:58:35 -05:00
2019-02-18 03:32:58 -06:00
[[package]]
name = "redox_users"
2019-06-10 13:22:31 -05:00
version = "0.3.0"
2019-02-18 03:32:58 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3fe5204c3a17e97dde73f285d49be585df59ed84b50a872baf416e73b62c3828"
2019-02-18 03:32:58 -06:00
dependencies = [
"argon2rs",
"failure",
"rand_os",
"redox_syscall",
2019-02-18 03:32:58 -06:00
]
2018-05-11 07:11:06 -05:00
[[package]]
name = "regex"
2019-05-16 00:27:39 -05:00
version = "1.1.6"
2018-05-11 07:11:06 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f0a0bcab2fd7d1d7c54fa9eae6f43eddeb9ce2e7352f8518a814a4f65d60c58"
2018-05-11 07:11:06 -05:00
dependencies = [
"aho-corasick",
"memchr",
"regex-syntax",
"thread_local",
"utf8-ranges",
2018-05-11 07:11:06 -05:00
]
[[package]]
name = "regex-syntax"
2019-05-16 00:27:39 -05:00
version = "0.6.6"
2018-05-11 07:11:06 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dcfd8681eebe297b81d98498869d4aae052137651ad7b96822f09ceb690d0a96"
2018-05-11 07:11:06 -05:00
dependencies = [
"ucd-util",
2018-05-11 07:11:06 -05:00
]
travis: Parallelize tests on Android Currently our slowest test suite on android, run-pass, takes over 5 times longer than the x86_64 component (~400 -> ~2200s). Typically QEMU emulation does indeed add overhead, but not 5x for this kind of workload. One of the slowest parts of the Android process is that *compilation* happens serially. Tests themselves need to run single-threaded on the emulator (due to how the test harness works) and this forces the compiles themselves to be single threaded. Now Travis gives us more than one core per machine, so it'd be much better if we could take advantage of them! The emulator itself is still fundamentally single-threaded, but we should see a nice speedup by sending binaries for it to run much more quickly. It turns out that we've already got all the tools to do this in-tree. The qemu-test-{server,client} that are in use for the ARM Linux testing are a perfect match for the Android emulator. This commit migrates the custom adb management code in compiletest/rustbuild to the same qemu-test-{server,client} implementation that ARM Linux uses. This allows us to lift the parallelism restriction on the compiletest test suites, namely run-pass. Consequently although we'll still basically run the tests themselves in single threaded mode we'll be able to compile all of them in parallel, keeping the pipeline much more full and using more cores for the work at hand. Additionally the architecture here should be a bit speedier as it should have less overhead than adb which is a whole new process on both the host and the emulator! Locally on an 8 core machine I've seen the run-pass test suite speed up from taking nearly an hour to only taking 6 minutes. I don't think we'll see quite a drastic speedup on Travis but I'm hoping this change can place the Android tests well below 2 hours instead of just above 2 hours. Because the client/server here are now repurposed for more than just QEMU, they've been renamed to `remote-test-{server,client}`. Note that this PR does not currently modify how debuginfo tests are executed on Android. While parallelizable it wouldn't be quite as easy, so that's left to another day. Thankfully that test suite is much smaller than the run-pass test suite. As a final fix I discovered that the ARM and Android test suites were actually running all library unit tests (e.g. stdtest, coretest, etc) twice. I've corrected that to only run tests once which should also give a nice boost in overall cycle time here.
2017-04-26 10:52:19 -05:00
[[package]]
name = "remote-test-client"
version = "0.1.0"
[[package]]
name = "remote-test-server"
version = "0.1.0"
[[package]]
name = "remove_dir_all"
2019-07-31 19:44:39 -05:00
version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4a83fa3702a688b9359eccba92d153ac33fd2e8462f9e0e3fdf155239ea7792e"
dependencies = [
"winapi 0.3.6",
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "reqwest"
version = "0.9.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e542d9f077c126af32536b6aacc75bb7325400eab8cd0743543be5d91660780d"
dependencies = [
"base64",
"bytes",
"encoding_rs",
"futures",
"http",
"hyper",
"hyper-tls",
"libflate",
"log",
"mime",
"mime_guess",
"native-tls",
"serde",
"serde_json",
"serde_urlencoded",
"tokio",
"tokio-executor",
"tokio-io",
"tokio-threadpool",
"tokio-timer",
"url 1.7.2",
"uuid",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "rle-decode-fast"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cabe4fa914dec5870285fa7f71f602645da47c486e68486d2b4ceb4a343e90ac"
2019-04-07 07:59:33 -05:00
[[package]]
name = "rls"
2019-09-08 03:28:11 -05:00
version = "1.39.0"
dependencies = [
"cargo",
"cargo_metadata",
"clippy_lints",
"crossbeam-channel",
"difference",
"env_logger 0.6.2",
"failure",
"futures",
"heck",
2019-09-08 03:28:11 -05:00
"home",
"itertools 0.8.0",
"jsonrpc-core",
"lazy_static 1.3.0",
"log",
"lsp-codec",
"lsp-types",
"num_cpus",
"ordslice",
"racer",
"rand 0.6.1",
"rayon",
"regex",
"rls-analysis",
"rls-data",
2019-09-08 03:28:11 -05:00
"rls-ipc",
"rls-rustc",
"rls-span",
"rls-vfs",
"rustc-serialize",
"rustc-workspace-hack",
2019-06-08 15:15:22 -05:00
"rustc_tools_util 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"rustfmt-nightly",
"serde",
"serde_derive",
2019-09-08 03:28:11 -05:00
"serde_ignored",
"serde_json",
"tempfile",
"tokio",
"tokio-process",
"tokio-timer",
"toml",
2019-09-08 03:28:11 -05:00
"url 2.1.0",
"walkdir",
]
[[package]]
name = "rls-analysis"
2019-07-30 06:00:27 -05:00
version = "0.18.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c0d208ad66717501222c74b42d9e823a7612592e85ed78b04074c8f58c0be0a"
dependencies = [
"derive-new",
"fst",
"itertools 0.7.8",
"json",
"log",
"rls-data",
"rls-span",
"serde",
"serde_json",
]
2018-02-02 01:29:59 -06:00
[[package]]
name = "rls-data"
version = "0.19.0"
2018-02-02 01:29:59 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "76c72ea97e045be5f6290bb157ebdc5ee9f2b093831ff72adfaf59025cf5c491"
2018-02-02 01:29:59 -06:00
dependencies = [
"rls-span",
"serde",
2018-02-02 01:29:59 -06:00
]
2019-09-08 03:28:11 -05:00
[[package]]
name = "rls-ipc"
version = "0.1.0"
dependencies = [
"jsonrpc-core",
"jsonrpc-core-client",
"jsonrpc-derive",
"jsonrpc-ipc-server",
"rls-data",
"serde",
]
2017-08-30 00:09:36 -05:00
[[package]]
name = "rls-rustc"
2019-03-10 11:03:32 -05:00
version = "0.6.0"
2019-09-08 03:28:11 -05:00
dependencies = [
"clippy_lints",
"env_logger 0.6.2",
2019-09-08 03:28:11 -05:00
"failure",
"futures",
"log",
"rand 0.6.1",
"rls-data",
"rls-ipc",
"serde",
"tokio",
]
2017-08-30 00:09:36 -05:00
[[package]]
name = "rls-span"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1cb4694410d8d2ce43ccff3682f1c782158a018d5a9a92185675677f7533eb3"
dependencies = [
"serde",
]
[[package]]
name = "rls-vfs"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ce4b57b25b4330ed5ec14028fc02141e083ddafda327e7eb598dc0569c8c83c9"
dependencies = [
"log",
"rls-span",
]
[[package]]
name = "rustbook"
version = "0.1.0"
dependencies = [
"clap",
"failure",
"mdbook",
"mdbook-linkcheck",
]
[[package]]
name = "rustc"
version = "0.0.0"
dependencies = [
"arena",
"backtrace",
"bitflags",
"byteorder",
"chalk-engine",
"fmt_macros",
"graphviz",
"jobserver",
"log",
"measureme",
"num_cpus",
"parking_lot 0.9.0",
"polonius-engine",
"rustc-rayon",
"rustc-rayon-core",
"rustc_apfloat",
"rustc_data_structures",
"rustc_errors",
"rustc_fs_util",
"rustc_macros",
"rustc_target",
"scoped-tls",
"serialize",
"smallvec",
"syntax",
"syntax_pos",
]
2019-07-30 06:00:27 -05:00
[[package]]
name = "rustc-ap-arena"
2019-09-08 03:28:11 -05:00
version = "583.0.0"
2019-07-30 06:00:27 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "f59b76d334bd533f3fdc5c651c27678c5e80fac67c6f7da22ba21a58878c55f5"
2019-07-30 06:00:27 -05:00
dependencies = [
"rustc-ap-rustc_data_structures",
"smallvec",
2019-07-30 06:00:27 -05:00
]
[[package]]
name = "rustc-ap-graphviz"
2019-09-08 03:28:11 -05:00
version = "583.0.0"
2019-07-30 06:00:27 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "3e632ef08ca17458acfd46d2ead3d541a1c249586cd5329f5fe333dacfab6142"
2019-07-30 06:00:27 -05:00
[[package]]
name = "rustc-ap-rustc_data_structures"
2019-09-08 03:28:11 -05:00
version = "583.0.0"
2019-07-30 06:00:27 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "e89e2c7be68185418f3cd56af3df8b29007a59a1cebefa63612d055f9bcb1a36"
2019-07-30 06:00:27 -05:00
dependencies = [
"cfg-if",
"crossbeam-utils 0.6.5",
"ena",
"indexmap",
"jobserver",
"lazy_static 1.3.0",
"log",
2019-09-08 03:28:11 -05:00
"parking_lot 0.7.1",
"rustc-ap-graphviz",
"rustc-ap-serialize",
"rustc-hash",
"rustc-rayon",
"rustc-rayon-core",
"smallvec",
"stable_deref_trait",
2019-07-30 06:00:27 -05:00
]
[[package]]
name = "rustc-ap-rustc_errors"
2019-09-08 03:28:11 -05:00
version = "583.0.0"
2019-07-30 06:00:27 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "1e47cb380abeb72b01e42b2342d592f7eeea7d536c2f1f0d0e550dc509e46333"
2019-07-30 06:00:27 -05:00
dependencies = [
"annotate-snippets",
"atty",
"log",
"rustc-ap-rustc_data_structures",
"rustc-ap-serialize",
"rustc-ap-syntax_pos",
2019-09-08 03:28:11 -05:00
"term_size",
"termcolor",
"unicode-width",
2019-07-30 06:00:27 -05:00
]
[[package]]
name = "rustc-ap-rustc_lexer"
2019-09-08 03:28:11 -05:00
version = "583.0.0"
2019-07-30 06:00:27 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "494cfaf67f49217d67d0774eeecbba61ac89acf478db97ef11f113ed8a959305"
dependencies = [
"unicode-xid 0.2.0",
]
2019-07-30 06:00:27 -05:00
[[package]]
name = "rustc-ap-rustc_macros"
2019-09-08 03:28:11 -05:00
version = "583.0.0"
2019-07-30 06:00:27 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "e2e5d36becc59b4497f9cbd3ae0610081de0207a1d0e95c066369167b14f486f"
2019-07-30 06:00:27 -05:00
dependencies = [
"itertools 0.8.0",
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
"synstructure",
2019-07-30 06:00:27 -05:00
]
[[package]]
name = "rustc-ap-rustc_target"
2019-09-08 03:28:11 -05:00
version = "583.0.0"
2019-07-30 06:00:27 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "a7bfc5f96dfc3b9f8d5b57884f7f37467ecff6776cd4b8b491a7daece6fdd7c2"
2019-07-30 06:00:27 -05:00
dependencies = [
"bitflags",
"log",
"rustc-ap-rustc_data_structures",
"rustc-ap-serialize",
"rustc-ap-syntax_pos",
2019-07-30 06:00:27 -05:00
]
[[package]]
name = "rustc-ap-serialize"
2019-09-08 03:28:11 -05:00
version = "583.0.0"
2019-07-30 06:00:27 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "2bb9ee231cf79eded39c56647499f83d6136ff5c8c0baaa9e21b6febee00f4f6"
2019-07-30 06:00:27 -05:00
dependencies = [
"indexmap",
"smallvec",
2019-07-30 06:00:27 -05:00
]
[[package]]
name = "rustc-ap-syntax"
2019-09-08 03:28:11 -05:00
version = "583.0.0"
2019-07-30 06:00:27 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "b3827fc208814efbde82d613e31d11b4250ce9e8cf8afe4a4d47bbbd099632c9"
2019-07-30 06:00:27 -05:00
dependencies = [
"bitflags",
"lazy_static 1.3.0",
"log",
"rustc-ap-rustc_data_structures",
"rustc-ap-rustc_errors",
"rustc-ap-rustc_lexer",
"rustc-ap-rustc_macros",
"rustc-ap-rustc_target",
"rustc-ap-serialize",
"rustc-ap-syntax_pos",
"scoped-tls",
"smallvec",
2019-07-30 06:00:27 -05:00
]
[[package]]
name = "rustc-ap-syntax_pos"
2019-09-08 03:28:11 -05:00
version = "583.0.0"
2019-07-30 06:00:27 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "930ed81c34f325e512cc315c04d676fa84a373879d5c43bb54054a0522b05213"
2019-07-30 06:00:27 -05:00
dependencies = [
"cfg-if",
"rustc-ap-arena",
"rustc-ap-rustc_data_structures",
"rustc-ap-rustc_macros",
"rustc-ap-serialize",
"scoped-tls",
"unicode-width",
2019-07-30 06:00:27 -05:00
]
2017-05-08 17:01:13 -05:00
[[package]]
name = "rustc-demangle"
2019-08-14 02:35:24 -05:00
version = "0.1.16"
2017-05-08 17:01:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c691c0e608126e00913e33f0ccf3727d5fc84573623b8d65b2df340b5201783"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-core",
]
2017-05-08 17:01:13 -05:00
2018-05-24 07:48:02 -05:00
[[package]]
name = "rustc-hash"
version = "1.0.1"
2018-05-24 07:48:02 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7540fc8b0c49f096ee9c961cda096467dce8084bec6bdca2fc83895fd9b28cb8"
dependencies = [
"byteorder",
]
2018-05-24 07:48:02 -05:00
[[package]]
name = "rustc-main"
version = "0.0.0"
dependencies = [
"jemalloc-sys",
"rustc_codegen_ssa",
"rustc_driver",
"rustc_target",
]
2019-04-25 15:50:41 -05:00
[[package]]
name = "rustc-rayon"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0d2e07e19601f21c59aad953c2632172ba70cb27e685771514ea66e4062b3363"
2019-04-25 15:50:41 -05:00
dependencies = [
"crossbeam-deque 0.2.0",
"either",
"rustc-rayon-core",
2019-04-25 15:50:41 -05:00
]
[[package]]
name = "rustc-rayon-core"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "79d38ca7cbc22fa59f09d8534ea4b27f67b0facf0cbe274433aceea227a02543"
2019-04-25 15:50:41 -05:00
dependencies = [
"crossbeam-deque 0.2.0",
"lazy_static 1.3.0",
"libc",
"num_cpus",
2019-04-25 15:50:41 -05:00
]
[[package]]
name = "rustc-serialize"
version = "0.3.24"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dcf128d1287d2ea9d80910b5f1120d0b8eede3fbf1abe91c40d39ea7d51e6fda"
[[package]]
name = "rustc-std-workspace-alloc"
version = "1.99.0"
dependencies = [
"alloc",
]
std: Depend directly on crates.io crates Ever since we added a Cargo-based build system for the compiler the standard library has always been a little special, it's never been able to depend on crates.io crates for runtime dependencies. This has been a result of various limitations, namely that Cargo doesn't understand that crates from crates.io depend on libcore, so Cargo tries to build crates before libcore is finished. I had an idea this afternoon, however, which lifts the strategy from #52919 to directly depend on crates.io crates from the standard library. After all is said and done this removes a whopping three submodules that we need to manage! The basic idea here is that for any crate `std` depends on it adds an *optional* dependency on an empty crate on crates.io, in this case named `rustc-std-workspace-core`. This crate is overridden via `[patch]` in this repository to point to a local crate we write, and *that* has a `path` dependency on libcore. Note that all `no_std` crates also depend on `compiler_builtins`, but if we're not using submodules we can publish `compiler_builtins` to crates.io and all crates can depend on it anyway! The basic strategy then looks like: * The standard library (or some transitive dep) decides to depend on a crate `foo`. * The standard library adds ```toml [dependencies] foo = { version = "0.1", features = ['rustc-dep-of-std'] } ``` * The crate `foo` has an optional dependency on `rustc-std-workspace-core` * The crate `foo` has an optional dependency on `compiler_builtins` * The crate `foo` has a feature `rustc-dep-of-std` which activates these crates and any other necessary infrastructure in the crate. A sample commit for `dlmalloc` [turns out to be quite simple][commit]. After that all `no_std` crates should largely build "as is" and still be publishable on crates.io! Notably they should be able to continue to use stable Rust if necessary, since the `rename-dependency` feature of Cargo is soon stabilizing. As a proof of concept, this commit removes the `dlmalloc`, `libcompiler_builtins`, and `libc` submodules from this repository. Long thorns in our side these are now gone for good and we can directly depend on crates.io! It's hoped that in the long term we can bring in other crates as necessary, but for now this is largely intended to simply make it easier to manage these crates and remove submodules. This should be a transparent non-breaking change for all users, but one possible stickler is that this almost for sure breaks out-of-tree `std`-building tools like `xargo` and `cargo-xbuild`. I think it should be relatively easy to get them working, however, as all that's needed is an entry in the `[patch]` section used to build the standard library. Hopefully we can work with these tools to solve this problem! [commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-19 23:52:50 -06:00
[[package]]
name = "rustc-std-workspace-core"
version = "1.99.0"
std: Depend directly on crates.io crates Ever since we added a Cargo-based build system for the compiler the standard library has always been a little special, it's never been able to depend on crates.io crates for runtime dependencies. This has been a result of various limitations, namely that Cargo doesn't understand that crates from crates.io depend on libcore, so Cargo tries to build crates before libcore is finished. I had an idea this afternoon, however, which lifts the strategy from #52919 to directly depend on crates.io crates from the standard library. After all is said and done this removes a whopping three submodules that we need to manage! The basic idea here is that for any crate `std` depends on it adds an *optional* dependency on an empty crate on crates.io, in this case named `rustc-std-workspace-core`. This crate is overridden via `[patch]` in this repository to point to a local crate we write, and *that* has a `path` dependency on libcore. Note that all `no_std` crates also depend on `compiler_builtins`, but if we're not using submodules we can publish `compiler_builtins` to crates.io and all crates can depend on it anyway! The basic strategy then looks like: * The standard library (or some transitive dep) decides to depend on a crate `foo`. * The standard library adds ```toml [dependencies] foo = { version = "0.1", features = ['rustc-dep-of-std'] } ``` * The crate `foo` has an optional dependency on `rustc-std-workspace-core` * The crate `foo` has an optional dependency on `compiler_builtins` * The crate `foo` has a feature `rustc-dep-of-std` which activates these crates and any other necessary infrastructure in the crate. A sample commit for `dlmalloc` [turns out to be quite simple][commit]. After that all `no_std` crates should largely build "as is" and still be publishable on crates.io! Notably they should be able to continue to use stable Rust if necessary, since the `rename-dependency` feature of Cargo is soon stabilizing. As a proof of concept, this commit removes the `dlmalloc`, `libcompiler_builtins`, and `libc` submodules from this repository. Long thorns in our side these are now gone for good and we can directly depend on crates.io! It's hoped that in the long term we can bring in other crates as necessary, but for now this is largely intended to simply make it easier to manage these crates and remove submodules. This should be a transparent non-breaking change for all users, but one possible stickler is that this almost for sure breaks out-of-tree `std`-building tools like `xargo` and `cargo-xbuild`. I think it should be relatively easy to get them working, however, as all that's needed is an entry in the `[patch]` section used to build the standard library. Hopefully we can work with these tools to solve this problem! [commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-19 23:52:50 -06:00
dependencies = [
"core",
std: Depend directly on crates.io crates Ever since we added a Cargo-based build system for the compiler the standard library has always been a little special, it's never been able to depend on crates.io crates for runtime dependencies. This has been a result of various limitations, namely that Cargo doesn't understand that crates from crates.io depend on libcore, so Cargo tries to build crates before libcore is finished. I had an idea this afternoon, however, which lifts the strategy from #52919 to directly depend on crates.io crates from the standard library. After all is said and done this removes a whopping three submodules that we need to manage! The basic idea here is that for any crate `std` depends on it adds an *optional* dependency on an empty crate on crates.io, in this case named `rustc-std-workspace-core`. This crate is overridden via `[patch]` in this repository to point to a local crate we write, and *that* has a `path` dependency on libcore. Note that all `no_std` crates also depend on `compiler_builtins`, but if we're not using submodules we can publish `compiler_builtins` to crates.io and all crates can depend on it anyway! The basic strategy then looks like: * The standard library (or some transitive dep) decides to depend on a crate `foo`. * The standard library adds ```toml [dependencies] foo = { version = "0.1", features = ['rustc-dep-of-std'] } ``` * The crate `foo` has an optional dependency on `rustc-std-workspace-core` * The crate `foo` has an optional dependency on `compiler_builtins` * The crate `foo` has a feature `rustc-dep-of-std` which activates these crates and any other necessary infrastructure in the crate. A sample commit for `dlmalloc` [turns out to be quite simple][commit]. After that all `no_std` crates should largely build "as is" and still be publishable on crates.io! Notably they should be able to continue to use stable Rust if necessary, since the `rename-dependency` feature of Cargo is soon stabilizing. As a proof of concept, this commit removes the `dlmalloc`, `libcompiler_builtins`, and `libc` submodules from this repository. Long thorns in our side these are now gone for good and we can directly depend on crates.io! It's hoped that in the long term we can bring in other crates as necessary, but for now this is largely intended to simply make it easier to manage these crates and remove submodules. This should be a transparent non-breaking change for all users, but one possible stickler is that this almost for sure breaks out-of-tree `std`-building tools like `xargo` and `cargo-xbuild`. I think it should be relatively easy to get them working, however, as all that's needed is an entry in the `[patch]` section used to build the standard library. Hopefully we can work with these tools to solve this problem! [commit]: https://github.com/alexcrichton/dlmalloc-rs/commit/28ee12db813a3b650a7c25d1c36d2c17dcb88ae3
2018-11-19 23:52:50 -06:00
]
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
[[package]]
name = "rustc-std-workspace-std"
version = "1.99.0"
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
dependencies = [
"std",
]
[[package]]
name = "rustc-workspace-hack"
version = "1.0.0"
dependencies = [
"crossbeam-utils 0.6.5",
"serde",
"serde_json",
"smallvec",
"url 2.1.0",
"winapi 0.3.6",
]
[[package]]
name = "rustc_apfloat"
version = "0.0.0"
dependencies = [
"bitflags",
"smallvec",
]
2016-12-29 22:28:11 -06:00
[[package]]
name = "rustc_asan"
version = "0.0.0"
dependencies = [
"alloc",
"build_helper",
"cmake",
"compiler_builtins",
"core",
2016-12-29 22:28:11 -06:00
]
[[package]]
name = "rustc_ast_borrowck"
version = "0.0.0"
dependencies = [
"graphviz",
"log",
"rustc",
"rustc_data_structures",
"syntax_pos",
]
2018-05-08 08:10:16 -05:00
[[package]]
name = "rustc_codegen_llvm"
version = "0.0.0"
dependencies = [
"rustc_llvm",
2018-05-08 08:10:16 -05:00
]
[[package]]
name = "rustc_codegen_ssa"
version = "0.0.0"
dependencies = [
"bitflags",
"cc",
"jobserver",
"libc",
"log",
"memmap",
"num_cpus",
"rustc",
"rustc_apfloat",
"rustc_codegen_utils",
"rustc_data_structures",
"rustc_errors",
"rustc_fs_util",
"rustc_incremental",
"rustc_target",
"serialize",
"syntax",
"syntax_pos",
"tempfile",
]
2018-05-08 08:10:16 -05:00
[[package]]
name = "rustc_codegen_utils"
version = "0.0.0"
dependencies = [
"log",
"punycode",
"rustc",
"rustc-demangle",
"rustc_data_structures",
"rustc_metadata",
"rustc_target",
"syntax",
"syntax_pos",
2018-05-08 08:10:16 -05:00
]
[[package]]
name = "rustc_data_structures"
version = "0.0.0"
dependencies = [
"cfg-if",
"crossbeam-utils 0.6.5",
"ena",
"graphviz",
"indexmap",
"jobserver",
"lazy_static 1.3.0",
"log",
"parking_lot 0.9.0",
"rustc-hash",
"rustc-rayon",
"rustc-rayon-core",
"serialize",
"smallvec",
"stable_deref_trait",
]
[[package]]
name = "rustc_driver"
version = "0.0.0"
dependencies = [
"env_logger 0.6.2",
"graphviz",
"lazy_static 1.3.0",
"log",
"rustc",
"rustc_ast_borrowck",
"rustc_codegen_utils",
"rustc_data_structures",
"rustc_errors",
"rustc_interface",
"rustc_metadata",
"rustc_mir",
"rustc_plugin",
"rustc_plugin_impl",
"rustc_save_analysis",
"rustc_target",
"serialize",
"syntax",
"syntax_pos",
]
[[package]]
name = "rustc_errors"
version = "0.0.0"
dependencies = [
"annotate-snippets",
"atty",
"log",
"rustc_data_structures",
"serialize",
"syntax_pos",
"term_size",
"termcolor",
"unicode-width",
]
[[package]]
name = "rustc_fs_util"
version = "0.0.0"
[[package]]
name = "rustc_incremental"
version = "0.0.0"
dependencies = [
"graphviz",
"log",
2019-08-22 05:28:03 -05:00
"rand 0.7.0",
"rustc",
"rustc_data_structures",
"rustc_fs_util",
"serialize",
"syntax",
"syntax_pos",
]
[[package]]
name = "rustc_interface"
version = "0.0.0"
dependencies = [
"log",
"once_cell",
"rustc",
"rustc-rayon",
"rustc_ast_borrowck",
"rustc_codegen_ssa",
"rustc_codegen_utils",
"rustc_data_structures",
"rustc_errors",
"rustc_incremental",
"rustc_lint",
"rustc_metadata",
"rustc_mir",
"rustc_passes",
"rustc_plugin_impl",
"rustc_privacy",
"rustc_resolve",
"rustc_traits",
"rustc_typeck",
"serialize",
"smallvec",
"syntax",
"syntax_ext",
"syntax_pos",
"tempfile",
]
[[package]]
name = "rustc_lexer"
version = "0.1.0"
dependencies = [
"unicode-xid 0.2.0",
]
[[package]]
name = "rustc_lint"
version = "0.0.0"
dependencies = [
"log",
"rustc",
"rustc_data_structures",
"rustc_target",
"syntax",
"syntax_pos",
]
[[package]]
name = "rustc_llvm"
version = "0.0.0"
dependencies = [
"build_helper",
"cc",
]
2016-12-29 22:28:11 -06:00
[[package]]
name = "rustc_lsan"
version = "0.0.0"
dependencies = [
"alloc",
"build_helper",
"cmake",
"compiler_builtins",
"core",
2016-12-29 22:28:11 -06:00
]
2019-02-28 18:22:10 -06:00
[[package]]
name = "rustc_macros"
version = "0.1.0"
dependencies = [
"itertools 0.8.0",
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
"synstructure",
2019-02-28 18:22:10 -06:00
]
[[package]]
name = "rustc_metadata"
version = "0.0.0"
dependencies = [
"flate2",
"log",
"memmap",
"rustc",
"rustc_data_structures",
"rustc_errors",
"rustc_target",
"serialize",
"smallvec",
"stable_deref_trait",
"syntax",
"syntax_pos",
]
[[package]]
name = "rustc_mir"
version = "0.0.0"
dependencies = [
"arena",
"either",
"graphviz",
"log",
"log_settings",
"polonius-engine",
"rustc",
"rustc_apfloat",
"rustc_data_structures",
"rustc_errors",
"rustc_lexer",
"rustc_target",
"serialize",
"smallvec",
"syntax",
"syntax_pos",
]
2016-12-29 22:28:11 -06:00
[[package]]
name = "rustc_msan"
version = "0.0.0"
dependencies = [
"alloc",
"build_helper",
"cmake",
"compiler_builtins",
"core",
2016-12-29 22:28:11 -06:00
]
[[package]]
name = "rustc_passes"
version = "0.0.0"
dependencies = [
"log",
"rustc",
"rustc_data_structures",
"rustc_errors",
"syntax",
"syntax_pos",
]
[[package]]
name = "rustc_plugin"
version = "0.0.0"
dependencies = [
"rustc_plugin_impl",
]
[[package]]
name = "rustc_plugin_impl"
version = "0.0.0"
dependencies = [
"rustc",
"rustc_metadata",
"syntax",
"syntax_pos",
]
[[package]]
name = "rustc_privacy"
version = "0.0.0"
dependencies = [
"log",
"rustc",
"rustc_data_structures",
"rustc_typeck",
"syntax",
"syntax_pos",
]
[[package]]
name = "rustc_resolve"
version = "0.0.0"
dependencies = [
"arena",
"bitflags",
"log",
"rustc",
"rustc_data_structures",
"rustc_errors",
"rustc_metadata",
"smallvec",
"syntax",
"syntax_pos",
]
[[package]]
name = "rustc_save_analysis"
version = "0.0.0"
dependencies = [
"log",
"rls-data",
"rls-span",
"rustc",
"rustc_codegen_utils",
"rustc_data_structures",
"rustc_target",
"serde_json",
"syntax",
"syntax_pos",
]
[[package]]
name = "rustc_target"
version = "0.0.0"
dependencies = [
"bitflags",
"log",
"rustc_data_structures",
"serialize",
"syntax_pos",
]
[[package]]
name = "rustc_tools_util"
2019-06-08 15:15:22 -05:00
version = "0.2.0"
submodules: update clippy from 39bd8449 to c63b6349 Changes: ```` Revert "tests: used_underscore_binding_macro: disable random_state lint." Revert "Auto merge of #3603 - xfix:random-state-lint, r=phansch" rustup https://github.com/rust-lang/rust/pull/56837 rustup (don't know the exact PR unfortunately) Add itertools to integration tests tests: used_underscore_binding_macro: disable random_state lint. Trigger `use_self` lint in local macros Add run-rustfix where it already passes rustup: https://github.com/rust-lang/rust/pull/55517 Make clippy work with parallel rustc Add ui/for_kv_map test for false positive in #1279 Update to latest compiletest-rs release add testcase for #3462 deps: bump rustc_tools_util version from 0.1.0 to 0.1.1 just in case... Use compiletest's aux-build header instead of include macro rustc_tool_utils: fix failure to create proper non-repo version string when used in crates on crates.io, bump version rustfmt UI test cleanup: Extract ifs_same_cond tests Extract IteratorFalsePositives into option_helpers.rs UI test cleanup: Extract for_kv_map lint tests UI test cleanup: Extract lint from methods.rs test Fix test for rust-lang/rust#57250 Limit infinite_iter collect() check to known types Some improvements to util documentation Use hashset for name blacklist Reformat random_state tests Use node_id_to_type_opt instead of node_it_to_type in random_state Check pattern equality while checking declaration equality random_state lint Move constant write checks to temporary_assignment lint Use an FxHashSet for valid idents in documentation lint Fix suggestion for unnecessary_ref lint Update CONTRIBUTING.md for rustfix tests Update .fixed files via update-references.sh Run rustfix on first UI test Use WIP branch for compiletest_rs ````
2019-01-05 08:40:10 -06:00
[[package]]
name = "rustc_tools_util"
2019-05-26 12:21:54 -05:00
version = "0.2.0"
2019-06-08 15:15:22 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b725dadae9fabc488df69a287f5a99c5eaf5d10853842a8a3dfac52476f544ee"
[[package]]
name = "rustc_traits"
version = "0.0.0"
dependencies = [
"chalk-engine",
"log",
"rustc",
"rustc_data_structures",
"rustc_target",
"smallvec",
"syntax",
"syntax_pos",
]
2016-12-29 22:28:11 -06:00
[[package]]
name = "rustc_tsan"
version = "0.0.0"
dependencies = [
"alloc",
"build_helper",
"cmake",
"compiler_builtins",
"core",
2016-12-29 22:28:11 -06:00
]
[[package]]
name = "rustc_typeck"
version = "0.0.0"
dependencies = [
"arena",
"log",
"rustc",
"rustc_data_structures",
"rustc_errors",
"rustc_target",
"smallvec",
"syntax",
"syntax_pos",
]
2018-05-11 07:11:06 -05:00
[[package]]
name = "rustc_version"
version = "0.2.3"
2018-05-11 07:11:06 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
2018-05-11 07:11:06 -05:00
dependencies = [
"semver",
2018-05-11 07:11:06 -05:00
]
[[package]]
name = "rustdoc"
version = "0.0.0"
dependencies = [
"minifier",
2019-09-19 03:32:31 -05:00
"pulldown-cmark 0.5.3",
"rustc-rayon",
"tempfile",
]
2018-02-05 16:43:53 -06:00
[[package]]
name = "rustdoc-themes"
version = "0.1.0"
[[package]]
name = "rustdoc-tool"
version = "0.0.0"
dependencies = [
"rustdoc",
]
[[package]]
name = "rustfix"
2019-08-07 19:23:54 -05:00
version = "0.4.6"
2018-07-17 11:04:22 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7150ac777a2931a53489f5a41eb0937b84e3092a20cd0e73ad436b65b507f607"
2018-07-17 11:04:22 -05:00
dependencies = [
"failure",
"log",
"serde",
"serde_json",
]
[[package]]
name = "rustfmt-config_proc_macro"
2019-09-08 03:28:11 -05:00
version = "0.2.0"
dependencies = [
2019-09-08 03:28:11 -05:00
"proc-macro2 1.0.3",
"quote 1.0.2",
"serde",
2019-09-08 03:28:11 -05:00
"syn 1.0.5",
]
2019-07-30 06:00:27 -05:00
[[package]]
name = "rustfmt-nightly"
2019-09-08 03:28:11 -05:00
version = "1.4.8"
2019-07-30 06:00:27 -05:00
dependencies = [
"annotate-snippets",
"bytecount",
"cargo_metadata",
"derive-new",
"diff",
"dirs",
"env_logger 0.6.2",
"failure",
"getopts",
"ignore",
"itertools 0.8.0",
"lazy_static 1.3.0",
"log",
"regex",
"rustc-ap-rustc_target",
"rustc-ap-syntax",
"rustc-ap-syntax_pos",
"rustc-workspace-hack",
"rustfmt-config_proc_macro",
"serde",
"serde_json",
2019-09-08 03:28:11 -05:00
"structopt 0.3.1",
"term 0.6.0",
"toml",
"unicode-segmentation",
"unicode-width",
"unicode_categories",
2019-07-30 06:00:27 -05:00
]
[[package]]
name = "ryu"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c92464b447c0ee8c4fb3824ecc8383b81717b9f1e74ba2e72540aef7b9f82997"
[[package]]
name = "same-file"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8f20c4be53a8a1ff4c1f1b2bd14570d2f634628709752f0702ecdd2b3f9a5267"
dependencies = [
"winapi-util",
]
[[package]]
name = "schannel"
version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e1a231dc10abf6749cfa5d7767f25888d484201accbd919b66ab5413c502d56"
dependencies = [
"lazy_static 1.3.0",
"winapi 0.3.6",
]
2019-02-26 04:15:52 -06:00
[[package]]
name = "scoped-tls"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
2019-02-26 04:15:52 -06:00
2019-02-18 03:32:58 -06:00
[[package]]
name = "scoped_threadpool"
version = "0.1.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d51f5df5af43ab3f1360b429fa5e0152ac5ce8c0bd6485cae490332e96846a8"
2019-02-18 03:32:58 -06:00
2017-12-06 02:25:29 -06:00
[[package]]
name = "scopeguard"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "94258f53601af11e6a49f722422f6e3425c52b06245a5cf9bc09908b174f5e27"
2017-12-06 02:25:29 -06:00
2019-07-25 08:57:25 -05:00
[[package]]
name = "scopeguard"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b42e15e59b18a828bbf5c58ea01debb36b9b096346de35d941dcb89009f24a0d"
2019-07-25 08:57:25 -05:00
2019-04-07 07:59:33 -05:00
[[package]]
name = "security-framework"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "eee63d0f4a9ec776eeb30e220f0bc1e092c3ad744b2a379e3993070364d3adc2"
2019-04-07 07:59:33 -05:00
dependencies = [
"core-foundation",
"core-foundation-sys",
"libc",
"security-framework-sys",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "security-framework-sys"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9636f8989cbf61385ae4824b98c1aaa54c994d7d8b41f11c601ed799f0549a56"
2019-04-07 07:59:33 -05:00
dependencies = [
"core-foundation-sys",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "semver"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
dependencies = [
"semver-parser",
"serde",
]
[[package]]
name = "semver-parser"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
[[package]]
name = "serde"
2019-08-20 02:32:53 -05:00
version = "1.0.99"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-08-20 02:32:53 -05:00
checksum = "fec2851eb56d010dc9a21b89ca53ee75e6528bab60c11e89d38390904982da9f"
2018-12-17 12:23:04 -06:00
dependencies = [
"serde_derive",
2018-12-17 12:23:04 -06:00
]
[[package]]
name = "serde_derive"
version = "1.0.81"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "477b13b646f5b5b56fc95bedfc3b550d12141ce84f466f6c44b9a17589923885"
dependencies = [
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
]
2019-08-20 02:32:53 -05:00
[[package]]
name = "serde_ignored"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c24bbb8f4b81834f618cd3e28698235c2fba06ddf7f4fbe30519dd081364e59"
dependencies = [
"serde",
]
[[package]]
name = "serde_json"
version = "1.0.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "051c49229f282f7c6f3813f8286cc1e3323e8051823fce42c7ea80fe13521704"
dependencies = [
"itoa",
"ryu",
"serde",
]
2019-09-08 03:28:11 -05:00
[[package]]
name = "serde_repr"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd02c7587ec314570041b2754829f84d873ced14a96d1fd1823531e11db40573"
dependencies = [
"proc-macro2 1.0.3",
"quote 1.0.2",
"syn 1.0.5",
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "serde_urlencoded"
version = "0.5.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "642dd69105886af2efd227f75a520ec9b44a820d65bc133a9131f7d229fd165a"
2019-04-07 07:59:33 -05:00
dependencies = [
"dtoa",
"itoa",
"serde",
"url 1.7.2",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "serialize"
version = "0.0.0"
2018-08-13 14:15:16 -05:00
dependencies = [
"indexmap",
"smallvec",
2018-08-13 14:15:16 -05:00
]
2019-01-18 20:39:37 -06:00
[[package]]
name = "sha-1"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "51b9d1f3b5de8a167ab06834a7c883bd197f2191e1dda1a22d9ccfeedbf9aded"
2019-01-18 20:39:37 -06:00
dependencies = [
"block-buffer",
"byte-tools",
"digest",
"fake-simd",
2019-01-18 20:39:37 -06:00
]
[[package]]
name = "shell-escape"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "170a13e64f2a51b77a45702ba77287f5c6829375b04a69cf2222acd17d0cfab9"
[[package]]
name = "shlex"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7fdf1b9db47230893d76faad238fd6097fd6d6a9245cd7a4d90dbd639536bbd2"
[[package]]
name = "signal-hook"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1f272d1b7586bec132ed427f532dd418d8beca1ca7f2caf7df35569b1415a4b4"
dependencies = [
"arc-swap",
"libc",
]
[[package]]
name = "siphasher"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0df90a788073e8d0235a67e50441d47db7c8ad9debd91cbf43736a2a92d36537"
2019-05-23 15:27:49 -05:00
[[package]]
name = "sized-chunks"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2a2eb3fe454976eefb479f78f9b394d34d661b647c6326a3a6e66f68bb12c26"
2019-05-23 15:27:49 -05:00
dependencies = [
"typenum",
2019-05-23 15:27:49 -05:00
]
[[package]]
name = "slab"
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
[[package]]
name = "smallvec"
2019-06-12 09:37:30 -05:00
version = "0.6.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab606a9c5e214920bb66c458cd7be8ef094f813f20fe77a54cc7dbfff220d4b7"
2017-06-26 11:26:15 -05:00
[[package]]
name = "socket2"
version = "0.3.8"
2017-06-26 11:26:15 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4d11a52082057d87cb5caa31ad812f4504b97ab44732cd8359df2e9ff9f48e7"
2017-06-26 11:26:15 -05:00
dependencies = [
"cfg-if",
"libc",
"redox_syscall",
"winapi 0.3.6",
2017-06-26 11:26:15 -05:00
]
[[package]]
name = "stable_deref_trait"
version = "1.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ffbc596e092fe5f598b12ef46cc03754085ac2f4d8c739ad61c4ae266cc3b3fa"
[[package]]
name = "std"
version = "0.0.0"
dependencies = [
"alloc",
"backtrace",
"cfg-if",
"compiler_builtins",
"core",
"dlmalloc",
"fortanix-sgx-abi",
"hashbrown",
"libc",
"panic_abort",
"panic_unwind",
"profiler_builtins",
2019-08-22 05:28:03 -05:00
"rand 0.7.0",
"rustc_asan",
"rustc_lsan",
"rustc_msan",
"rustc_tsan",
"unwind",
2019-08-29 12:13:15 -05:00
"wasi",
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "string"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d24114bfcceb867ca7f71a0d3fe45d45619ec47a6fbfa98cb14e14250bfa5d6d"
2019-04-07 07:59:33 -05:00
dependencies = [
"bytes",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "string_cache"
version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "25d70109977172b127fe834e5449e5ab1740b9ba49fa18a2020f509174f25423"
dependencies = [
"lazy_static 1.3.0",
"new_debug_unreachable",
"phf_shared",
"precomputed-hash",
"serde",
"string_cache_codegen",
"string_cache_shared",
]
[[package]]
name = "string_cache_codegen"
2019-02-26 05:06:31 -06:00
version = "0.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1eea1eee654ef80933142157fdad9dd8bc43cf7c74e999e369263496f04ff4da"
dependencies = [
"phf_generator",
"phf_shared",
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"string_cache_shared",
]
[[package]]
name = "string_cache_shared"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b1884d1bc09741d466d9b14e6d37ac89d6909cbcac41dd9ae982d4d063bbedfc"
2019-05-23 15:27:49 -05:00
[[package]]
name = "strip-ansi-escapes"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d63676e2abafa709460982ddc02a3bb586b6d15a49b75c212e06edd3933acee"
2019-05-23 15:27:49 -05:00
dependencies = [
"vte",
2019-05-23 15:27:49 -05:00
]
[[package]]
name = "strsim"
2019-09-08 03:28:11 -05:00
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
[[package]]
name = "structopt"
2019-07-15 08:51:42 -05:00
version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "16c2cdbf9cc375f15d1b4141bc48aeef444806655cd0e904207edc8d68d86ed7"
dependencies = [
"clap",
2019-09-08 03:28:11 -05:00
"structopt-derive 0.2.18",
]
[[package]]
name = "structopt"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ac9d6e93dd792b217bf89cda5c14566e3043960c6f9da890c2ba5d09d07804c"
dependencies = [
"clap",
"structopt-derive 0.3.1",
]
[[package]]
name = "structopt-derive"
2019-07-15 08:51:42 -05:00
version = "0.2.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "53010261a84b37689f9ed7d395165029f9cc7abb9f56bbfe86bee2597ed25107"
dependencies = [
"heck",
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
]
[[package]]
name = "structopt-derive"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2ae9e5165d463a0dea76967d021f8d0f9316057bf5163aa2a4843790e842ff37"
dependencies = [
"heck",
"proc-macro-error",
"proc-macro2 1.0.3",
"quote 1.0.2",
"syn 1.0.5",
]
2018-04-21 16:06:13 -05:00
[[package]]
name = "strum"
version = "0.11.0"
2018-04-21 16:06:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6c3a2071519ab6a48f465808c4c1ffdd00dfc8e93111d02b4fc5abab177676e"
2018-04-21 16:06:13 -05:00
[[package]]
name = "strum_macros"
version = "0.11.0"
2018-04-21 16:06:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8baacebd7b7c9b864d83a6ba7a246232983e277b86fa5cdec77f565715a4b136"
2018-04-21 16:06:13 -05:00
dependencies = [
"heck",
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
2018-04-21 16:06:13 -05:00
]
2018-11-18 22:21:10 -06:00
[[package]]
name = "syn"
2019-06-12 09:37:30 -05:00
version = "0.15.35"
2018-11-18 22:21:10 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "641e117d55514d6d918490e47102f7e08d096fdde360247e4a10f7a91a8478d3"
2018-11-18 22:21:10 -06:00
dependencies = [
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"unicode-xid 0.1.0",
]
2019-09-08 03:28:11 -05:00
[[package]]
name = "syn"
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "66850e97125af79138385e9b88339cbcd037e3f28ceab8c5ad98e64f0f1f80bf"
dependencies = [
"proc-macro2 1.0.3",
"quote 1.0.2",
"unicode-xid 0.2.0",
]
[[package]]
name = "synstructure"
version = "0.10.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "02353edf96d6e4dc81aea2d8490a7e9db177bf8acb0e951c24940bf866cb313f"
dependencies = [
2019-09-08 03:28:11 -05:00
"proc-macro2 0.4.30",
"quote 0.6.12",
"syn 0.15.35",
"unicode-xid 0.1.0",
]
[[package]]
name = "syntax"
version = "0.0.0"
dependencies = [
"bitflags",
"lazy_static 1.3.0",
"log",
"rustc_data_structures",
"rustc_errors",
"rustc_lexer",
"rustc_target",
"scoped-tls",
"serialize",
"smallvec",
"syntax_pos",
]
[[package]]
name = "syntax_ext"
version = "0.0.0"
dependencies = [
"fmt_macros",
"log",
"rustc_data_structures",
"rustc_errors",
"rustc_target",
"smallvec",
"syntax",
"syntax_pos",
]
[[package]]
name = "syntax_pos"
version = "0.0.0"
dependencies = [
"arena",
"cfg-if",
"rustc_data_structures",
"rustc_macros",
"scoped-tls",
"serialize",
"unicode-width",
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "take_mut"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f764005d11ee5f36500a149ace24e00e3da98b0158b3e2d53a7495660d3f4d60"
2019-04-07 07:59:33 -05:00
2017-05-08 17:01:13 -05:00
[[package]]
name = "tar"
version = "0.4.20"
2017-05-08 17:01:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a303ba60a099fcd2aaa646b14d2724591a96a75283e4b7ed3d1a1658909d9ae2"
2017-05-08 17:01:13 -05:00
dependencies = [
"filetime",
"libc",
"redox_syscall",
"xattr",
2017-05-08 17:01:13 -05:00
]
[[package]]
name = "tempfile"
version = "3.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7a6e24d9338a0a5be79593e2fa15a648add6138caa803e2d5bc782c371732ca9"
dependencies = [
"cfg-if",
"libc",
"rand 0.7.0",
"redox_syscall",
"remove_dir_all",
"winapi 0.3.6",
]
[[package]]
name = "tendril"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9de21546595a0873061940d994bbbc5c35f024ae4fd61ec5c5b159115684f508"
dependencies = [
"futf",
"mac",
"utf-8",
]
[[package]]
name = "term"
version = "0.0.0"
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
dependencies = [
"core",
"std",
]
2019-03-02 13:58:38 -06:00
[[package]]
name = "term"
version = "0.4.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fa63644f74ce96fbeb9b794f66aff2a52d601cbd5e80f4b97123e3899f4570f1"
2019-03-02 13:58:38 -06:00
dependencies = [
"kernel32-sys",
"winapi 0.2.8",
2019-03-02 13:58:38 -06:00
]
2019-07-30 06:00:27 -05:00
[[package]]
name = "term"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0dd90505d5006a4422d3520b30c781d480b3f36768c2fa2187c3e950bc110464"
2019-07-30 06:00:27 -05:00
dependencies = [
"byteorder",
"dirs",
"winapi 0.3.6",
2019-07-30 06:00:27 -05:00
]
[[package]]
name = "term_size"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9e5b9a66db815dcfd2da92db471106457082577c3c278d4138ab3e3b4e189327"
dependencies = [
"kernel32-sys",
"libc",
"winapi 0.2.8",
]
2019-07-30 06:00:27 -05:00
[[package]]
name = "termcolor"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4096add70612622289f2fdcdbd5086dc81c1e2675e6ae58d6c4f62a16c6d7f2f"
dependencies = [
"wincolor",
]
[[package]]
2017-12-06 02:25:29 -06:00
name = "termion"
version = "1.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "689a3bdfaab439fd92bc87df5c4c78417d3cbe537487274e9b0b2dce76e92096"
dependencies = [
"libc",
"redox_syscall",
"redox_termios",
]
[[package]]
name = "test"
version = "0.0.0"
dependencies = [
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
"core",
"getopts",
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
"libc",
"panic_abort",
"panic_unwind",
"proc_macro",
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
"std",
"term 0.0.0",
]
2019-03-02 13:58:38 -06:00
[[package]]
name = "tester"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5e812cb26c597f86a49b26dbb58b878bd2a2b4b93fc069dc39499228fe556ff6"
2019-03-02 13:58:38 -06:00
dependencies = [
"getopts",
"libc",
"term 0.4.6",
2019-03-02 13:58:38 -06:00
]
[[package]]
name = "textwrap"
2019-09-08 03:28:11 -05:00
version = "0.11.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-08 03:28:11 -05:00
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
dependencies = [
"unicode-width",
]
2017-02-15 16:55:26 -06:00
[[package]]
name = "thread_local"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c6b53e329000edc2b34dbe8545fd20e55a333362d0a321909685a19bd28c3f1b"
dependencies = [
"lazy_static 1.3.0",
]
[[package]]
name = "tidy"
version = "0.1.0"
dependencies = [
"lazy_static 1.3.0",
"regex",
"serde",
"serde_json",
"walkdir",
]
[[package]]
name = "time"
version = "0.1.40"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d825be0eb33fda1a7e68012d51e9c7f451dc1a69391e7fdc197060bb8c56667b"
dependencies = [
"libc",
"redox_syscall",
"winapi 0.3.6",
]
[[package]]
name = "tokio"
version = "0.1.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4790d0be6f4ba6ae4f48190efa2ed7780c9e3567796abdb285003cf39840d9c5"
dependencies = [
"bytes",
"futures",
"mio",
"num_cpus",
"tokio-codec",
"tokio-current-thread",
"tokio-executor",
"tokio-fs",
"tokio-io",
"tokio-reactor",
"tokio-tcp",
"tokio-threadpool",
"tokio-timer",
"tokio-udp",
"tokio-uds",
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "tokio-buf"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8fb220f46c53859a4b7ec083e41dec9778ff0b1851c0942b211edb89e0ccdc46"
2019-04-07 07:59:33 -05:00
dependencies = [
"bytes",
"either",
"futures",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "tokio-codec"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c501eceaf96f0e1793cf26beb63da3d11c738c4a943fdf3746d81d64684c39f"
dependencies = [
"bytes",
"futures",
"tokio-io",
]
[[package]]
name = "tokio-current-thread"
version = "0.1.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "331c8acc267855ec06eb0c94618dcbbfea45bed2d20b77252940095273fb58f6"
dependencies = [
"futures",
"tokio-executor",
]
[[package]]
name = "tokio-executor"
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "30c6dbf2d1ad1de300b393910e8a3aa272b724a400b6531da03eed99e329fbf0"
dependencies = [
"crossbeam-utils 0.6.5",
"futures",
]
[[package]]
name = "tokio-fs"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0e9cbbc8a3698b7ab652340f46633364f9eaa928ddaaee79d8b8f356dd79a09d"
dependencies = [
"futures",
"tokio-io",
"tokio-threadpool",
]
[[package]]
name = "tokio-io"
version = "0.1.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b53aeb9d3f5ccf2ebb29e19788f96987fa1355f8fe45ea193928eaaaf3ae820f"
dependencies = [
"bytes",
"futures",
"log",
]
2019-09-08 03:28:11 -05:00
[[package]]
name = "tokio-named-pipes"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d282d483052288b2308ba5ee795f5673b159c9bdf63c385a05609da782a5eae"
dependencies = [
"bytes",
"futures",
"mio",
"mio-named-pipes",
"tokio",
]
[[package]]
name = "tokio-process"
version = "0.2.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "88e1281e412013f1ff5787def044a9577a0bed059f451e835f1643201f8b777d"
dependencies = [
"futures",
"libc",
"mio",
"mio-named-pipes",
"tokio-io",
"tokio-reactor",
"tokio-signal",
"winapi 0.3.6",
]
[[package]]
name = "tokio-reactor"
version = "0.1.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afbcdb0f0d2a1e4c440af82d7bbf0bf91a8a8c0575bcd20c05d15be7e9d3a02f"
dependencies = [
"crossbeam-utils 0.6.5",
"futures",
"lazy_static 1.3.0",
"log",
"mio",
"num_cpus",
2019-09-08 03:28:11 -05:00
"parking_lot 0.7.1",
"slab",
"tokio-executor",
"tokio-io",
]
2019-09-08 03:28:11 -05:00
[[package]]
name = "tokio-service"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "24da22d077e0f15f55162bdbdc661228c1581892f52074fb242678d015b45162"
dependencies = [
"futures",
]
[[package]]
name = "tokio-signal"
version = "0.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd6dc5276ea05ce379a16de90083ec80836440d5ef8a6a39545a3207373b8296"
dependencies = [
"futures",
"libc",
"mio",
"mio-uds",
"signal-hook",
"tokio-executor",
"tokio-io",
"tokio-reactor",
"winapi 0.3.6",
]
[[package]]
name = "tokio-tcp"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1d14b10654be682ac43efee27401d792507e30fd8d26389e1da3b185de2e4119"
dependencies = [
"bytes",
"futures",
"iovec",
"mio",
"tokio-io",
"tokio-reactor",
]
[[package]]
name = "tokio-threadpool"
version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "17465013014410310f9f61fa10bf4724803c149ea1d51efece131c38efca93aa"
dependencies = [
"crossbeam-channel",
"crossbeam-deque 0.6.3",
"crossbeam-utils 0.6.5",
"futures",
"log",
"num_cpus",
"rand 0.6.1",
"tokio-executor",
]
[[package]]
name = "tokio-timer"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f37f0111d76cc5da132fe9bc0590b9b9cfd079bc7e75ac3846278430a299ff8"
dependencies = [
"crossbeam-utils 0.6.5",
"futures",
"slab",
"tokio-executor",
]
[[package]]
name = "tokio-udp"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "66268575b80f4a4a710ef83d087fdfeeabdce9b74c797535fbac18a2cb906e92"
dependencies = [
"bytes",
"futures",
"log",
"mio",
"tokio-codec",
"tokio-io",
"tokio-reactor",
]
[[package]]
name = "tokio-uds"
version = "0.2.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "037ffc3ba0e12a0ab4aca92e5234e0dedeb48fddf6ccd260f1f150a36a9f2445"
dependencies = [
"bytes",
"futures",
"iovec",
"libc",
"log",
"mio",
"mio-uds",
"tokio-codec",
"tokio-io",
"tokio-reactor",
]
2019-03-28 22:13:13 -05:00
[[package]]
name = "toml"
2019-08-20 02:32:53 -05:00
version = "0.5.3"
2019-03-28 22:13:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-08-20 02:32:53 -05:00
checksum = "c7aabe75941d914b72bf3e5d3932ed92ce0664d49d8432305a8b547c37227724"
2019-03-28 22:13:13 -05:00
dependencies = [
"serde",
2019-03-28 22:13:13 -05:00
]
2019-01-18 20:39:37 -06:00
[[package]]
name = "toml-query"
2019-06-18 22:36:47 -05:00
version = "0.9.0"
2019-01-18 20:39:37 -06:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a24369a1894ac8224efcfd567c3d141aea360292f49888e7ec7dcc316527aebb"
2019-01-18 20:39:37 -06:00
dependencies = [
"failure",
"failure_derive",
"is-match",
"lazy_static 1.3.0",
"regex",
"toml",
"toml-query_derive",
2019-06-18 22:36:47 -05:00
]
[[package]]
name = "toml-query_derive"
version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3c99ca245ec273c7e75c8ee58f47b882d0146f3c2c8495158082c6671e8b5335"
2019-06-18 22:36:47 -05:00
dependencies = [
"darling",
2019-09-08 03:28:11 -05:00
"quote 0.6.12",
"syn 0.15.35",
2019-01-18 20:39:37 -06:00
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "try-lock"
version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e604eb7b43c06650e854be16a2a03155743d3752dd1c943f6829e26b7a36e382"
2019-04-07 07:59:33 -05:00
2018-12-02 19:33:20 -06:00
[[package]]
name = "typenum"
version = "1.10.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "612d636f949607bdf9b123b4a6f6d966dedf3ff669f7f045890d3a4a73948169"
2018-12-02 19:33:20 -06:00
2019-01-18 20:39:37 -06:00
[[package]]
name = "ucd-trie"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "71a9c5b1fe77426cf144cc30e49e955270f5086e31a6441dfa8b32efc09b9d77"
2019-01-18 20:39:37 -06:00
[[package]]
name = "ucd-util"
version = "0.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "535c204ee4d8434478593480b8f86ab45ec9aae0e83c568ca81abf0fd0e88f86"
2019-04-07 07:59:33 -05:00
[[package]]
name = "unicase"
version = "1.4.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f4765f83163b74f957c797ad9253caf97f103fb064d3999aea9568d09fc8a33"
2019-04-07 07:59:33 -05:00
dependencies = [
"version_check",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "unicase"
2019-09-19 03:32:31 -05:00
version = "2.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-09-19 03:32:31 -05:00
checksum = "2e2e6bd1e59e56598518beb94fd6db628ded570326f0a98c679a304bd9f00150"
dependencies = [
"version_check",
]
[[package]]
name = "unicode-bidi"
version = "0.3.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
dependencies = [
"matches",
]
[[package]]
name = "unicode-normalization"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6a0180bc61fc5a987082bfa111f4cc95c4caff7f9799f3e46df09163a937aa25"
[[package]]
name = "unicode-segmentation"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "aa6024fc12ddfd1c6dbc14a80fa2324d4568849869b779f6bd37e5e4c03344d1"
[[package]]
name = "unicode-width"
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
bootstrap: Merge the libtest build step with libstd Since its inception rustbuild has always worked in three stages: one for libstd, one for libtest, and one for rustc. These three stages were architected around crates.io dependencies, where rustc wants to depend on crates.io crates but said crates don't explicitly depend on libstd, requiring a sysroot assembly step in the middle. This same logic was applied for libtest where libtest wants to depend on crates.io crates (`getopts`) but `getopts` didn't say that it depended on std, so it needed `std` built ahead of time. Lots of time has passed since the inception of rustbuild, however, and we've since gotten to the point where even `std` itself is depending on crates.io crates (albeit with some wonky configuration). This commit applies the same logic to the two dependencies that the `test` crate pulls in from crates.io, `getopts` and `unicode-width`. Over the many years since rustbuild's inception `unicode-width` was the only dependency picked up by the `test` crate, so the extra configuration necessary to get crates building in this crate graph is unlikely to be too much of a burden on developers. After this patch it means that there are now only two build phasese of rustbuild, one for libstd and one for rustc. The libtest/libproc_macro build phase is all lumped into one now with `std`. This was originally motivated by rust-lang/cargo#7216 where Cargo was having to deal with synthesizing dependency edges but this commit makes them explicit in this repository.
2019-08-16 10:29:08 -05:00
checksum = "7007dbd421b92cc6e28410fe7362e2e0a2503394908f417b68ec8d1c364c4e20"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-core",
"rustc-std-workspace-std",
]
[[package]]
name = "unicode-xid"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc72304796d0818e357ead4e000d19c9c174ab23dc11093ac919054d20a6a7fc"
[[package]]
name = "unicode-xid"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "826e7639553986605ec5979c7dd957c7895e93eabed50ab2ffa7f6128a75097c"
2019-02-18 03:32:58 -06:00
[[package]]
name = "unicode_categories"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e"
2019-02-18 03:32:58 -06:00
[[package]]
name = "unstable-book-gen"
version = "0.1.0"
dependencies = [
"num-traits",
"tidy",
]
2017-09-24 23:13:29 -05:00
[[package]]
name = "unwind"
version = "0.0.0"
dependencies = [
"cc",
"cfg-if",
"compiler_builtins",
"core",
"libc",
2017-09-24 23:13:29 -05:00
]
[[package]]
name = "url"
version = "1.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a"
dependencies = [
"idna 0.1.5",
"matches",
"percent-encoding 1.0.1",
]
2019-07-31 19:44:39 -05:00
[[package]]
name = "url"
2019-08-20 02:32:53 -05:00
version = "2.1.0"
2019-07-31 19:44:39 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
2019-08-20 02:32:53 -05:00
checksum = "75b414f6c464c879d7f9babf951f23bc3743fb7313c081b2e6ca719067ea9d61"
2019-07-31 19:44:39 -05:00
dependencies = [
"idna 0.2.0",
"matches",
"percent-encoding 2.0.0",
"serde",
2019-07-31 19:44:39 -05:00
]
[[package]]
name = "utf-8"
version = "0.7.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f1262dfab4c30d5cb7c07026be00ee343a6cf5027fdc0104a9160f354e5db75c"
[[package]]
name = "utf8-ranges"
version = "1.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "796f7e48bef87609f7ade7e06495a87d5cd06c7866e6a5cbfceffc558a243737"
2019-05-23 15:27:49 -05:00
[[package]]
name = "utf8parse"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8772a4ccbb4e89959023bc5b7cb8623a795caa7092d99f3aa9501b9484d4557d"
2019-05-23 15:27:49 -05:00
2019-04-07 07:59:33 -05:00
[[package]]
name = "uuid"
version = "0.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "90dbc611eb48397705a6b0f6e917da23ae517e4d127123d2cf7674206627d32a"
2019-04-07 07:59:33 -05:00
dependencies = [
"rand 0.6.1",
2019-04-07 07:59:33 -05:00
]
[[package]]
name = "vcpkg"
version = "0.2.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "def296d3eb3b12371b2c7d0e83bfe1403e4db2d7a0bba324a12b21c4ee13143d"
[[package]]
name = "vec_map"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "05c78687fb1a80548ae3250346c3db86a80a7cdd77bda190189f2d0a0987c81a"
2018-09-17 02:20:03 -05:00
[[package]]
name = "vergen"
2018-12-07 03:12:01 -06:00
version = "3.0.4"
2018-09-17 02:20:03 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6aba5e34f93dc7051dfad05b98a18e9156f27e7b431fe1d2398cb6061c0a1dba"
2018-09-17 02:20:03 -05:00
dependencies = [
"bitflags",
"chrono",
"failure",
2018-09-17 02:20:03 -05:00
]
[[package]]
name = "version_check"
version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "914b1a6776c4c929a602fafd8bc742e06365d4bcbe48c30f9cca5824f70dc9dd"
2019-05-23 15:27:49 -05:00
[[package]]
name = "vte"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4f42f536e22f7fcbb407639765c8fd78707a33109301f834a594758bedd6e8cf"
2019-05-23 15:27:49 -05:00
dependencies = [
"utf8parse",
2019-05-23 15:27:49 -05:00
]
[[package]]
name = "walkdir"
version = "2.2.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9d9d7ed3431229a144296213105a390676cc49c9b6a72bd19f3176c98e129fa1"
dependencies = [
"same-file",
"winapi 0.3.6",
"winapi-util",
]
2019-04-07 07:59:33 -05:00
[[package]]
name = "want"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b6395efa4784b027708f7451087e647ec73cc74f5d9bc2e418404248d679a230"
2019-04-07 07:59:33 -05:00
dependencies = [
"futures",
"log",
"try-lock",
2019-04-07 07:59:33 -05:00
]
2019-08-29 12:13:15 -05:00
[[package]]
name = "wasi"
version = "0.7.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b89c3ce4ce14bdc6fb6beaf9ec7928ca331de5df7e5ea278375642a2f478570d"
dependencies = [
"compiler_builtins",
"rustc-std-workspace-alloc",
"rustc-std-workspace-core",
]
[[package]]
name = "winapi"
version = "0.2.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "167dc9d6949a9b857f3451275e911c3f44255842c1f7a76f33c55103a909087a"
[[package]]
name = "winapi"
version = "0.3.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "92c1eb33641e276cfa214a0522acad57be5c56b10cb348b3c5117db75f3ac4b0"
dependencies = [
"winapi-i686-pc-windows-gnu",
"winapi-x86_64-pc-windows-gnu",
]
[[package]]
name = "winapi-build"
version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2d315eee3b34aca4797b2da6b13ed88266e6d612562a0c46390af8299fc699bc"
[[package]]
name = "winapi-i686-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
[[package]]
name = "winapi-util"
2019-05-16 00:27:39 -05:00
version = "0.1.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7168bab6e1daee33b4557efd0e95d5ca70a03706d39fa5f3fe7a236f584b03c9"
dependencies = [
"winapi 0.3.6",
]
[[package]]
name = "winapi-x86_64-pc-windows-gnu"
version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
[[package]]
name = "wincolor"
version = "1.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "561ed901ae465d6185fa7864d63fbd5720d0ef718366c9a4dc83cf6170d7e9ba"
dependencies = [
"winapi 0.3.6",
"winapi-util",
]
[[package]]
name = "ws2_32-sys"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d59cefebd0c892fa2dd6de581e937301d8552cb44489cdff035c6187cb63fa5e"
dependencies = [
"winapi 0.2.8",
"winapi-build",
]
2017-05-08 17:01:13 -05:00
[[package]]
name = "xattr"
2018-07-17 11:04:22 -05:00
version = "0.2.2"
2017-05-08 17:01:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "244c3741f4240ef46274860397c7c74e50eb23624996930e484c16679633a54c"
2017-05-08 17:01:13 -05:00
dependencies = [
"libc",
2017-05-08 17:01:13 -05:00
]
[[package]]
name = "xz2"
version = "0.1.5"
2017-05-08 17:01:13 -05:00
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "df8bf41d3030c3577c9458fd6640a05afbf43b150d0b531b16bd77d3f794f27a"
2017-05-08 17:01:13 -05:00
dependencies = [
"lzma-sys",
2017-05-08 17:01:13 -05:00
]
[[package]]
name = "yaml-rust"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e66366e18dc58b46801afbf2ca7661a9f59cc8c5962c29892b6039b4f86fa992"