2019-02-04 16:31:48 +00:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
2021-03-26 19:29:08 +00:00
|
|
|
version = 3
|
|
|
|
|
2018-12-08 11:06:54 +00:00
|
|
|
[[package]]
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
name = "addr2line"
|
2021-08-19 02:44:24 +00:00
|
|
|
version = "0.16.0"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-19 02:44:24 +00:00
|
|
|
checksum = "3e61f2b7f93d2c7d2b08263acaa4a363b3e276806c68af6134c44f523bf1aacd"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
2021-12-03 14:24:05 +00:00
|
|
|
"gimli 0.25.0",
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "adler"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ee2a4ec343196209d6594e19543ae87a39f96d5534d7174822a3ad825dd6ed7e"
|
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
2018-12-08 11:06:54 +00:00
|
|
|
|
2022-01-07 05:32:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ahash"
|
|
|
|
version = "0.7.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "43bb833f0bf979d8475d38fbf09ed3b8a55e1885fe93ad3f93239fc6a4f17b98"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.2.0",
|
|
|
|
"once_cell",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2019-05-16 05:27:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2021-09-09 09:21:41 +00:00
|
|
|
version = "0.7.18"
|
2019-05-16 05:27:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-09-09 09:21:41 +00:00
|
|
|
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
|
2019-05-16 05:27:39 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"memchr",
|
2019-05-16 05:27:39 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "alloc"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2020-08-01 14:11:15 +00:00
|
|
|
"rand_xorshift",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ammonia"
|
2022-04-15 18:11:14 +00:00
|
|
|
version = "3.2.0"
|
2019-06-19 03:36:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:11:14 +00:00
|
|
|
checksum = "d5ed2509ee88cc023cccee37a6fab35826830fe8b748b3869790e7720c2c4a74"
|
2019-06-19 03:36:47 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"html5ever",
|
|
|
|
"maplit",
|
2022-04-15 18:11:14 +00:00
|
|
|
"once_cell",
|
2019-08-15 00:45:09 +00:00
|
|
|
"tendril",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2019-06-19 03:36:47 +00:00
|
|
|
]
|
|
|
|
|
2020-05-08 20:48:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "annotate-snippets"
|
|
|
|
version = "0.8.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d78ea013094e5ea606b1c05fe35f1dd7ea1eb1ea259908d040b25bd5ec677ee5"
|
2021-05-03 20:59:35 +00:00
|
|
|
dependencies = [
|
|
|
|
"yansi-term",
|
|
|
|
]
|
2020-05-08 20:48:26 +00:00
|
|
|
|
2020-07-24 18:42:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ansi_term"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d52a9bb7ec0cf484c551830a7ce27bd20d67eac647e1befb56b0be4ee39a55d2"
|
|
|
|
dependencies = [
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2020-07-24 18:42:00 +00:00
|
|
|
]
|
|
|
|
|
2020-01-14 17:47:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2021-12-03 14:24:05 +00:00
|
|
|
version = "1.0.51"
|
2020-01-14 17:47:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 14:24:05 +00:00
|
|
|
checksum = "8b26702f315f53b6071259e15dd9d64528213b44d61de1ec926eca7715d62203"
|
2020-01-14 17:47:04 +00:00
|
|
|
|
2021-01-16 01:34:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "array_tool"
|
|
|
|
version = "1.0.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8f8cb5d814eb646a863c4f24978cff2880c4be96ad8cde2c0f0678732902e271"
|
|
|
|
|
2021-04-22 04:40:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "arrayvec"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5a2f58b0bb10c380af2b26e57212856b8c9a59e0925b4c20f4a174a49734eaf7"
|
2020-07-14 00:31:54 +00:00
|
|
|
|
2022-01-03 17:18:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "askama"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4d8f355701c672c2ba3d718acbd213f740beea577cc4eae66accdffe15be1882"
|
|
|
|
dependencies = [
|
|
|
|
"askama_derive",
|
|
|
|
"askama_escape",
|
|
|
|
"askama_shared",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "askama_derive"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "84704cab5b7ae0fd3a9f78ee5eb7b27f3749df445f04623db6633459ae283267"
|
|
|
|
dependencies = [
|
|
|
|
"askama_shared",
|
|
|
|
"proc-macro2",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "askama_escape"
|
|
|
|
version = "0.10.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9a1bb320f97e6edf9f756bf015900038e43c7700e059688e5724a928c8f3b8d5"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "askama_shared"
|
|
|
|
version = "0.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dae03eebba55a2697a376e58b573a29fe36893157173ac8df312ad85f3c0e012"
|
|
|
|
dependencies = [
|
|
|
|
"askama_escape",
|
|
|
|
"nom",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2022-01-17 16:36:39 +00:00
|
|
|
"serde",
|
2022-01-03 17:18:46 +00:00
|
|
|
"syn",
|
2022-01-17 16:36:39 +00:00
|
|
|
"toml",
|
2022-01-03 17:18:46 +00:00
|
|
|
]
|
|
|
|
|
2017-06-15 02:33:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "atty"
|
2020-05-26 04:35:21 +00:00
|
|
|
version = "0.2.14"
|
2017-06-15 02:33:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 04:35:21 +00:00
|
|
|
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
2017-06-15 02:33:06 +00:00
|
|
|
dependencies = [
|
2022-02-15 12:57:07 +00:00
|
|
|
"hermit-abi 0.1.19",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2017-06-15 02:33:06 +00:00
|
|
|
]
|
|
|
|
|
2020-03-26 13:10:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "autocfg"
|
2022-03-01 17:45:23 +00:00
|
|
|
version = "1.1.0"
|
2020-03-26 13:10:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-01 17:45:23 +00:00
|
|
|
checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
2020-03-26 13:10:35 +00:00
|
|
|
|
2017-09-08 19:08:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
2019-10-13 23:37:55 +00:00
|
|
|
version = "1.2.1"
|
2017-09-08 19:08:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-10-13 23:37:55 +00:00
|
|
|
checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
|
2017-09-08 19:08:01 +00:00
|
|
|
|
2019-11-25 16:14:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bitmaps"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "2.1.0"
|
2019-11-25 16:14:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "031043d04099746d8db04daf1fa424b2bc8bd69d92b25962dcde24da39ab64a2"
|
2019-11-25 16:14:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
|
|
|
]
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
2020-03-31 05:17:15 +00:00
|
|
|
version = "0.7.3"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 05:17:15 +00:00
|
|
|
checksum = "c0940dc441f31689269e10ac70eb1002a3a1d3ad1390e030043662eb7fe4688b"
|
|
|
|
dependencies = [
|
|
|
|
"block-padding",
|
|
|
|
"byte-tools",
|
|
|
|
"byteorder",
|
2021-03-12 13:33:02 +00:00
|
|
|
"generic-array 0.12.4",
|
2020-10-01 15:15:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-buffer"
|
2022-02-10 16:54:01 +00:00
|
|
|
version = "0.10.2"
|
2020-10-01 15:15:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-10 16:54:01 +00:00
|
|
|
checksum = "0bf7fe51849ea569fd452f37822f606a5cabb684dc918707a0193fd4664ff324"
|
2020-10-01 15:15:12 +00:00
|
|
|
dependencies = [
|
|
|
|
"generic-array 0.14.4",
|
2020-03-31 05:17:15 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "block-padding"
|
|
|
|
version = "0.1.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fa79dedbb091f449f1f39e53edf88d5dbe95f895dae6135a8d7b881fb5af73f5"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"byte-tools",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bootstrap"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"cmake",
|
|
|
|
"filetime",
|
|
|
|
"getopts",
|
2019-12-18 15:52:10 +00:00
|
|
|
"ignore",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2021-06-08 21:09:56 +00:00
|
|
|
"once_cell",
|
2021-07-01 16:18:02 +00:00
|
|
|
"opener",
|
2022-05-30 08:17:46 +00:00
|
|
|
"pretty_assertions 0.7.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2022-02-06 22:03:55 +00:00
|
|
|
"sysinfo",
|
2022-03-21 13:59:34 +00:00
|
|
|
"tar",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2022-03-21 13:59:34 +00:00
|
|
|
"xz2",
|
2017-01-24 22:37:04 +00:00
|
|
|
]
|
|
|
|
|
2019-05-16 05:27:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bstr"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.2.13"
|
2019-05-16 05:27:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "31accafdb70df7871592c058eca3985b71104e15ac32f64706022c58867da931"
|
2019-05-16 05:27:39 +00:00
|
|
|
dependencies = [
|
2021-06-22 23:19:24 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"memchr",
|
2021-06-22 23:19:24 +00:00
|
|
|
"regex-automata",
|
2019-05-16 05:27:39 +00:00
|
|
|
]
|
|
|
|
|
2017-01-24 22:37:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "build-manifest"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2020-09-18 12:40:01 +00:00
|
|
|
"anyhow",
|
2020-09-24 12:13:40 +00:00
|
|
|
"flate2",
|
2020-10-01 15:15:12 +00:00
|
|
|
"hex 0.4.2",
|
|
|
|
"rayon",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2019-11-03 10:47:07 +00:00
|
|
|
"serde_json",
|
2020-10-01 15:15:12 +00:00
|
|
|
"sha2",
|
2020-09-24 12:13:40 +00:00
|
|
|
"tar",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2021-08-26 09:26:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bump-stage0"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"curl",
|
2021-08-26 10:35:32 +00:00
|
|
|
"indexmap",
|
2021-08-26 09:26:03 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"toml",
|
|
|
|
]
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "byte-tools"
|
2020-03-31 05:17:15 +00:00
|
|
|
version = "0.3.1"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 05:17:15 +00:00
|
|
|
checksum = "e3b5ca7a04898ad4bcd41c90c5285445ff5b791899bb1b0abdd2a2aa791211d7"
|
2019-01-19 02:39:37 +00:00
|
|
|
|
2018-10-08 17:39:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytecount"
|
2021-03-17 20:34:05 +00:00
|
|
|
version = "0.6.2"
|
2018-10-08 17:39:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-17 20:34:05 +00:00
|
|
|
checksum = "72feb31ffc86498dacdbd0fcebb56138e7177a8cc5cea4516031d15ae85a742e"
|
2018-10-08 17:39:09 +00:00
|
|
|
dependencies = [
|
2021-03-17 20:34:05 +00:00
|
|
|
"packed_simd_2",
|
2018-10-08 17:39:09 +00:00
|
|
|
]
|
|
|
|
|
2017-09-18 14:18:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "byteorder"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.3.4"
|
2017-09-18 14:18:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "08c48aae112d48ed9f069b33538ea9e3e90aa263cfa3d1c24309612b1f7472de"
|
2017-09-18 14:18:23 +00:00
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytes"
|
2021-07-21 13:17:31 +00:00
|
|
|
version = "1.0.1"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "b700ce4376041dcd0a327fd0097c41095743c4c8af8887265942faf1100bd040"
|
2019-01-21 15:32:43 +00:00
|
|
|
|
2018-09-20 21:37:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "bytesize"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.1"
|
2018-09-20 21:37:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "81a18687293a1546b67c246452202bbbf143d239cb43494cc163da14979082da"
|
2018-09-20 21:37:53 +00:00
|
|
|
|
2021-10-20 05:15:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "camino"
|
|
|
|
version = "1.0.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "52d74260d9bf6944e2208aa46841b4b8f0d7ffc0849a06837b2f510337f86b2b"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo"
|
2022-05-25 17:31:30 +00:00
|
|
|
version = "0.64.0"
|
2017-07-19 01:32:12 +00:00
|
|
|
dependencies = [
|
2020-01-14 17:47:04 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"atty",
|
|
|
|
"bytesize",
|
2021-10-20 05:15:20 +00:00
|
|
|
"cargo-platform 0.1.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"cargo-test-macro",
|
2019-09-16 18:45:40 +00:00
|
|
|
"cargo-test-support",
|
2021-03-26 19:29:08 +00:00
|
|
|
"cargo-util",
|
2022-02-23 07:22:42 +00:00
|
|
|
"clap 3.1.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"crates-io",
|
2022-01-10 19:34:07 +00:00
|
|
|
"crossbeam-utils",
|
2019-08-15 00:45:09 +00:00
|
|
|
"curl",
|
|
|
|
"curl-sys",
|
2021-07-16 02:27:11 +00:00
|
|
|
"env_logger 0.9.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"filetime",
|
|
|
|
"flate2",
|
|
|
|
"fwdansi",
|
|
|
|
"git2",
|
|
|
|
"git2-curl",
|
|
|
|
"glob",
|
2020-08-17 15:21:44 +00:00
|
|
|
"hex 0.4.2",
|
2019-09-08 08:28:11 +00:00
|
|
|
"home",
|
2020-08-17 15:21:44 +00:00
|
|
|
"humantime 2.0.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"ignore",
|
|
|
|
"im-rc",
|
2022-04-20 13:50:39 +00:00
|
|
|
"indexmap",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2019-08-15 00:45:09 +00:00
|
|
|
"jobserver",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"lazycell",
|
|
|
|
"libc",
|
|
|
|
"libgit2-sys",
|
|
|
|
"log",
|
|
|
|
"memchr",
|
2021-07-01 16:18:02 +00:00
|
|
|
"opener",
|
2019-08-15 00:45:09 +00:00
|
|
|
"openssl",
|
2021-10-12 04:48:27 +00:00
|
|
|
"os_info",
|
2022-04-14 01:02:32 +00:00
|
|
|
"pathdiff",
|
2019-11-12 18:14:48 +00:00
|
|
|
"percent-encoding 2.1.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"pretty_env_logger",
|
|
|
|
"rustc-workspace-hack",
|
2022-06-04 12:07:44 +00:00
|
|
|
"rustfix",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"semver",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2019-09-08 08:28:11 +00:00
|
|
|
"serde_ignored",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde_json",
|
2021-04-01 00:45:03 +00:00
|
|
|
"shell-escape",
|
2022-04-20 13:50:39 +00:00
|
|
|
"snapbox",
|
2019-08-15 00:45:09 +00:00
|
|
|
"strip-ansi-escapes",
|
|
|
|
"tar",
|
|
|
|
"tempfile",
|
|
|
|
"termcolor",
|
2022-05-18 16:16:27 +00:00
|
|
|
"toml_edit",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-width",
|
2020-08-01 14:11:15 +00:00
|
|
|
"unicode-xid",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"walkdir",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2020-12-16 17:03:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-credential"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cargo-credential-1password"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"cargo-credential",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cargo-credential-macos-keychain"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"cargo-credential",
|
|
|
|
"security-framework",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "cargo-credential-wincred"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"cargo-credential",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2020-12-16 17:03:33 +00:00
|
|
|
]
|
|
|
|
|
2020-06-01 18:17:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-miri"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"directories",
|
|
|
|
"rustc-workspace-hack",
|
2022-01-05 09:41:22 +00:00
|
|
|
"rustc_version",
|
2020-06-01 18:17:20 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"vergen",
|
|
|
|
]
|
|
|
|
|
2019-09-24 18:06:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-platform"
|
2021-08-10 20:40:56 +00:00
|
|
|
version = "0.1.2"
|
2019-09-24 18:06:56 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2021-10-20 05:15:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-platform"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cbdb825da8a5df079a43676dbe042702f1707b1109f713a01420fbb4cc71fa27"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2019-06-12 14:37:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-test-macro"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2019-09-16 18:45:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-test-support"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2021-03-26 19:29:08 +00:00
|
|
|
"anyhow",
|
2019-09-16 18:45:40 +00:00
|
|
|
"cargo-test-macro",
|
2021-03-26 19:29:08 +00:00
|
|
|
"cargo-util",
|
2019-09-16 18:45:40 +00:00
|
|
|
"filetime",
|
|
|
|
"flate2",
|
|
|
|
"git2",
|
|
|
|
"glob",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-09-16 18:45:40 +00:00
|
|
|
"remove_dir_all",
|
|
|
|
"serde_json",
|
2022-05-04 05:48:05 +00:00
|
|
|
"snapbox",
|
2019-09-16 18:45:40 +00:00
|
|
|
"tar",
|
2021-06-22 23:19:24 +00:00
|
|
|
"termcolor",
|
2022-05-18 16:16:27 +00:00
|
|
|
"toml_edit",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2019-09-16 18:45:40 +00:00
|
|
|
]
|
|
|
|
|
2021-03-26 19:29:08 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo-util"
|
2022-04-14 01:02:32 +00:00
|
|
|
version = "0.1.3"
|
2021-03-26 19:29:08 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"core-foundation",
|
|
|
|
"crypto-hash",
|
|
|
|
"filetime",
|
|
|
|
"hex 0.4.2",
|
|
|
|
"jobserver",
|
|
|
|
"libc",
|
|
|
|
"log",
|
2021-07-21 13:17:31 +00:00
|
|
|
"miow",
|
2021-03-26 19:29:08 +00:00
|
|
|
"same-file",
|
|
|
|
"shell-escape",
|
|
|
|
"tempfile",
|
|
|
|
"walkdir",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2021-03-26 19:29:08 +00:00
|
|
|
]
|
|
|
|
|
2020-10-23 21:47:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargo_metadata"
|
2021-10-20 05:15:20 +00:00
|
|
|
version = "0.14.0"
|
2020-10-23 21:47:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-20 05:15:20 +00:00
|
|
|
checksum = "c297bd3135f558552f99a0daa180876984ea2c4ffa7470314540dff8c654109a"
|
2020-10-23 21:47:58 +00:00
|
|
|
dependencies = [
|
2021-10-20 05:15:20 +00:00
|
|
|
"camino",
|
|
|
|
"cargo-platform 0.1.2 (registry+https://github.com/rust-lang/crates.io-index)",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"semver",
|
2020-10-23 21:47:58 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2017-02-15 22:55:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cargotest2"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2017-09-22 01:58:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2021-07-13 08:58:50 +00:00
|
|
|
version = "1.0.69"
|
2017-09-22 01:58:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-13 08:58:50 +00:00
|
|
|
checksum = "e70cc2f62c6ce1868963827bd677764c62d07c3d9a3e1fb1177ee1a9ab199eb2"
|
2019-11-09 19:59:53 +00:00
|
|
|
dependencies = [
|
|
|
|
"jobserver",
|
|
|
|
]
|
2017-09-22 01:58:35 +00:00
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
2020-01-08 15:33:57 +00:00
|
|
|
version = "0.1.10"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 15:33:57 +00:00
|
|
|
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
2019-05-15 14:30:15 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
2019-05-15 14:30:15 +00:00
|
|
|
]
|
2017-05-08 22:01:13 +00:00
|
|
|
|
2020-10-11 17:51:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
2020-03-03 16:25:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "chalk-derive"
|
2022-03-23 06:39:11 +00:00
|
|
|
version = "0.80.0"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-23 06:39:11 +00:00
|
|
|
checksum = "d0001adf0cf12361e08b65e1898ea138f8f77d8f5177cbf29b6b3b3532252bd6"
|
2020-03-03 16:25:03 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-05 11:26:16 +00:00
|
|
|
"synstructure",
|
2020-03-03 16:25:03 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chalk-engine"
|
2022-03-23 06:39:11 +00:00
|
|
|
version = "0.80.0"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-23 06:39:11 +00:00
|
|
|
checksum = "c44ee96f2d67cb5193d1503f185db1abad9933a1c6e6b4169c176f90baecd393"
|
2020-03-03 16:25:03 +00:00
|
|
|
dependencies = [
|
2020-05-27 00:19:19 +00:00
|
|
|
"chalk-derive",
|
|
|
|
"chalk-ir",
|
2020-08-04 22:35:37 +00:00
|
|
|
"chalk-solve",
|
2020-03-03 16:25:03 +00:00
|
|
|
"rustc-hash",
|
2020-05-27 05:05:09 +00:00
|
|
|
"tracing",
|
2020-03-03 16:25:03 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chalk-ir"
|
2022-03-23 06:39:11 +00:00
|
|
|
version = "0.80.0"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-23 06:39:11 +00:00
|
|
|
checksum = "92d8a95548f23618fda86426e4304e563ec2bb7ba0216139f0748d63c107b5f1"
|
2020-03-03 16:25:03 +00:00
|
|
|
dependencies = [
|
2021-01-01 18:44:31 +00:00
|
|
|
"bitflags",
|
2020-03-03 16:25:03 +00:00
|
|
|
"chalk-derive",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2020-03-03 16:25:03 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "chalk-solve"
|
2022-03-23 06:39:11 +00:00
|
|
|
version = "0.80.0"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-23 06:39:11 +00:00
|
|
|
checksum = "f37f492dacfafe2e21319b80827da2779932909bb392f0cc86b2bd5c07c1b4e1"
|
2020-03-03 16:25:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"chalk-derive",
|
|
|
|
"chalk-ir",
|
2020-05-27 05:05:09 +00:00
|
|
|
"ena",
|
2022-01-19 19:44:43 +00:00
|
|
|
"indexmap",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2020-03-03 16:25:03 +00:00
|
|
|
"petgraph",
|
|
|
|
"rustc-hash",
|
2020-05-27 05:05:09 +00:00
|
|
|
"tracing",
|
2020-08-04 22:35:37 +00:00
|
|
|
"tracing-subscriber",
|
|
|
|
"tracing-tree",
|
2020-03-03 16:25:03 +00:00
|
|
|
]
|
|
|
|
|
2018-01-25 04:01:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "chrono"
|
2021-02-28 00:00:00 +00:00
|
|
|
version = "0.4.19"
|
2018-01-25 04:01:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-28 00:00:00 +00:00
|
|
|
checksum = "670ad68c9088c2a963aaa298cb369688cf3f9465ce5e2d4ca10e6e0098a1ce73"
|
2018-01-25 04:01:42 +00:00
|
|
|
dependencies = [
|
2021-02-28 00:00:00 +00:00
|
|
|
"libc",
|
2019-08-15 00:45:09 +00:00
|
|
|
"num-integer",
|
|
|
|
"num-traits",
|
|
|
|
"time",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-01-25 04:01:42 +00:00
|
|
|
]
|
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2021-12-07 04:33:00 +00:00
|
|
|
version = "2.34.0"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-07 04:33:00 +00:00
|
|
|
checksum = "a0610544180c38b88101fecf2dd634b174a62eef6946f84dfc6a7127512b381c"
|
2017-02-07 23:13:57 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"ansi_term",
|
2019-08-15 00:45:09 +00:00
|
|
|
"atty",
|
|
|
|
"bitflags",
|
2022-01-19 03:14:33 +00:00
|
|
|
"strsim 0.8.0",
|
|
|
|
"textwrap 0.11.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-width",
|
|
|
|
"vec_map",
|
2019-11-26 11:06:30 +00:00
|
|
|
"yaml-rust 0.3.5",
|
2017-02-07 23:13:57 +00:00
|
|
|
]
|
|
|
|
|
2022-01-19 03:14:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2022-02-23 07:22:42 +00:00
|
|
|
version = "3.1.1"
|
2022-01-19 03:14:33 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-23 07:22:42 +00:00
|
|
|
checksum = "6d76c22c9b9b215eeb8d016ad3a90417bd13cb24cf8142756e6472445876cab7"
|
2022-01-19 03:14:33 +00:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"bitflags",
|
|
|
|
"indexmap",
|
2022-04-15 18:57:06 +00:00
|
|
|
"lazy_static",
|
2022-01-19 03:14:33 +00:00
|
|
|
"os_str_bytes",
|
|
|
|
"strsim 0.10.0",
|
|
|
|
"termcolor",
|
|
|
|
"textwrap 0.14.2",
|
|
|
|
]
|
|
|
|
|
2022-04-15 18:57:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clap_complete"
|
|
|
|
version = "3.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "df6f3613c0a3cddfd78b41b10203eb322cb29b600cbdf808a7d3db95691b8e25"
|
|
|
|
dependencies = [
|
|
|
|
"clap 3.1.1",
|
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clippy"
|
2022-05-21 11:24:00 +00:00
|
|
|
version = "0.1.63"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"clippy_lints",
|
2021-09-08 14:32:16 +00:00
|
|
|
"clippy_utils",
|
2021-09-09 09:21:41 +00:00
|
|
|
"compiletest_rs",
|
2019-08-15 00:45:09 +00:00
|
|
|
"derive-new",
|
2021-06-03 07:06:49 +00:00
|
|
|
"filetime",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"futures 0.3.19",
|
2021-09-08 14:32:16 +00:00
|
|
|
"if_chain",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2022-06-04 12:07:44 +00:00
|
|
|
"parking_lot 0.12.1",
|
2021-03-25 18:29:39 +00:00
|
|
|
"quote",
|
2021-03-12 14:31:11 +00:00
|
|
|
"regex",
|
2022-03-14 11:03:16 +00:00
|
|
|
"rustc-semver",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc-workspace-hack",
|
2019-05-26 17:21:54 +00:00
|
|
|
"rustc_tools_util 0.2.0",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"semver",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2021-03-25 18:29:39 +00:00
|
|
|
"syn",
|
2019-12-02 22:09:48 +00:00
|
|
|
"tempfile",
|
2022-05-21 11:24:00 +00:00
|
|
|
"termize",
|
2021-04-06 11:20:48 +00:00
|
|
|
"tester",
|
2022-01-13 12:18:51 +00:00
|
|
|
"tokio",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
2021-04-14 13:20:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clippy_dev"
|
|
|
|
version = "0.0.1"
|
|
|
|
dependencies = [
|
2022-05-05 14:13:10 +00:00
|
|
|
"aho-corasick",
|
2022-06-04 12:07:44 +00:00
|
|
|
"clap 3.1.1",
|
2021-10-21 11:13:17 +00:00
|
|
|
"indoc",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2021-07-01 16:18:02 +00:00
|
|
|
"opener",
|
2021-04-14 13:20:49 +00:00
|
|
|
"shell-escape",
|
2022-04-08 09:41:55 +00:00
|
|
|
"tempfile",
|
2021-04-14 13:20:49 +00:00
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2018-05-19 11:18:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clippy_lints"
|
2022-05-21 11:24:00 +00:00
|
|
|
version = "0.1.63"
|
2018-05-11 12:11:06 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"cargo_metadata",
|
2021-02-25 10:26:23 +00:00
|
|
|
"clippy_utils",
|
2019-08-15 00:45:09 +00:00
|
|
|
"if_chain",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2022-01-19 10:02:24 +00:00
|
|
|
"pulldown-cmark",
|
2019-08-15 00:45:09 +00:00
|
|
|
"quine-mc_cluskey",
|
|
|
|
"regex-syntax",
|
2020-12-06 14:07:59 +00:00
|
|
|
"rustc-semver",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"semver",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2021-05-06 10:21:46 +00:00
|
|
|
"serde_json",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-normalization",
|
2021-07-01 16:18:02 +00:00
|
|
|
"unicode-script",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2018-05-11 12:11:06 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "clippy_utils"
|
2022-05-21 11:24:00 +00:00
|
|
|
version = "0.1.63"
|
2021-02-25 10:26:23 +00:00
|
|
|
dependencies = [
|
2022-01-13 12:18:51 +00:00
|
|
|
"arrayvec",
|
2021-02-25 10:26:23 +00:00
|
|
|
"if_chain",
|
|
|
|
"rustc-semver",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cmake"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.44"
|
2016-09-02 08:55:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "0e56268c17a6248366d66d4a47a3381369d068cce8409bb1716ed77ea32163bb"
|
2016-09-02 08:55:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2018-04-25 22:11:28 +00:00
|
|
|
[[package]]
|
|
|
|
name = "colored"
|
2020-09-17 18:04:20 +00:00
|
|
|
version = "2.0.0"
|
2018-04-25 22:11:28 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-09-17 18:04:20 +00:00
|
|
|
checksum = "b3616f750b84d8f0de8a58bda93e08e2a81ad3f523089b05f1dffecab48c6cbd"
|
2018-04-25 22:11:28 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"atty",
|
|
|
|
"lazy_static",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-04-25 22:11:28 +00:00
|
|
|
]
|
|
|
|
|
2022-01-26 00:24:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "combine"
|
|
|
|
version = "4.6.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "50b727aacc797f9fc28e355d21f34709ac4fc9adecfe470ad07b8f4464f53062"
|
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "commoncrypto"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "d056a8586ba25a1e4d61cb090900e495952c7886786fc55f909ab2f819b69007"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"commoncrypto-sys",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "commoncrypto-sys"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "1fed34f46747aa73dfaa578069fd8279d2818ade2b55f38f22a9401c7f4083e2"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2017-06-17 19:01:18 +00:00
|
|
|
]
|
|
|
|
|
2016-10-07 06:30:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "compiler_builtins"
|
2022-05-26 19:11:16 +00:00
|
|
|
version = "0.1.73"
|
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-20 05:52:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-26 19:11:16 +00:00
|
|
|
checksum = "71b72fde1d7792ca3bd654f7c3ea4508f9e4d0c826e24179eabb7fcc97a90bc3"
|
2016-10-07 06:30:38 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"rustc-std-workspace-core",
|
2016-10-07 06:30:38 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "compiletest"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-02-24 06:42:42 +00:00
|
|
|
"colored",
|
2019-08-15 00:45:09 +00:00
|
|
|
"diff",
|
|
|
|
"getopts",
|
2020-07-28 13:22:21 +00:00
|
|
|
"glob",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2021-07-21 13:17:31 +00:00
|
|
|
"miow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"regex",
|
2022-06-04 12:07:44 +00:00
|
|
|
"rustfix",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-10-20 00:00:00 +00:00
|
|
|
"tracing-subscriber",
|
2021-02-24 06:42:42 +00:00
|
|
|
"unified-diff",
|
2019-08-15 00:45:09 +00:00
|
|
|
"walkdir",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2021-09-06 16:43:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "compiletest_rs"
|
2022-06-04 12:07:44 +00:00
|
|
|
version = "0.8.0"
|
2021-09-06 16:43:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-04 12:07:44 +00:00
|
|
|
checksum = "262134ef87408da1ddfe45e33daa0ca43b75286d6b1076446e602d264cf9847e"
|
2021-09-06 16:43:27 +00:00
|
|
|
dependencies = [
|
|
|
|
"diff",
|
|
|
|
"filetime",
|
|
|
|
"getopts",
|
|
|
|
"lazy_static",
|
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"miow",
|
|
|
|
"regex",
|
2022-06-04 12:07:44 +00:00
|
|
|
"rustfix",
|
2021-09-06 16:43:27 +00:00
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"tempfile",
|
|
|
|
"tester",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-04-20 13:50:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "concolor"
|
|
|
|
version = "0.0.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "015267563b1df20adccdd00cb05257b1dfbea70a04928e9cf88ffb850c1a40af"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"bitflags",
|
|
|
|
"concolor-query",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "concolor-query"
|
|
|
|
version = "0.0.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d6417fe6fc03a8b533fd2177742eeb39a90c7233eedec7bac96d4d6b69a09449"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "content_inspector"
|
|
|
|
version = "0.2.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b7bda66e858c683005a53a9a60c69a4aca7eeaa45d124526e389f7aec8e62f38"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "core"
|
|
|
|
version = "0.0.0"
|
2018-02-26 17:07:16 +00:00
|
|
|
dependencies = [
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2022-05-02 06:10:56 +00:00
|
|
|
"rand_xorshift",
|
2018-02-26 17:07:16 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2019-11-25 16:14:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation"
|
2020-06-30 17:39:05 +00:00
|
|
|
version = "0.9.0"
|
2019-11-25 16:14:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-30 17:39:05 +00:00
|
|
|
checksum = "3b5ed8e7e76c45974e15e41bfa8d5b0483cd90191639e01d8f5f1e606299d3fb"
|
2019-11-25 16:14:07 +00:00
|
|
|
dependencies = [
|
2020-06-23 22:00:48 +00:00
|
|
|
"core-foundation-sys",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2017-08-24 05:52:28 +00:00
|
|
|
]
|
|
|
|
|
2019-11-25 16:14:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "core-foundation-sys"
|
2020-06-30 17:39:05 +00:00
|
|
|
version = "0.8.0"
|
2019-11-25 16:14:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-30 17:39:05 +00:00
|
|
|
checksum = "9a21fa21941700a3cd8fcb4091f361a6a712fac632f85d9f487cc892045d55c6"
|
2019-11-25 16:14:07 +00:00
|
|
|
|
2020-11-03 05:32:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "coverage_test_macros"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2020-10-01 15:15:12 +00:00
|
|
|
[[package]]
|
2022-02-10 16:54:01 +00:00
|
|
|
name = "cpufeatures"
|
|
|
|
version = "0.2.1"
|
2020-10-01 15:15:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-10 16:54:01 +00:00
|
|
|
checksum = "95059428f66df56b63431fdb4e1947ed2190586af5c5a8a8b71122bdf5a7f469"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
2020-10-01 15:15:12 +00:00
|
|
|
|
2017-07-19 01:32:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crates-io"
|
2022-01-19 03:14:33 +00:00
|
|
|
version = "0.34.0"
|
2017-07-19 01:32:12 +00:00
|
|
|
dependencies = [
|
2020-01-14 17:47:04 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"curl",
|
2019-11-12 18:14:48 +00:00
|
|
|
"percent-encoding 2.1.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2018-12-08 11:06:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crc32fast"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
version = "1.2.0"
|
2018-12-08 11:06:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
checksum = "ba125de2af0df55319f41944744ad91c71113bf74a4646efff39afe1f6842db1"
|
2018-12-08 11:06:54 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2018-12-08 11:06:54 +00:00
|
|
|
]
|
2017-09-02 03:46:51 +00:00
|
|
|
|
2022-05-30 08:17:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam"
|
|
|
|
version = "0.8.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4ae5588f6b3c3cb05239e90bd110f257254aecd01e4635400391aeae07497845"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"crossbeam-channel",
|
|
|
|
"crossbeam-deque",
|
|
|
|
"crossbeam-epoch",
|
|
|
|
"crossbeam-queue",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2020-02-10 19:47:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-channel"
|
2022-04-11 18:50:19 +00:00
|
|
|
version = "0.5.4"
|
2020-02-10 19:47:38 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-11 18:50:19 +00:00
|
|
|
checksum = "5aaa7bd5fb665c6864b5f963dd9097905c54125909c7aa94c9e18507cdbe6c53"
|
2020-02-10 19:47:38 +00:00
|
|
|
dependencies = [
|
2021-02-10 01:52:54 +00:00
|
|
|
"cfg-if 1.0.0",
|
2022-01-10 19:34:07 +00:00
|
|
|
"crossbeam-utils",
|
2020-02-10 19:47:38 +00:00
|
|
|
]
|
|
|
|
|
2019-09-10 17:13:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-deque"
|
2022-01-10 19:34:07 +00:00
|
|
|
version = "0.8.1"
|
2019-09-10 17:13:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 19:34:07 +00:00
|
|
|
checksum = "6455c0ca19f0d2fbf751b908d5c55c1f5cbc65e03c4225427254b46890bdde1e"
|
2019-09-10 17:13:07 +00:00
|
|
|
dependencies = [
|
2022-01-10 19:34:07 +00:00
|
|
|
"cfg-if 1.0.0",
|
2019-12-10 15:01:01 +00:00
|
|
|
"crossbeam-epoch",
|
2022-01-10 19:34:07 +00:00
|
|
|
"crossbeam-utils",
|
2019-09-10 17:13:07 +00:00
|
|
|
]
|
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-epoch"
|
2022-01-10 19:34:07 +00:00
|
|
|
version = "0.9.6"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 19:34:07 +00:00
|
|
|
checksum = "97242a70df9b89a65d0b6df3c4bf5b9ce03c5b7309019777fbde37e7537f8762"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2022-01-10 19:34:07 +00:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"crossbeam-utils",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-12-10 15:01:01 +00:00
|
|
|
"memoffset",
|
2019-12-04 17:40:16 +00:00
|
|
|
"scopeguard",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2022-05-30 08:17:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-queue"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1f25d8400f4a7a5778f0e4e52384a48cbd9b5c495d110786187fc750075277a2"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2020-10-14 22:16:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2022-04-11 18:50:19 +00:00
|
|
|
version = "0.8.8"
|
2020-10-14 22:16:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-11 18:50:19 +00:00
|
|
|
checksum = "0bf124c720b7686e3c2663cf54062ab0f68a88af2fb6a030e87e30bf721fcb38"
|
2020-10-14 22:16:47 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2022-02-10 16:54:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crypto-common"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a4600d695eb3f6ce1cd44e6e291adceb2cc3ab12f20a33777ecd0bf6eba34e06"
|
|
|
|
dependencies = [
|
|
|
|
"generic-array 0.14.4",
|
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "crypto-hash"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.3.4"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "8a77162240fd97248d19a564a565eb563a3f592b386e4136fb300909e67dddca"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"commoncrypto",
|
2019-09-16 18:45:40 +00:00
|
|
|
"hex 0.3.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"openssl",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
2021-02-13 11:17:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "cstr"
|
|
|
|
version = "0.2.8"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c11a39d776a3b35896711da8a04dc1835169dcd36f710878187637314e47941b"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
]
|
|
|
|
|
2020-03-26 13:10:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ctor"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.15"
|
2020-03-26 13:10:35 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "39858aa5bac06462d4dd4b9164848eb81ffc4aa5c479746393598fd193afa227"
|
2020-03-26 13:10:35 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-03-26 13:10:35 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "curl"
|
2022-05-25 17:31:30 +00:00
|
|
|
version = "0.4.43"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:31:30 +00:00
|
|
|
checksum = "37d855aeef205b43f65a5001e0997d81f8efca7badad4fad7d897aa7f0d0651f"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"curl-sys",
|
|
|
|
"libc",
|
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
|
|
|
"schannel",
|
2021-07-04 18:49:56 +00:00
|
|
|
"socket2",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "curl-sys"
|
2022-05-25 17:31:30 +00:00
|
|
|
version = "0.4.55+curl-7.83.1"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-25 17:31:30 +00:00
|
|
|
checksum = "23734ec77368ec583c2e61dd3f0b0e5c98b93abe6d2a004ca06b91dd7e3e2762"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libnghttp2-sys",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2018-05-29 11:52:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "datafrog"
|
2019-01-02 19:45:22 +00:00
|
|
|
version = "2.0.1"
|
2018-05-29 11:52:51 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "a0afaad2b26fa326569eb264b1363e8ae3357618c43982b3f285f0774ce76b69"
|
2018-05-29 11:52:51 +00:00
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "derive-new"
|
2020-05-05 11:30:49 +00:00
|
|
|
version = "0.5.8"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-05 11:30:49 +00:00
|
|
|
checksum = "71f31892cd5c62e414316f2963c5689242c43d8e7bbcaaeca97e5e28c95d91d9"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2018-07-26 21:58:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "derive_more"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.99.9"
|
2018-07-26 21:58:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "298998b1cf6b5b2c8a7b023dfd45821825ce3ba8a8af55c921a0e734e4653f76"
|
2018-07-26 21:58:55 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2018-07-26 21:58:55 +00:00
|
|
|
]
|
|
|
|
|
2017-04-27 19:41:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "diff"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.12"
|
2017-04-27 19:41:18 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "0e25ea47919b1560c4e3b7fe0aaab9becf5b84a10325ddf7db0f0ba5e1026499"
|
2017-04-27 19:41:18 +00:00
|
|
|
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "difference"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "524cbf6897b527295dff137cec09ecf3a05f4fddffd7dfcd1585403449e74198"
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
2020-03-31 05:17:15 +00:00
|
|
|
version = "0.8.1"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 05:17:15 +00:00
|
|
|
checksum = "f3d0c8c8752312f9713efd397ff63acb9f85585afbf179282e720e7704954dd5"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2021-03-12 13:33:02 +00:00
|
|
|
"generic-array 0.12.4",
|
2020-10-01 15:15:12 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "digest"
|
2022-02-10 16:54:01 +00:00
|
|
|
version = "0.10.2"
|
2020-10-01 15:15:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-10 16:54:01 +00:00
|
|
|
checksum = "8cb780dce4f9a8f5c087362b3a4595936b2019e7c8b30f2c3e9a7e94e6ae9837"
|
2020-10-01 15:15:12 +00:00
|
|
|
dependencies = [
|
2022-02-10 16:54:01 +00:00
|
|
|
"block-buffer 0.10.2",
|
|
|
|
"crypto-common",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2018-11-28 20:22:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "directories"
|
2021-04-23 22:49:47 +00:00
|
|
|
version = "3.0.2"
|
2018-11-28 20:22:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 22:49:47 +00:00
|
|
|
checksum = "e69600ff1703123957937708eb27f7a564e48885c537782722ed0ba3189ce1d7"
|
2018-11-28 20:22:45 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"dirs-sys",
|
2018-11-28 20:22:45 +00:00
|
|
|
]
|
|
|
|
|
2019-02-18 09:32:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "2.0.2"
|
2019-02-18 09:32:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "13aea89a5c93364a98e9b37b2fa237effbb694d5cfe01c5b70941f7eb087d5e3"
|
2019-02-18 09:32:58 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"dirs-sys",
|
2019-02-18 09:32:58 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs-next"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b98cf8ebf19c3d1b223e151f99a4f9f0690dca41414773390fc824184ac833e1"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"dirs-sys-next",
|
|
|
|
]
|
|
|
|
|
2019-06-13 07:58:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys"
|
2021-04-23 22:49:47 +00:00
|
|
|
version = "0.3.6"
|
2019-06-13 07:58:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 22:49:47 +00:00
|
|
|
checksum = "03d86534ed367a67548dc68113a0f5db55432fdfbb6e6f9d77704397d95d5780"
|
2019-06-13 07:58:32 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2021-04-23 22:49:47 +00:00
|
|
|
"redox_users",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2021-02-25 10:26:23 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "dirs-sys-next"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4ebda144c4fe02d1f7ea1a7d9641b6fc6b580adcfa024ae48797ecdeb6825b4d"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-04-23 22:49:47 +00:00
|
|
|
"redox_users",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2019-06-13 07:58:32 +00:00
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dlmalloc"
|
2021-11-08 15:53:35 +00:00
|
|
|
version = "0.2.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-20 05:52:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-11-08 15:53:35 +00:00
|
|
|
checksum = "a6fe28e0bf9357092740362502f5cc7955d8dc125ebda71dec72336c2e15c62e"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"libc",
|
|
|
|
"rustc-std-workspace-core",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
2022-04-20 13:50:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "dunce"
|
|
|
|
version = "1.0.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "453440c271cf5577fd2a40e4942540cb7d0d2f85e27c8d07dd0023c925a67541"
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "either"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.6.0"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "cd56b59865bce947ac5958779cfa508f6c3b9497cc762b7e24a12d11ccde2c4f"
|
2017-12-06 08:25:29 +00:00
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "elasticlunr-rs"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "2.3.9"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "35622eb004c8f0c5e7e2032815f3314a93df0db30a1ce5c94e62c1ecc81e22b9"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"strum",
|
|
|
|
"strum_macros",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
2020-02-25 08:47:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ena"
|
|
|
|
version = "0.14.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "d7402b94a93c24e742487327a7cd839dc9d36fec9de9fb25b09f2dae459f36c3"
|
2019-03-19 21:30:07 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
2019-03-19 21:30:07 +00:00
|
|
|
]
|
|
|
|
|
2021-04-06 11:20:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "enum-iterator"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c79a6321a1197d7730510c7e3f6cb80432dfefecb32426de8cea0aa19b4bb8d7"
|
|
|
|
dependencies = [
|
|
|
|
"enum-iterator-derive",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "enum-iterator-derive"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1e94aa31f7c0dc764f57896dc615ddd76fc13b0d5dca7eb6cc5e018a5a09ec06"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
2018-01-25 04:01:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
2021-10-20 05:15:20 +00:00
|
|
|
version = "0.7.1"
|
2018-11-16 11:08:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-20 05:15:20 +00:00
|
|
|
checksum = "44533bbbb3bb3c1fa17d9f2e4e38bbbaf8396ba82193c4cb1b6445d711445d36"
|
2018-11-16 11:08:23 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"atty",
|
2020-01-21 17:55:43 +00:00
|
|
|
"humantime 1.3.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"termcolor",
|
2018-11-16 11:08:23 +00:00
|
|
|
]
|
|
|
|
|
2019-09-24 18:06:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
2021-10-20 05:15:20 +00:00
|
|
|
version = "0.8.4"
|
2019-09-24 18:06:56 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-20 05:15:20 +00:00
|
|
|
checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3"
|
2019-09-24 18:06:56 +00:00
|
|
|
dependencies = [
|
|
|
|
"atty",
|
2021-10-20 05:15:20 +00:00
|
|
|
"humantime 2.0.1",
|
2019-09-24 18:06:56 +00:00
|
|
|
"log",
|
|
|
|
"regex",
|
2020-10-20 23:36:46 +00:00
|
|
|
"termcolor",
|
|
|
|
]
|
|
|
|
|
2021-07-16 02:27:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "env_logger"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0b2cf0344971ee6c64c31be0d530793fba457d322dfec2810c453d0ef228f9c3"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
|
|
|
"humantime 2.0.1",
|
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"termcolor",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "error_index_generator"
|
|
|
|
version = "0.0.0"
|
2017-07-23 02:01:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustdoc",
|
2019-08-19 22:04:25 +00:00
|
|
|
"walkdir",
|
2017-07-23 02:01:58 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2019-11-26 11:06:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "expand-yaml-anchors"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"yaml-merge-keys",
|
2020-08-17 15:21:44 +00:00
|
|
|
"yaml-rust 0.4.4",
|
2019-11-26 11:06:30 +00:00
|
|
|
]
|
|
|
|
|
Introduce expect snapshot testing library into rustc
Snapshot testing is a technique for writing maintainable unit tests.
Unlike usual `assert_eq!` tests, snapshot tests allow
to *automatically* upgrade expected values on test failure.
In a sense, snapshot tests are inline-version of our beloved
UI-tests.
Example:
![expect](https://user-images.githubusercontent.com/1711539/90888810-3bcc8180-e3b7-11ea-9626-d06e89e1a0bb.gif)
A particular library we use, `expect_test` provides an `expect!`
macro, which creates a sort of self-updating string literal (by using
`file!` macro). Self-update is triggered by setting `UPDATE_EXPECT`
environmental variable (this info is printed during the test failure).
This library was extracted from rust-analyzer, where we use it for
most of our tests.
There are some other, more popular snapshot testing libraries:
* https://github.com/mitsuhiko/insta
* https://github.com/aaronabramov/k9
The main differences of `expect` are:
* first-class snapshot objects (so, tests can be written as functions,
rather than as macros)
* focus on inline-snapshots (but file snapshots are also supported)
* restricted feature set (only `assert_eq` and `assert_debug_eq`)
* no extra runtime (ie, no `cargo insta`)
See https://github.com/rust-analyzer/rust-analyzer/pull/5101 for a
an extended comparison.
It is unclear if this testing style will stick with rustc in the long
run. At the moment, rustc is mainly tested via integrated UI tests.
But in the library-ified world, unit-tests will become somewhat more
important (that's why use use `rustc_lexer` library-ified library as
an example in this PR). Given that the cost of removal shouldn't be
too high, it probably makes sense to just see if this flies!
2020-08-21 12:03:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "expect-test"
|
2020-08-31 19:04:09 +00:00
|
|
|
version = "1.0.1"
|
Introduce expect snapshot testing library into rustc
Snapshot testing is a technique for writing maintainable unit tests.
Unlike usual `assert_eq!` tests, snapshot tests allow
to *automatically* upgrade expected values on test failure.
In a sense, snapshot tests are inline-version of our beloved
UI-tests.
Example:
![expect](https://user-images.githubusercontent.com/1711539/90888810-3bcc8180-e3b7-11ea-9626-d06e89e1a0bb.gif)
A particular library we use, `expect_test` provides an `expect!`
macro, which creates a sort of self-updating string literal (by using
`file!` macro). Self-update is triggered by setting `UPDATE_EXPECT`
environmental variable (this info is printed during the test failure).
This library was extracted from rust-analyzer, where we use it for
most of our tests.
There are some other, more popular snapshot testing libraries:
* https://github.com/mitsuhiko/insta
* https://github.com/aaronabramov/k9
The main differences of `expect` are:
* first-class snapshot objects (so, tests can be written as functions,
rather than as macros)
* focus on inline-snapshots (but file snapshots are also supported)
* restricted feature set (only `assert_eq` and `assert_debug_eq`)
* no extra runtime (ie, no `cargo insta`)
See https://github.com/rust-analyzer/rust-analyzer/pull/5101 for a
an extended comparison.
It is unclear if this testing style will stick with rustc in the long
run. At the moment, rustc is mainly tested via integrated UI tests.
But in the library-ified world, unit-tests will become somewhat more
important (that's why use use `rustc_lexer` library-ified library as
an example in this PR). Given that the cost of removal shouldn't be
too high, it probably makes sense to just see if this flies!
2020-08-21 12:03:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-31 19:04:09 +00:00
|
|
|
checksum = "ceb96f3eaa0d4e8769c52dacfd4eb60183b817ed2f176171b3c691d5022b0f2e"
|
Introduce expect snapshot testing library into rustc
Snapshot testing is a technique for writing maintainable unit tests.
Unlike usual `assert_eq!` tests, snapshot tests allow
to *automatically* upgrade expected values on test failure.
In a sense, snapshot tests are inline-version of our beloved
UI-tests.
Example:
![expect](https://user-images.githubusercontent.com/1711539/90888810-3bcc8180-e3b7-11ea-9626-d06e89e1a0bb.gif)
A particular library we use, `expect_test` provides an `expect!`
macro, which creates a sort of self-updating string literal (by using
`file!` macro). Self-update is triggered by setting `UPDATE_EXPECT`
environmental variable (this info is printed during the test failure).
This library was extracted from rust-analyzer, where we use it for
most of our tests.
There are some other, more popular snapshot testing libraries:
* https://github.com/mitsuhiko/insta
* https://github.com/aaronabramov/k9
The main differences of `expect` are:
* first-class snapshot objects (so, tests can be written as functions,
rather than as macros)
* focus on inline-snapshots (but file snapshots are also supported)
* restricted feature set (only `assert_eq` and `assert_debug_eq`)
* no extra runtime (ie, no `cargo insta`)
See https://github.com/rust-analyzer/rust-analyzer/pull/5101 for a
an extended comparison.
It is unclear if this testing style will stick with rustc in the long
run. At the moment, rustc is mainly tested via integrated UI tests.
But in the library-ified world, unit-tests will become somewhat more
important (that's why use use `rustc_lexer` library-ified library as
an example in this PR). Given that the cost of removal shouldn't be
too high, it probably makes sense to just see if this flies!
2020-08-21 12:03:50 +00:00
|
|
|
dependencies = [
|
|
|
|
"difference",
|
|
|
|
"once_cell",
|
|
|
|
]
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fake-simd"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "e88a8acf291dafb59c2d96e8f59828f3838bb1a70398823ade51a84de6a6deed"
|
2019-01-19 02:39:37 +00:00
|
|
|
|
2021-12-03 14:24:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fallible-iterator"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4443176a9f2c162692bd3d352d745ef9413eec5782a80d8fd6f8a1ac692a07f7"
|
|
|
|
|
2018-04-18 15:43:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "filetime"
|
2021-05-11 19:03:59 +00:00
|
|
|
version = "0.2.14"
|
2018-04-18 15:43:59 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-11 19:03:59 +00:00
|
|
|
checksum = "1d34cfa13a63ae058bfa601fe9e313bbdb3746427c1459185464ce0fcf62e1e8"
|
2018-04-18 15:43:59 +00:00
|
|
|
dependencies = [
|
2021-05-11 19:03:59 +00:00
|
|
|
"cfg-if 1.0.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2021-05-11 19:03:59 +00:00
|
|
|
"redox_syscall",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-04-18 15:43:59 +00:00
|
|
|
]
|
|
|
|
|
2020-03-03 16:25:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fixedbitset"
|
2020-05-27 00:19:19 +00:00
|
|
|
version = "0.2.0"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-27 00:19:19 +00:00
|
|
|
checksum = "37ab347416e802de484e4d03c7316c48f1ecb56574dfd4a46a80f173ce1de04d"
|
2020-03-03 16:25:03 +00:00
|
|
|
|
2017-12-31 14:34:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "flate2"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
version = "1.0.16"
|
2017-12-31 14:34:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
checksum = "68c90b0fc46cf89d227cc78b40e494ff81287a92dd07631e5af0d06fe3cf885e"
|
2017-12-31 14:34:29 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"crc32fast",
|
|
|
|
"libc",
|
|
|
|
"libz-sys",
|
2019-11-12 18:14:48 +00:00
|
|
|
"miniz_oxide",
|
2017-12-31 14:34:29 +00:00
|
|
|
]
|
|
|
|
|
2022-03-26 07:27:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fluent-bundle"
|
|
|
|
version = "0.15.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e242c601dec9711505f6d5bbff5bedd4b61b2469f2e8bb8e57ee7c9747a87ffd"
|
|
|
|
dependencies = [
|
|
|
|
"fluent-langneg",
|
|
|
|
"fluent-syntax",
|
|
|
|
"intl-memoizer",
|
|
|
|
"intl_pluralrules",
|
|
|
|
"rustc-hash",
|
|
|
|
"self_cell",
|
|
|
|
"smallvec",
|
|
|
|
"unic-langid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fluent-langneg"
|
|
|
|
version = "0.13.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2c4ad0989667548f06ccd0e306ed56b61bd4d35458d54df5ec7587c0e8ed5e94"
|
|
|
|
dependencies = [
|
|
|
|
"unic-langid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "fluent-syntax"
|
|
|
|
version = "0.11.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c0abed97648395c902868fee9026de96483933faa54ea3b40d652f7dfe61ca78"
|
|
|
|
dependencies = [
|
|
|
|
"thiserror",
|
|
|
|
]
|
|
|
|
|
2017-07-18 21:26:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fnv"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.7"
|
2017-07-18 21:26:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
2017-07-18 21:26:55 +00:00
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "foreign-types"
|
2017-12-06 08:25:29 +00:00
|
|
|
version = "0.3.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"foreign-types-shared",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "foreign-types-shared"
|
|
|
|
version = "0.1.1"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2021-05-12 00:39:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "form_urlencoded"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5fc25a87fa4fd2094bffb06925852034d90a17f0d1e05197d4956d3555752191"
|
|
|
|
dependencies = [
|
|
|
|
"matches",
|
|
|
|
"percent-encoding 2.1.0",
|
|
|
|
]
|
|
|
|
|
2018-08-28 04:33:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fortanix-sgx-abi"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.3.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-20 05:52:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "c56c422ef86062869b2d57ae87270608dc5929969dd130a6e248979cf4fb6ca6"
|
2018-08-28 04:33:26 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
2018-08-28 04:33:26 +00:00
|
|
|
]
|
|
|
|
|
2021-03-24 15:52:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fs-err"
|
|
|
|
version = "2.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bcd1163ae48bda72a20ae26d66a04d3094135cadab911cff418ae5e33f253431"
|
|
|
|
|
2018-10-21 02:15:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fs_extra"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "5f2a4a2034423744d2cc7ca2068453168dcdb82c438419e639a26bd87839c674"
|
2018-10-21 02:15:06 +00:00
|
|
|
|
2018-07-06 00:34:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fst"
|
2021-04-22 22:47:10 +00:00
|
|
|
version = "0.4.5"
|
2018-07-06 00:34:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-22 22:47:10 +00:00
|
|
|
checksum = "d79238883cf0307100b90aba4a755d8051a3182305dfe7f649a1e9dc0517006f"
|
2018-07-06 00:34:00 +00:00
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futf"
|
2018-07-02 16:33:16 +00:00
|
|
|
version = "0.1.4"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "7c9c1ce3fa9336301af935ab852c437817d14cd33690446569392e65170aac3b"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"mac",
|
|
|
|
"new_debug_unreachable",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
2017-07-19 01:32:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.1.31"
|
2016-09-02 08:55:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "3a471a38ef8ed83cd6e40aa59c1ffe17db6855c18e3604d9c4ed8c08ebc28678"
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2021-02-10 01:52:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "futures"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.3.19"
|
2021-02-10 01:52:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "28560757fe2bb34e79f907794bb6b22ae8b0e5c669b638a1132f2592b19035b4"
|
2021-02-10 01:52:54 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-executor",
|
|
|
|
"futures-io",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-channel"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.3.19"
|
2021-02-10 01:52:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "ba3dda0b6588335f360afc675d0564c17a77a2bda81ca178a4b6081bd86c7f0b"
|
2021-02-10 01:52:54 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-core"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.3.19"
|
2021-02-10 01:52:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "d0c8ff0461b82559810cdccfde3215c3f373807f5e5232b71479bff7bb2583d7"
|
2021-02-10 01:52:54 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-executor"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.3.19"
|
2021-02-10 01:52:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "29d6d2ff5bb10fb95c85b8ce46538a2e5f5e7fdc755623a7d4529ab8a4ed9d2a"
|
2021-02-10 01:52:54 +00:00
|
|
|
dependencies = [
|
|
|
|
"futures-core",
|
|
|
|
"futures-task",
|
|
|
|
"futures-util",
|
|
|
|
"num_cpus",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-io"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.3.19"
|
2021-02-10 01:52:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "b1f9d34af5a1aac6fb380f735fe510746c38067c5bf16c7fd250280503c971b2"
|
2021-02-10 01:52:54 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-macro"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.3.19"
|
2021-02-10 01:52:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "6dbd947adfffb0efc70599b3ddcf7b5597bb5fa9e245eb99f62b3a5f7bb8bd3c"
|
2021-02-10 01:52:54 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-sink"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.3.19"
|
2021-02-10 01:52:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "e3055baccb68d74ff6480350f8d6eb8fcfa3aa11bdc1a1ae3afdd0514617d508"
|
2021-02-10 01:52:54 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-task"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.3.19"
|
2021-02-10 01:52:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "6ee7c6485c30167ce4dfb83ac568a849fe53274c831081476ee13e0dce1aad72"
|
2021-02-10 01:52:54 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "futures-util"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.3.19"
|
2021-02-10 01:52:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "d9b5cf40b47a271f77a8b1bec03ca09044d99d2372c0de244e66430761127164"
|
2021-02-10 01:52:54 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"futures 0.1.31",
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures-channel",
|
|
|
|
"futures-core",
|
|
|
|
"futures-io",
|
|
|
|
"futures-macro",
|
|
|
|
"futures-sink",
|
|
|
|
"futures-task",
|
|
|
|
"memchr",
|
2021-07-21 13:17:31 +00:00
|
|
|
"pin-project-lite",
|
2021-02-10 01:52:54 +00:00
|
|
|
"pin-utils",
|
|
|
|
"slab",
|
|
|
|
]
|
|
|
|
|
2018-08-14 21:27:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "fwdansi"
|
2020-07-29 18:02:05 +00:00
|
|
|
version = "1.1.0"
|
2018-08-14 21:27:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-29 18:02:05 +00:00
|
|
|
checksum = "08c1f5787fe85505d1f7777268db5103d80a7a374d2316a7ce262e57baf8f208"
|
2018-08-14 21:27:26 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"memchr",
|
|
|
|
"termcolor",
|
2018-08-14 21:27:26 +00:00
|
|
|
]
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
2021-03-12 13:33:02 +00:00
|
|
|
version = "0.12.4"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 13:33:02 +00:00
|
|
|
checksum = "ffdf9f34f1447443d37393cc6c2b8313aebddcd96906caf34e54c68d8e57d7bd"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"typenum",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2020-10-01 15:15:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "generic-array"
|
|
|
|
version = "0.14.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "501466ecc8a30d1d3b7fc9229b122b2ce8ed6e9d9223f1138d4babb253e51817"
|
|
|
|
dependencies = [
|
|
|
|
"typenum",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00: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 15:29:08 +00:00
|
|
|
version = "0.2.21"
|
2016-09-02 08:55:29 +00:00
|
|
|
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 15:29:08 +00:00
|
|
|
checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5"
|
2019-04-30 19:37:36 +00:00
|
|
|
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 15:29:08 +00:00
|
|
|
"rustc-std-workspace-core",
|
|
|
|
"rustc-std-workspace-std",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-width",
|
2019-04-30 19:37:36 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2019-08-01 15:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
2020-01-08 15:33:57 +00:00
|
|
|
version = "0.1.14"
|
2019-08-01 15:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 15:33:57 +00:00
|
|
|
checksum = "7abc8dd8451921606d809ba32e95b6111925cd2906060d2dcc29c070220503eb"
|
2019-08-01 15:02:26 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2022-01-21 13:19:13 +00:00
|
|
|
"wasi 0.9.0+wasi-snapshot-preview1",
|
2019-08-01 15:02:26 +00:00
|
|
|
]
|
|
|
|
|
2020-09-17 18:04:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getrandom"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ee8025cf36f917e6a52cce185b7c7177689b838b7ec138364e50cc2277a56cf4"
|
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-09-17 18:04:20 +00:00
|
|
|
"libc",
|
2022-01-21 13:19:13 +00:00
|
|
|
"wasi 0.9.0+wasi-snapshot-preview1",
|
2020-09-17 18:04:20 +00:00
|
|
|
]
|
|
|
|
|
2021-04-06 11:20:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "getset"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "24b328c01a4d71d2d8173daa93562a73ab0fe85616876f02500f53d82948c504"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-error",
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
]
|
|
|
|
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
2021-08-19 02:44:24 +00:00
|
|
|
version = "0.25.0"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-19 02:44:24 +00:00
|
|
|
checksum = "f0a01e0497841a3b2db4f8afa483cce65f7e96a3498bd6c541734792aeac8fe7"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2021-12-03 14:24:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "gimli"
|
|
|
|
version = "0.26.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4"
|
|
|
|
dependencies = [
|
|
|
|
"fallible-iterator",
|
|
|
|
"indexmap",
|
|
|
|
"stable_deref_trait",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "git2"
|
2022-03-19 03:06:56 +00:00
|
|
|
version = "0.14.2"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-19 03:06:56 +00:00
|
|
|
checksum = "3826a6e0e2215d7a41c2bfc7c9244123969273f3476b939a226aac0ab56e9e3c"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
|
|
|
"libc",
|
|
|
|
"libgit2-sys",
|
|
|
|
"log",
|
|
|
|
"openssl-probe",
|
|
|
|
"openssl-sys",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "git2-curl"
|
2022-03-09 04:28:22 +00:00
|
|
|
version = "0.15.0"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-09 04:28:22 +00:00
|
|
|
checksum = "1ee51709364c341fbb6fe2a385a290fb9196753bdde2fc45447d27cd31b11b13"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"curl",
|
|
|
|
"git2",
|
|
|
|
"log",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "glob"
|
2019-03-12 20:34:47 +00:00
|
|
|
version = "0.3.0"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2017-07-18 21:26:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "globset"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.5"
|
2017-07-18 21:26:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "7ad1da430bd7281dde2576f44c84cc3f0f7b475e7202cd503042dff01a8c8120"
|
2017-07-18 21:26:55 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"aho-corasick",
|
|
|
|
"bstr",
|
|
|
|
"fnv",
|
|
|
|
"log",
|
|
|
|
"regex",
|
2017-07-18 21:26:55 +00:00
|
|
|
]
|
|
|
|
|
2020-10-26 13:34:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "gsgdt"
|
2022-01-03 19:25:46 +00:00
|
|
|
version = "0.1.2"
|
2020-10-26 13:34:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-03 19:25:46 +00:00
|
|
|
checksum = "a0d876ce7262df96262a2a19531da6ff9a86048224d49580a585fc5c04617825"
|
2020-10-26 13:34:29 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "handlebars"
|
2021-07-27 04:50:25 +00:00
|
|
|
version = "4.1.0"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-27 04:50:25 +00:00
|
|
|
checksum = "72a0ffab8c36d0436114310c7e10b59b3307e650ddfabf6d006028e29a70c6e6"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"pest",
|
|
|
|
"pest_derive",
|
2020-08-17 15:21:44 +00:00
|
|
|
"quick-error 2.0.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2020-10-05 08:50:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
2022-01-20 14:09:05 +00:00
|
|
|
version = "0.11.2"
|
2019-09-21 10:56:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-20 14:09:05 +00:00
|
|
|
checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e"
|
2019-09-21 10:56:05 +00:00
|
|
|
dependencies = [
|
2022-01-07 05:32:58 +00:00
|
|
|
"ahash",
|
2022-01-17 07:46:11 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hashbrown"
|
|
|
|
version = "0.12.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8c21d40587b92fa6a6c6e3c1bdbf87d75511db5672f9c93175574b3a00df1758"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
2019-07-08 21:52:07 +00:00
|
|
|
]
|
|
|
|
|
2018-12-08 14:11:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "heck"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.3.1"
|
2018-12-08 14:11:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "20564e78d53d2bb135c343b3f47714a56af2061f1c928fdb541dc7b9fdd94205"
|
2018-12-08 14:11:47 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-segmentation",
|
2018-12-08 14:11:47 +00:00
|
|
|
]
|
|
|
|
|
2019-10-20 07:55:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
2021-08-13 05:45:30 +00:00
|
|
|
version = "0.1.19"
|
2019-10-20 07:55:10 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-13 05:45:30 +00:00
|
|
|
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
|
2022-02-15 12:57:07 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1ab7905ea95c6d9af62940f9d7dd9596d54c334ae2c15300c482051292d5637f"
|
2019-10-20 07:55:10 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"libc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
2018-07-02 16:33:16 +00:00
|
|
|
version = "0.3.2"
|
2018-01-08 21:56:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "805026a5d0141ffc30abb3be3173848ad46a1b1664fe632428479619a3644d77"
|
2018-01-08 21:56:22 +00:00
|
|
|
|
2019-09-16 18:45:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "hex"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.2"
|
2019-09-16 18:45:40 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "644f9158b2f133fd50f5fb3242878846d9eb792e445c893805ff0e3824006e35"
|
2019-09-16 18:45:40 +00:00
|
|
|
|
2019-08-20 07:32:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "home"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.5.3"
|
2019-08-20 07:32:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "2456aef2e6b6a9784192ae780c0f15bc57df0e918585282325e8c8ac27737654"
|
2019-08-20 07:32:53 +00:00
|
|
|
dependencies = [
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2019-08-20 07:32:53 +00:00
|
|
|
]
|
|
|
|
|
2021-04-23 14:43:18 +00:00
|
|
|
[[package]]
|
|
|
|
name = "html-checker"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2019-06-19 03:36:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "html5ever"
|
2022-04-15 18:11:14 +00:00
|
|
|
version = "0.26.0"
|
2019-06-19 03:36:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:11:14 +00:00
|
|
|
checksum = "bea68cab48b8459f17cf1c944c67ddc572d272d9f2b274140f223ecb1da4a3b7"
|
2019-06-19 03:36:47 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"mac",
|
|
|
|
"markup5ever",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-06-19 03:36:47 +00:00
|
|
|
]
|
|
|
|
|
2018-03-01 19:08:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "humantime"
|
2019-09-24 18:06:56 +00:00
|
|
|
version = "1.3.0"
|
2018-03-01 19:08:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-24 18:06:56 +00:00
|
|
|
checksum = "df004cfca50ef23c36850aaaa59ad52cc70d0e90243c3c7737a4dd32dc7a3c4f"
|
2018-03-01 19:08:48 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"quick-error 1.2.3",
|
2018-03-01 19:08:48 +00:00
|
|
|
]
|
|
|
|
|
2020-01-21 17:55:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "humantime"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "2.0.1"
|
2020-01-21 17:55:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "3c1ad908cc71012b7bea4d0c53ba96a8cba9962f048fa68d143376143d863b7a"
|
2020-01-21 17:55:43 +00:00
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
2018-07-17 16:04:22 +00:00
|
|
|
version = "0.1.5"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "38f09e0f0b1fb55fdee1f17470ad800da77af5186a1a76c026b679358b7e844e"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"matches",
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
2017-02-15 22:55:26 +00:00
|
|
|
]
|
|
|
|
|
2019-08-01 00:44:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "idna"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "02e2673c30ee86b5b96a9cb52ad15718aa1f966f5ab9ad54a8b95d5ca33120a9"
|
2019-08-01 00:44:39 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"matches",
|
|
|
|
"unicode-bidi",
|
|
|
|
"unicode-normalization",
|
2019-08-01 00:44:39 +00:00
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "if_chain"
|
2019-05-26 17:21:54 +00:00
|
|
|
version = "1.0.0"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "c3360c7b59e5ffa2653671fb74b4741a5d343c03f331c0a4aeda42b5c2b0ec7d"
|
2017-12-06 08:25:29 +00:00
|
|
|
|
2017-07-18 21:26:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ignore"
|
2021-04-23 23:09:40 +00:00
|
|
|
version = "0.4.17"
|
2017-07-18 21:26:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 23:09:40 +00:00
|
|
|
checksum = "b287fb45c60bb826a0dc68ff08742b9d88a2fea13d6e0c286b3172065aaf878c"
|
2017-07-18 21:26:55 +00:00
|
|
|
dependencies = [
|
2022-01-10 19:34:07 +00:00
|
|
|
"crossbeam-utils",
|
2019-08-15 00:45:09 +00:00
|
|
|
"globset",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"memchr",
|
|
|
|
"regex",
|
|
|
|
"same-file",
|
2020-05-26 04:04:59 +00:00
|
|
|
"thread_local",
|
2019-08-15 00:45:09 +00:00
|
|
|
"walkdir",
|
|
|
|
"winapi-util",
|
2017-07-18 21:26:55 +00:00
|
|
|
]
|
|
|
|
|
2018-12-03 01:33:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "im-rc"
|
2020-05-18 22:41:57 +00:00
|
|
|
version = "15.0.0"
|
2018-12-03 01:33:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-18 22:41:57 +00:00
|
|
|
checksum = "3ca8957e71f04a205cb162508f9326aea04676c8dfd0711220190d6b83664f3f"
|
2018-12-03 01:33:20 +00:00
|
|
|
dependencies = [
|
2019-11-25 16:14:07 +00:00
|
|
|
"bitmaps",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_core 0.5.1",
|
2021-08-29 15:55:29 +00:00
|
|
|
"rand_xoshiro 0.4.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"sized-chunks",
|
|
|
|
"typenum",
|
2020-02-13 17:39:40 +00:00
|
|
|
"version_check",
|
2018-12-03 01:33:20 +00:00
|
|
|
]
|
|
|
|
|
2019-05-14 16:42:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "indexmap"
|
2022-05-28 00:14:22 +00:00
|
|
|
version = "1.8.2"
|
2019-05-14 16:42:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-28 00:14:22 +00:00
|
|
|
checksum = "e6012d540c5baa3589337a98ce73408de9b5a25ec9fc2c6fd6be8f0d39e0ca5a"
|
2020-08-08 00:03:47 +00:00
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
2022-01-17 07:46:11 +00:00
|
|
|
"hashbrown 0.11.2",
|
2022-01-06 19:27:59 +00:00
|
|
|
"rustc-rayon",
|
2021-08-26 10:35:32 +00:00
|
|
|
"serde",
|
2020-08-08 00:03:47 +00:00
|
|
|
]
|
2019-05-14 16:42:57 +00:00
|
|
|
|
2021-10-21 11:13:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "indoc"
|
|
|
|
version = "1.0.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e5a75aeaaef0ce18b58056d306c27b07436fbb34b8816c53094b76dd81803136"
|
|
|
|
dependencies = [
|
|
|
|
"unindent",
|
|
|
|
]
|
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "installer"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-05-25 00:08:45 +00:00
|
|
|
"anyhow",
|
2022-01-19 03:14:33 +00:00
|
|
|
"clap 2.34.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"flate2",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"num_cpus",
|
|
|
|
"rayon",
|
|
|
|
"remove_dir_all",
|
|
|
|
"tar",
|
|
|
|
"walkdir",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2019-08-15 00:45:09 +00:00
|
|
|
"xz2",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "instant"
|
2021-12-06 11:33:55 +00:00
|
|
|
version = "0.1.12"
|
2020-08-17 15:21:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-06 11:33:55 +00:00
|
|
|
checksum = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
]
|
2020-08-17 15:21:44 +00:00
|
|
|
|
2022-03-26 07:27:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "intl-memoizer"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c310433e4a310918d6ed9243542a6b83ec1183df95dff8f23f87bb88a264a66f"
|
|
|
|
dependencies = [
|
|
|
|
"type-map",
|
|
|
|
"unic-langid",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "intl_pluralrules"
|
|
|
|
version = "7.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b18f988384267d7066cc2be425e6faf352900652c046b6971d2e228d3b1c5ecf"
|
|
|
|
dependencies = [
|
|
|
|
"tinystr",
|
|
|
|
"unic-langid",
|
|
|
|
]
|
|
|
|
|
2021-06-02 03:38:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "itertools"
|
2021-09-08 14:32:16 +00:00
|
|
|
version = "0.10.1"
|
2021-06-02 03:38:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-09-08 14:32:16 +00:00
|
|
|
checksum = "69ddb889f9d0d08a67338271fa9b62996bc788c7796a5c18cf057420aaed5eaf"
|
2021-06-02 03:38:39 +00:00
|
|
|
dependencies = [
|
|
|
|
"either",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
2017-06-05 16:36:48 +00:00
|
|
|
name = "itoa"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.6"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "dc6f3ad7b9d11a0c00842ff8de1b60ee58661048eb8049ed33c73594f359d7e6"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2022-05-06 21:20:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jemalloc-sys"
|
|
|
|
version = "0.5.0+5.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f655c3ecfa6b0d03634595b4b54551d4bd5ac208b9e0124873949a7ab168f70b"
|
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
"fs_extra",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2017-02-20 00:20:57 +00:00
|
|
|
[[package]]
|
2017-06-05 16:36:48 +00:00
|
|
|
name = "jobserver"
|
2021-08-18 00:38:07 +00:00
|
|
|
version = "0.1.24"
|
2017-02-20 00:20:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-18 00:38:07 +00:00
|
|
|
checksum = "af25a77299a7f711a01975c35a6a424eb6862092cc2d6c72c4ed6cbc56dfc1fa"
|
2017-06-05 16:36:48 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2017-06-05 16:36:48 +00:00
|
|
|
]
|
2017-02-20 00:20:57 +00:00
|
|
|
|
2018-08-25 16:17:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "json"
|
2021-04-22 22:47:10 +00:00
|
|
|
version = "0.12.4"
|
2018-08-25 16:17:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-22 22:47:10 +00:00
|
|
|
checksum = "078e285eafdfb6c4b434e0d31e8cfcb5115b651496faca5749b88fafd4f23bfd"
|
2018-08-25 16:17:55 +00:00
|
|
|
|
2021-01-16 01:34:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jsondocck"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2021-03-24 15:52:47 +00:00
|
|
|
"fs-err",
|
2021-01-16 01:34:15 +00:00
|
|
|
"getopts",
|
|
|
|
"jsonpath_lib",
|
2021-06-01 16:44:10 +00:00
|
|
|
"once_cell",
|
2021-01-16 01:34:15 +00:00
|
|
|
"regex",
|
|
|
|
"serde_json",
|
2021-06-01 15:25:36 +00:00
|
|
|
"shlex",
|
2021-01-16 01:34:15 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonpath_lib"
|
|
|
|
version = "0.2.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "61352ec23883402b7d30b3313c16cbabefb8907361c4eb669d990cbb87ceee5a"
|
|
|
|
dependencies = [
|
|
|
|
"array_tool",
|
|
|
|
"env_logger 0.7.1",
|
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-client-transports"
|
2021-07-21 13:17:31 +00:00
|
|
|
version = "18.0.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "d2b99d4207e2a04fb4581746903c2bb7eb376f88de9c699d0f3e10feeac0cd3a"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2021-02-10 01:52:54 +00:00
|
|
|
"derive_more",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"futures 0.3.19",
|
2019-09-08 08:28:11 +00:00
|
|
|
"jsonrpc-core",
|
|
|
|
"jsonrpc-pubsub",
|
|
|
|
"jsonrpc-server-utils",
|
|
|
|
"log",
|
|
|
|
"parity-tokio-ipc",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"tokio",
|
|
|
|
"url 1.7.2",
|
|
|
|
]
|
|
|
|
|
2017-07-19 01:32:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-core"
|
2021-07-21 13:17:31 +00:00
|
|
|
version = "18.0.0"
|
2017-07-19 01:32:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "14f7f76aef2d054868398427f6c54943cf3d1caa9a7ec7d0c38d69df97a965eb"
|
2017-07-19 01:32:12 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"futures 0.3.19",
|
2021-07-21 13:17:31 +00:00
|
|
|
"futures-executor",
|
|
|
|
"futures-util",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
2017-07-19 01:32:12 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-core-client"
|
2021-07-21 13:17:31 +00:00
|
|
|
version = "18.0.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "b51da17abecbdab3e3d4f26b01c5ec075e88d3abe3ab3b05dc9aa69392764ec0"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"futures 0.3.19",
|
2019-09-08 08:28:11 +00:00
|
|
|
"jsonrpc-client-transports",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-derive"
|
2021-07-21 13:17:31 +00:00
|
|
|
version = "18.0.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "5b939a78fa820cdfcb7ee7484466746a7377760970f6f9c6fe19f9edcc8a38d2"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"proc-macro-crate",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-ipc-server"
|
2021-07-21 13:17:31 +00:00
|
|
|
version = "18.0.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "382bb0206323ca7cda3dcd7e245cea86d37d02457a02a975e3378fb149a48845"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"futures 0.3.19",
|
2019-09-08 08:28:11 +00:00
|
|
|
"jsonrpc-core",
|
|
|
|
"jsonrpc-server-utils",
|
|
|
|
"log",
|
|
|
|
"parity-tokio-ipc",
|
2022-06-04 12:07:44 +00:00
|
|
|
"parking_lot 0.11.2",
|
2021-02-10 01:52:54 +00:00
|
|
|
"tower-service",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-pubsub"
|
2021-07-21 13:17:31 +00:00
|
|
|
version = "18.0.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "240f87695e6c6f62fb37f05c02c04953cf68d6408b8c1c89de85c7a0125b1011"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"futures 0.3.19",
|
2019-09-08 08:28:11 +00:00
|
|
|
"jsonrpc-core",
|
2021-02-10 01:52:54 +00:00
|
|
|
"lazy_static",
|
2019-09-08 08:28:11 +00:00
|
|
|
"log",
|
2022-06-04 12:07:44 +00:00
|
|
|
"parking_lot 0.11.2",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2019-09-08 08:28:11 +00:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jsonrpc-server-utils"
|
2021-07-21 13:17:31 +00:00
|
|
|
version = "18.0.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "fa4fdea130485b572c39a460d50888beb00afb3e35de23ccd7fad8ff19f0e0d4"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"bytes",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"futures 0.3.19",
|
2019-09-08 08:28:11 +00:00
|
|
|
"globset",
|
|
|
|
"jsonrpc-core",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-09-08 08:28:11 +00:00
|
|
|
"log",
|
|
|
|
"tokio",
|
2021-07-21 13:17:31 +00:00
|
|
|
"tokio-stream",
|
2021-02-10 01:52:54 +00:00
|
|
|
"tokio-util",
|
2019-11-12 18:14:48 +00:00
|
|
|
"unicase",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
2022-04-28 05:42:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "kstring"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ec3066350882a1cd6d950d055997f379ac37fd39f81cd4d8ed186032eb3c5747"
|
|
|
|
dependencies = [
|
|
|
|
"static_assertions",
|
|
|
|
]
|
|
|
|
|
2017-12-10 17:42:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lazy_static"
|
2020-01-08 15:33:57 +00:00
|
|
|
version = "1.4.0"
|
2017-12-10 17:42:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 15:33:57 +00:00
|
|
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
2017-12-10 17:42:49 +00:00
|
|
|
|
2018-02-26 17:07:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lazycell"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.3.0"
|
2018-02-26 17:07:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
2018-02-26 17:07:16 +00:00
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2022-05-20 21:52:05 +00:00
|
|
|
version = "0.2.126"
|
2016-09-02 08:55:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-20 21:52:05 +00:00
|
|
|
checksum = "349d5a591cd28b49e1d1037471617a32ddcda5731b99419008085f72d5a53836"
|
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-20 05:52:50 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"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-20 05:52:50 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libgit2-sys"
|
2022-03-19 03:06:56 +00:00
|
|
|
version = "0.13.2+1.4.2"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-03-19 03:06:56 +00:00
|
|
|
checksum = "3a42de9a51a5c12e00fc0e4ca6bc2ea43582fc6418488e8f615e905d886f258b"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libssh2-sys",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2021-11-08 23:03:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libloading"
|
|
|
|
version = "0.7.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c0cf036d15402bea3c5d4de17b3fce76b3e4a56ebc1f577be0e7a72f7c607cf0"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2021-03-17 20:34:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libm"
|
|
|
|
version = "0.1.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a"
|
|
|
|
|
2018-09-20 21:37:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libnghttp2-sys"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.4+1.41.0"
|
2018-09-20 21:37:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "03624ec6df166e79e139a2310ca213283d6b3c30810c54844f307086d4488df1"
|
2018-09-20 21:37:53 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
2018-09-20 21:37:53 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "libssh2-sys"
|
2021-12-28 21:24:03 +00:00
|
|
|
version = "0.2.23"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-28 21:24:03 +00:00
|
|
|
checksum = "b094a36eb4b8b8c8a7b4b8ae43b2944502be3e59cd87687595cf6b0a71b3f4ca"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"libz-sys",
|
|
|
|
"openssl-sys",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libz-sys"
|
2021-07-30 11:56:45 +00:00
|
|
|
version = "1.1.3"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-30 11:56:45 +00:00
|
|
|
checksum = "de5435b8549c16d423ed0c03dbaafe57cf6c3344744f1242520d59c9d8ecec66"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "linkchecker"
|
|
|
|
version = "0.1.0"
|
2020-10-15 13:25:30 +00:00
|
|
|
dependencies = [
|
|
|
|
"once_cell",
|
|
|
|
"regex",
|
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2019-11-26 11:06:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "linked-hash-map"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.5.4"
|
2019-11-26 11:06:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "7fb9b38af92608140b86b693604b9ffcc5824240a484d1ecd4795bacb2fe88f3"
|
2019-11-26 11:06:30 +00:00
|
|
|
|
2020-09-08 22:09:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lint-docs"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"serde_json",
|
|
|
|
"tempfile",
|
|
|
|
"walkdir",
|
|
|
|
]
|
|
|
|
|
2021-09-25 13:25:08 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lld-wrapper"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lock_api"
|
2022-06-04 12:07:44 +00:00
|
|
|
version = "0.4.7"
|
2020-08-17 15:21:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-04 12:07:44 +00:00
|
|
|
checksum = "327fa5b6a6940e4699ec49a9beae1ea4845c6bab9314e4f84ac68742139d8c53"
|
2020-08-17 15:21:44 +00:00
|
|
|
dependencies = [
|
2022-06-04 12:07:44 +00:00
|
|
|
"autocfg",
|
2020-08-17 15:21:44 +00:00
|
|
|
"scopeguard",
|
|
|
|
]
|
|
|
|
|
2017-12-29 10:24:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "log"
|
2021-05-02 20:56:25 +00:00
|
|
|
version = "0.4.14"
|
2016-09-02 08:55:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-02 20:56:25 +00:00
|
|
|
checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
|
2017-12-29 10:24:38 +00:00
|
|
|
dependencies = [
|
2021-05-02 20:56:25 +00:00
|
|
|
"cfg-if 1.0.0",
|
2017-12-29 10:24:38 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lsp-codec"
|
2021-07-21 13:17:31 +00:00
|
|
|
version = "0.3.0"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "aa939d0b62476a5a19fb7fcb423a5c6ce8c7e09b851d37531e2fe3e0e6d9d257"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bytes",
|
|
|
|
"serde_json",
|
2021-02-10 01:52:54 +00:00
|
|
|
"tokio-util",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "lsp-types"
|
2019-09-08 08:28:11 +00:00
|
|
|
version = "0.60.0"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-08 08:28:11 +00:00
|
|
|
checksum = "fe3edefcd66dde1f7f1df706f46520a3c93adc5ca4bc5747da6621195e894efd"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-09-08 08:28:11 +00:00
|
|
|
"serde_repr",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "lzma-sys"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.16"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "f24f76ec44a8ac23a31915d6e326bca17ce88da03096f1ff194925dc714dac99"
|
2017-05-08 22:01:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mac"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
2018-04-03 14:32:04 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "maplit"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.2"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "3e2e65a1a2e43cfcb47a895c4c8b10d1f4a61097f9f254f183aee60cad9c651d"
|
2018-04-03 14:32:04 +00:00
|
|
|
|
2019-06-19 03:36:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "markup5ever"
|
2022-04-15 18:11:14 +00:00
|
|
|
version = "0.11.0"
|
2019-06-19 03:36:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:11:14 +00:00
|
|
|
checksum = "7a2629bb1404f3d34c2e921f21fd34ba00b206124c81f65c50b43b6aaefeb016"
|
2019-06-19 03:36:47 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"phf",
|
|
|
|
"phf_codegen",
|
|
|
|
"string_cache",
|
|
|
|
"string_cache_codegen",
|
|
|
|
"tendril",
|
2019-06-19 03:36:47 +00:00
|
|
|
]
|
|
|
|
|
2020-07-24 18:42:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "matchers"
|
2021-12-21 17:00:30 +00:00
|
|
|
version = "0.1.0"
|
2020-07-24 18:42:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-21 17:00:30 +00:00
|
|
|
checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"
|
2020-07-24 18:42:00 +00:00
|
|
|
dependencies = [
|
|
|
|
"regex-automata",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "matches"
|
2018-08-21 17:23:47 +00:00
|
|
|
version = "0.1.8"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "7ffc5c5338469d4d3ea17d269fa8ea3512ad247247c30bd2df69e68309ed0a08"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2020-10-13 15:41:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "md-5"
|
2022-02-10 16:54:01 +00:00
|
|
|
version = "0.10.0"
|
2020-10-13 15:41:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-10 16:54:01 +00:00
|
|
|
checksum = "e6a38fc55c8bbc10058782919516f88826e70320db6d206aebc49611d24216ae"
|
2020-10-13 15:41:06 +00:00
|
|
|
dependencies = [
|
2022-02-10 16:54:01 +00:00
|
|
|
"digest 0.10.2",
|
2020-10-13 15:41:06 +00:00
|
|
|
]
|
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mdbook"
|
2022-04-15 18:57:06 +00:00
|
|
|
version = "0.4.18"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:57:06 +00:00
|
|
|
checksum = "74612ae81a3e5ee509854049dfa4c7975ae033c06f5fc4735c7dfbe60ee2a39d"
|
2019-08-15 00:45:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"ammonia",
|
2020-06-23 22:23:46 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"chrono",
|
2022-04-15 18:57:06 +00:00
|
|
|
"clap 3.1.1",
|
|
|
|
"clap_complete",
|
2019-08-15 00:45:09 +00:00
|
|
|
"elasticlunr-rs",
|
2020-06-23 22:23:46 +00:00
|
|
|
"env_logger 0.7.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"handlebars",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"memchr",
|
2021-12-03 20:25:07 +00:00
|
|
|
"opener",
|
2022-01-19 10:02:24 +00:00
|
|
|
"pulldown-cmark",
|
2019-08-15 00:45:09 +00:00
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
2021-06-01 15:25:36 +00:00
|
|
|
"shlex",
|
2019-08-15 00:45:09 +00:00
|
|
|
"tempfile",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2021-12-03 20:25:07 +00:00
|
|
|
"topological-sort",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2020-10-01 12:34:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "measureme"
|
2021-05-31 16:53:46 +00:00
|
|
|
version = "9.1.2"
|
2020-10-01 12:34:48 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-31 16:53:46 +00:00
|
|
|
checksum = "78f7a41bc6f856a2cf0e95094ad5121f82500e2d9a0f3c0171d98f6566d8117d"
|
2020-10-01 12:34:48 +00:00
|
|
|
dependencies = [
|
2021-02-25 23:25:38 +00:00
|
|
|
"log",
|
2021-05-11 19:03:59 +00:00
|
|
|
"memmap2",
|
2022-06-04 12:07:44 +00:00
|
|
|
"parking_lot 0.11.2",
|
2021-02-25 23:25:38 +00:00
|
|
|
"perf-event-open-sys",
|
2020-10-01 12:34:48 +00:00
|
|
|
"rustc-hash",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-10-01 12:34:48 +00:00
|
|
|
]
|
|
|
|
|
2021-07-23 14:25:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "measureme"
|
2021-10-07 13:08:44 +00:00
|
|
|
version = "10.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bd460fad6e55ca82fa0cd9dab0d315294188fd9ec6efbf4105e5635d4872ef9c"
|
2021-07-23 14:25:58 +00:00
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"memmap2",
|
2022-06-04 12:07:44 +00:00
|
|
|
"parking_lot 0.11.2",
|
2021-07-23 14:25:58 +00:00
|
|
|
"perf-event-open-sys",
|
|
|
|
"rustc-hash",
|
|
|
|
"smallvec",
|
|
|
|
]
|
|
|
|
|
2017-12-06 08:25:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
2021-08-19 02:44:24 +00:00
|
|
|
version = "2.4.1"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-19 02:44:24 +00:00
|
|
|
checksum = "308cc39be01b73d0d18f82a0e7b2a3df85245f84af96fdddc5d202d27e47b86a"
|
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2021-03-17 16:29:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "memmap2"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "04e3e85b970d650e2ae6d70592474087051c11c54da7f7b4949725c5735fbcc6"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2019-07-25 13:57:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "memoffset"
|
2022-01-10 19:34:07 +00:00
|
|
|
version = "0.6.5"
|
2019-07-25 13:57:25 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-10 19:34:07 +00:00
|
|
|
checksum = "5aa361d4faea93603064a027415f07bd8e1d5c88c9fbf68bf56a285428fd79ce"
|
2019-07-25 13:57:25 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"autocfg",
|
2019-07-25 13:57:25 +00:00
|
|
|
]
|
|
|
|
|
2018-05-10 22:02:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "minifier"
|
2022-05-24 14:55:29 +00:00
|
|
|
version = "0.1.0"
|
2018-05-10 22:02:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-24 14:55:29 +00:00
|
|
|
checksum = "7071d17e2898e134cabf624f43cdefa0cedf57c739e964df3d0df9d028701a72"
|
2018-05-10 22:02:05 +00:00
|
|
|
|
2022-01-03 17:18:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "minimal-lexical"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
|
|
|
|
|
2018-12-08 11:06:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miniz_oxide"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
version = "0.4.0"
|
2018-12-08 11:06:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
checksum = "be0f75932c1f6cfae3c04000e40114adf955636e19040f9c0a2c380702aa1c7f"
|
2018-12-08 11:06:54 +00:00
|
|
|
dependencies = [
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
"adler",
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
2018-12-08 11:06:54 +00:00
|
|
|
]
|
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "mio"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.7.14"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "8067b404fe97c70829f082dec8bcf4f71225d7eaea1d8645349cb76fa06205cc"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
|
|
|
"log",
|
2021-07-21 13:17:31 +00:00
|
|
|
"miow",
|
|
|
|
"ntapi",
|
|
|
|
"winapi",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2018-03-07 07:39:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miow"
|
2021-07-04 18:49:56 +00:00
|
|
|
version = "0.3.7"
|
2018-03-07 07:39:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-04 18:49:56 +00:00
|
|
|
checksum = "b9f1c5b025cda876f66ef43a113f91ebc9f4ccef34843000e0adf6ebbab84e21"
|
2018-03-07 07:39:55 +00:00
|
|
|
dependencies = [
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-03-07 07:39:55 +00:00
|
|
|
]
|
|
|
|
|
2017-12-15 19:41:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "miri"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"colored",
|
2021-10-04 22:13:00 +00:00
|
|
|
"env_logger 0.9.0",
|
2020-09-17 18:04:20 +00:00
|
|
|
"getrandom 0.2.0",
|
2022-05-30 08:17:46 +00:00
|
|
|
"lazy_static",
|
2020-06-01 18:17:20 +00:00
|
|
|
"libc",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
2021-10-07 13:08:44 +00:00
|
|
|
"measureme 9.1.2",
|
2022-04-15 18:11:14 +00:00
|
|
|
"rand 0.8.5",
|
2022-05-30 08:17:46 +00:00
|
|
|
"regex",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc-workspace-hack",
|
|
|
|
"shell-escape",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2022-05-30 08:17:46 +00:00
|
|
|
"ui_test",
|
2017-12-15 19:41:58 +00:00
|
|
|
]
|
|
|
|
|
2018-07-02 16:33:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "new_debug_unreachable"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.4"
|
2018-02-26 03:15:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
|
2018-02-26 03:15:45 +00:00
|
|
|
|
2022-01-03 17:18:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "nom"
|
|
|
|
version = "7.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1b1d11e1ef389c76fe5b81bcaf2ea32cf88b62bc494e19f493d0b30e7a930109"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
"minimal-lexical",
|
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
2022-04-20 13:50:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "normalize-line-endings"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be"
|
|
|
|
|
2021-07-21 13:17:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ntapi"
|
|
|
|
version = "0.3.6"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3f6bb902e437b6d86e03cce10a7e2af662292c5dfef23b65899ea3ac9354ad44"
|
|
|
|
dependencies = [
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
2018-07-14 22:01:24 +00:00
|
|
|
name = "num-integer"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.43"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "8d59457e662d541ba17869cf51cf177c0b5f0cbf476c66bdc90bf1edac4f875b"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"autocfg",
|
2019-08-15 00:45:09 +00:00
|
|
|
"num-traits",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2017-02-20 00:20:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num-traits"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.2.12"
|
2017-02-20 00:20:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "ac267bcc07f48ee5f8935ab0d24f316fb722d7a1292e2913f0cc196b29ffd611"
|
|
|
|
dependencies = [
|
|
|
|
"autocfg",
|
|
|
|
]
|
2017-02-20 00:20:57 +00:00
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "num_cpus"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "1.13.1"
|
2016-09-02 08:55:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "19e64526ebdee182341572e50e9ad03965aa510cd94427a4549448f285e957a1"
|
2016-09-02 08:55:29 +00:00
|
|
|
dependencies = [
|
2022-02-15 12:57:07 +00:00
|
|
|
"hermit-abi 0.1.19",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "object"
|
2021-08-30 20:10:19 +00:00
|
|
|
version = "0.26.2"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-30 20:10:19 +00:00
|
|
|
checksum = "39f37e50073ccad23b6d09bcb5b263f4e76d3bb6038e4a3c08e52162ffa8abc2"
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
2021-04-22 18:53:33 +00:00
|
|
|
"memchr",
|
2021-08-19 02:44:24 +00:00
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
2021-04-22 18:53:33 +00:00
|
|
|
]
|
|
|
|
|
2022-01-07 05:32:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "object"
|
2022-05-02 01:45:50 +00:00
|
|
|
version = "0.28.4"
|
2022-01-07 05:32:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-02 01:45:50 +00:00
|
|
|
checksum = "e42c982f2d955fac81dd7e1d0e1426a7d702acd9c98d19ab01083a6a0328c424"
|
2022-01-07 05:32:58 +00:00
|
|
|
dependencies = [
|
|
|
|
"crc32fast",
|
2022-01-20 14:09:05 +00:00
|
|
|
"flate2",
|
2022-01-17 07:46:11 +00:00
|
|
|
"hashbrown 0.11.2",
|
2022-01-07 05:32:58 +00:00
|
|
|
"indexmap",
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2021-07-20 11:54:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "odht"
|
2021-10-29 16:05:15 +00:00
|
|
|
version = "0.3.1"
|
2021-07-20 11:54:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-29 16:05:15 +00:00
|
|
|
checksum = "5a518809ac14b25b569624d0268eba1e88498f71615893dca57982bed7621abb"
|
2021-07-20 11:54:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
]
|
|
|
|
|
2019-09-10 01:01:41 +00:00
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2022-04-20 22:15:04 +00:00
|
|
|
version = "1.10.0"
|
2019-09-10 01:01:41 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-20 22:15:04 +00:00
|
|
|
checksum = "87f3e037eac156d1775da914196f0f37741a274155e34a0b7e427c35d2a2ecb9"
|
2019-09-10 01:01:41 +00:00
|
|
|
|
2020-03-31 05:17:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "opaque-debug"
|
|
|
|
version = "0.2.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2839e79665f131bdb5782e51f2c6c9599c133c6098982a54c794358bf432529c"
|
|
|
|
|
2021-06-22 23:19:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "opener"
|
|
|
|
version = "0.5.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4ea3ebcd72a54701f56345f16785a6d3ac2df7e986d273eb4395c0b01db17952"
|
|
|
|
dependencies = [
|
|
|
|
"bstr",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2021-06-22 23:19:24 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl"
|
2022-04-16 08:50:29 +00:00
|
|
|
version = "0.10.38"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-16 08:50:29 +00:00
|
|
|
checksum = "0c7ae222234c30df141154f159066c5093ff73b63204dcda7121eb082fc56a95"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
2021-05-01 11:50:03 +00:00
|
|
|
"cfg-if 1.0.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"foreign-types",
|
|
|
|
"libc",
|
2021-05-01 11:50:03 +00:00
|
|
|
"once_cell",
|
2019-08-15 00:45:09 +00:00
|
|
|
"openssl-sys",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "openssl-probe"
|
2017-12-10 17:42:49 +00:00
|
|
|
version = "0.1.2"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "77af24da69f9d9341038eba93a073b1fdaaa1b788221b00a69bce9e762cb32de"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2018-08-14 21:27:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-src"
|
2022-04-11 18:50:19 +00:00
|
|
|
version = "111.18.0+1.1.1n"
|
2018-08-14 21:27:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-11 18:50:19 +00:00
|
|
|
checksum = "7897a926e1e8d00219127dc020130eca4292e5ca666dd592480d72c3eca2ff6c"
|
2018-08-14 21:27:26 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
2018-08-14 21:27:26 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "openssl-sys"
|
2022-04-16 08:50:29 +00:00
|
|
|
version = "0.9.72"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-16 08:50:29 +00:00
|
|
|
checksum = "7e46109c383602735fa0a2e48dd2b7c892b048e1bf69e5c3b1d804b7d9c203cb"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2020-03-16 18:37:15 +00:00
|
|
|
"autocfg",
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"openssl-src",
|
|
|
|
"pkg-config",
|
|
|
|
"vcpkg",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2018-07-06 00:34:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ordslice"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "dd20eec3dbe4376829cb7d80ae6ac45e0a766831dca50202ff2d40db46a8a024"
|
2018-07-06 00:34:00 +00:00
|
|
|
|
2021-10-12 04:48:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "os_info"
|
|
|
|
version = "3.0.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6ac91020bfed8cc3f8aa450d4c3b5fa1d3373fc091c8a92009f3b27749d5a227"
|
|
|
|
dependencies = [
|
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2022-01-19 03:14:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "os_str_bytes"
|
|
|
|
version = "6.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64"
|
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2020-03-26 13:10:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "output_vt100"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "53cdc5b785b7a58c5aad8216b3dfa114df64b0b06ae6e1501cef91df2fbdf8f9"
|
|
|
|
dependencies = [
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2020-03-26 13:10:35 +00:00
|
|
|
]
|
|
|
|
|
2018-12-01 10:36:32 +00:00
|
|
|
[[package]]
|
2021-03-17 20:34:05 +00:00
|
|
|
name = "packed_simd_2"
|
|
|
|
version = "0.3.4"
|
2018-12-01 10:36:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-17 20:34:05 +00:00
|
|
|
checksum = "3278e0492f961fd4ae70909f56b2723a7e8d01a228427294e19cdfdebda89a17"
|
2018-12-01 10:36:32 +00:00
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2021-03-17 20:34:05 +00:00
|
|
|
"libm",
|
2018-12-01 10:36:32 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "panic_abort"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-03-15 10:21:39 +00:00
|
|
|
"alloc",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"libc",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "panic_unwind"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"alloc",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"libc",
|
|
|
|
"unwind",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parity-tokio-ipc"
|
2021-07-21 13:17:31 +00:00
|
|
|
version = "0.9.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "9981e32fb75e004cc148f5fb70342f393830e0a4aa62e3cc93b50976218d42b6"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"futures 0.3.19",
|
2021-02-10 01:52:54 +00:00
|
|
|
"libc",
|
2019-09-08 08:28:11 +00:00
|
|
|
"log",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
2019-09-08 08:28:11 +00:00
|
|
|
"tokio",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
2021-12-06 11:33:55 +00:00
|
|
|
version = "0.11.2"
|
2020-08-17 15:21:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-06 11:33:55 +00:00
|
|
|
checksum = "7d17b78036a60663b797adeaee46f5c9dfebb86948d1255007a1d6be0271ff99"
|
2020-08-17 15:21:44 +00:00
|
|
|
dependencies = [
|
|
|
|
"instant",
|
2021-02-10 01:52:54 +00:00
|
|
|
"lock_api",
|
2022-06-04 12:07:44 +00:00
|
|
|
"parking_lot_core 0.8.5",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot"
|
|
|
|
version = "0.12.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
|
|
|
dependencies = [
|
|
|
|
"lock_api",
|
|
|
|
"parking_lot_core 0.9.3",
|
2020-08-17 15:21:44 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
2021-12-06 11:33:55 +00:00
|
|
|
version = "0.8.5"
|
2020-02-12 14:47:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-06 11:33:55 +00:00
|
|
|
checksum = "d76e8e1493bcac0d2766c42737f34458f1c8c50c0d23bcb24ea953affb273216"
|
2020-02-12 14:47:31 +00:00
|
|
|
dependencies = [
|
2021-03-17 20:25:47 +00:00
|
|
|
"cfg-if 1.0.0",
|
2020-08-17 15:21:44 +00:00
|
|
|
"instant",
|
2020-02-12 14:47:31 +00:00
|
|
|
"libc",
|
2021-05-11 19:03:59 +00:00
|
|
|
"redox_syscall",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2020-02-12 14:47:31 +00:00
|
|
|
]
|
|
|
|
|
2022-06-04 12:07:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "parking_lot_core"
|
|
|
|
version = "0.9.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "09a279cbf25cb0757810394fbc1e359949b59e348145c643a939a525692e6929"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"libc",
|
|
|
|
"redox_syscall",
|
|
|
|
"smallvec",
|
|
|
|
"windows-sys",
|
|
|
|
]
|
|
|
|
|
2020-07-17 22:01:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pathdiff"
|
2022-04-14 01:02:32 +00:00
|
|
|
version = "0.2.1"
|
2020-07-17 22:01:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-14 01:02:32 +00:00
|
|
|
checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd"
|
2020-07-17 22:01:27 +00:00
|
|
|
|
2017-06-15 02:33:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "percent-encoding"
|
2017-12-06 08:25:29 +00:00
|
|
|
version = "1.0.1"
|
2017-06-15 02:33:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "31010dd2e1ac33d5b46a5b413495239882813e0369f8ed8a5e266f173602f831"
|
2017-06-15 02:33:06 +00:00
|
|
|
|
2019-08-01 00:44:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "percent-encoding"
|
2019-11-12 18:14:48 +00:00
|
|
|
version = "2.1.0"
|
2019-08-01 00:44:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-12 18:14:48 +00:00
|
|
|
checksum = "d4fd5641d01c8f18a23da7b6fe29298ff4b55afcccdf78973b24cf3175fee32e"
|
2019-08-01 00:44:39 +00:00
|
|
|
|
2021-02-25 23:25:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "perf-event-open-sys"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ce9bedf5da2c234fdf2391ede2b90fabf585355f33100689bc364a3ea558561a"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
]
|
2019-08-01 00:44:39 +00:00
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pest"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "2.1.3"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "10f4872ae94d7b90ae48754df22fd42ad52ce740b8f370b03da4835417403e53"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"ucd-trie",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_derive"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "833d1ae558dc601e9a60366421196a8d94bc0ac980476d0b67e1d0988d72b2d0"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"pest",
|
|
|
|
"pest_generator",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_generator"
|
2020-05-05 11:26:29 +00:00
|
|
|
version = "2.1.3"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-05 11:26:29 +00:00
|
|
|
checksum = "99b8db626e31e5b81787b9783425769681b347011cc59471e33ea46d2ea0cf55"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"pest",
|
|
|
|
"pest_meta",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pest_meta"
|
2020-03-31 05:17:15 +00:00
|
|
|
version = "2.1.3"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 05:17:15 +00:00
|
|
|
checksum = "54be6e404f5317079812fc8f9f5279de376d8856929e21c184ecf6bbd692a11d"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"maplit",
|
|
|
|
"pest",
|
2020-10-13 15:41:06 +00:00
|
|
|
"sha-1 0.8.2",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2020-03-03 16:25:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "petgraph"
|
2020-05-27 00:19:19 +00:00
|
|
|
version = "0.5.1"
|
2020-03-03 16:25:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-27 00:19:19 +00:00
|
|
|
checksum = "467d164a6de56270bd7c4d070df81d07beace25012d5103ced4e9ff08d6afdb7"
|
2020-03-03 16:25:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"fixedbitset",
|
2020-05-27 00:19:19 +00:00
|
|
|
"indexmap",
|
2020-03-03 16:25:03 +00:00
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "phf"
|
2022-04-15 18:11:14 +00:00
|
|
|
version = "0.10.1"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:11:14 +00:00
|
|
|
checksum = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"phf_shared",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_codegen"
|
2022-04-15 18:11:14 +00:00
|
|
|
version = "0.10.0"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:11:14 +00:00
|
|
|
checksum = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"phf_generator",
|
|
|
|
"phf_shared",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_generator"
|
2022-04-15 18:11:14 +00:00
|
|
|
version = "0.10.0"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:11:14 +00:00
|
|
|
checksum = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"phf_shared",
|
2022-04-15 18:11:14 +00:00
|
|
|
"rand 0.8.5",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "phf_shared"
|
2022-04-15 18:11:14 +00:00
|
|
|
version = "0.10.0"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:11:14 +00:00
|
|
|
checksum = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"siphasher",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
2021-02-10 01:52:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pin-project-lite"
|
2022-01-24 17:19:21 +00:00
|
|
|
version = "0.2.8"
|
2021-02-10 01:52:54 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-24 17:19:21 +00:00
|
|
|
checksum = "e280fbe77cc62c91527259e9442153f4688736748d24660126286329742b4c6c"
|
2021-02-10 01:52:54 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pin-utils"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pkg-config"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.3.18"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "d36492546b6af1463394d46f0c834346f31548646f6ba10849802c9c9a27ac33"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2018-05-24 21:52:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "polonius-engine"
|
2021-07-22 20:21:06 +00:00
|
|
|
version = "0.13.0"
|
2018-05-24 21:52:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-22 20:21:06 +00:00
|
|
|
checksum = "c4e8e505342045d397d0b6674dcb82d6faf5cf40484d30eeb88fc82ef14e903f"
|
2018-05-29 11:52:51 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"datafrog",
|
|
|
|
"log",
|
|
|
|
"rustc-hash",
|
2018-05-29 11:52:51 +00:00
|
|
|
]
|
2018-05-24 21:52:01 +00:00
|
|
|
|
2019-08-01 15:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ppv-lite86"
|
2020-05-26 04:35:21 +00:00
|
|
|
version = "0.2.8"
|
2019-08-01 15:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 04:35:21 +00:00
|
|
|
checksum = "237a5ed80e274dbc66f86bd59c1e25edc039660be53194b5fe0a482e0f2612ea"
|
2019-08-01 15:02:26 +00:00
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "precomputed-hash"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
|
2018-04-03 14:32:04 +00:00
|
|
|
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pretty_assertions"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
version = "0.7.2"
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
checksum = "1cab0e7c02cf376875e9335e0ba1da535775beb5450d21e1dffca068818ed98b"
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"ansi_term",
|
2020-03-26 13:10:35 +00:00
|
|
|
"ctor",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"diff",
|
2020-03-26 13:10:35 +00:00
|
|
|
"output_vt100",
|
Add tests to rustbuild
In order to run tests, previous commits have cfg'd out various parts of
rustbuild. Generally speaking, these are filesystem-related operations
and process-spawning related parts. Then, rustbuild is run "as normal"
and the various steps that where run are retrieved from the cache and
checked against the expected results.
Note that this means that the current implementation primarily tests
"what" we build, but doesn't actually test that what we build *will*
build. In other words, it doesn't do any form of dependency verification
for any crate. This is possible to implement, but is considered future
work.
This implementation strives to cfg out as little code as possible; it
also does not currently test anywhere near all of rustbuild. The current
tests are also not checked for "correctness," rather, they simply
represent what we do as of this commit, which may be wrong.
Test cases are drawn from the old implementation of rustbuild, though
the expected results may vary.
2018-03-10 14:03:06 +00:00
|
|
|
]
|
|
|
|
|
2022-05-30 08:17:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pretty_assertions"
|
|
|
|
version = "1.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c89f989ac94207d048d92db058e4f6ec7342b0971fc58d1271ca148b799b3563"
|
|
|
|
dependencies = [
|
|
|
|
"ansi_term",
|
|
|
|
"ctor",
|
|
|
|
"diff",
|
|
|
|
"output_vt100",
|
|
|
|
]
|
|
|
|
|
2018-12-03 01:33:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pretty_env_logger"
|
2020-02-10 19:47:38 +00:00
|
|
|
version = "0.4.0"
|
2018-12-03 01:33:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-02-10 19:47:38 +00:00
|
|
|
checksum = "926d36b9553851b8b0005f1275891b392ee4d2d833852c417ed025477350fb9d"
|
2018-12-03 01:33:20 +00:00
|
|
|
dependencies = [
|
2020-02-10 19:47:38 +00:00
|
|
|
"env_logger 0.7.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
2018-12-03 01:33:20 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-crate"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.5"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "1d6ea3c4595b96363c13943497db34af4460fb474a95c43f4446ad341b8c9785"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"toml",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.4"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"proc-macro-error-attr",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-08-17 15:21:44 +00:00
|
|
|
"version_check",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-error-attr"
|
|
|
|
version = "1.0.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"version_check",
|
2018-04-02 15:43:55 +00:00
|
|
|
]
|
|
|
|
|
2022-03-26 07:27:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro-hack"
|
|
|
|
version = "0.5.19"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "dbf0c48bc1d91375ae5c3cd81e3722dff1abcf81a30960240640d223f59fe0e5"
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2022-04-18 16:10:37 +00:00
|
|
|
version = "1.0.37"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-18 16:10:37 +00:00
|
|
|
checksum = "ec757218438d5fda206afc041538b2f6d889286160d649a86a24d37e1235afd1"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"unicode-xid",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[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 15:29:08 +00:00
|
|
|
dependencies = [
|
2022-02-01 12:30:32 +00:00
|
|
|
"core",
|
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 15:29:08 +00:00
|
|
|
"std",
|
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2017-02-13 09:57:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "profiler_builtins"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
2017-06-04 14:54:39 +00:00
|
|
|
]
|
|
|
|
|
2018-11-02 15:14:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "psm"
|
2021-08-18 20:36:35 +00:00
|
|
|
version = "0.1.16"
|
2018-11-02 15:14:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-18 20:36:35 +00:00
|
|
|
checksum = "cd136ff4382c4753fc061cb9e4712ab2af263376b95bbd5bd8cd50c020b78e69"
|
2018-11-02 15:14:24 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
|
|
|
]
|
|
|
|
|
2020-09-14 00:15:01 +00:00
|
|
|
[[package]]
|
|
|
|
name = "pulldown-cmark"
|
2022-01-17 19:58:42 +00:00
|
|
|
version = "0.9.1"
|
2020-09-14 00:15:01 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-17 19:58:42 +00:00
|
|
|
checksum = "34f197a544b0c9ab3ae46c359a7ec9cbbb5c7bf97054266fecb7ead794a181d6"
|
2020-09-14 00:15:01 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"memchr",
|
|
|
|
"unicase",
|
|
|
|
]
|
|
|
|
|
2019-01-29 05:24:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "punycode"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.1"
|
2019-01-29 05:24:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "e9e1dcb320d6839f6edb64f7a4a59d39b30480d4d1765b56873f7c858538a5fe"
|
2019-01-29 05:24:32 +00:00
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quick-error"
|
2020-05-05 12:05:06 +00:00
|
|
|
version = "1.2.3"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-05 12:05:06 +00:00
|
|
|
checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quick-error"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3ac73b1112776fc109b2e61909bc46c7e1bf0d7f690ffb1676553acce16d5cda"
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
2017-12-06 08:25:29 +00:00
|
|
|
name = "quine-mc_cluskey"
|
|
|
|
version = "0.2.4"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "07589615d719a60c8dd8a4622e7946465dfef20d1a428f969e3443e7386d5f45"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2022-04-18 16:10:37 +00:00
|
|
|
version = "1.0.18"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-18 16:10:37 +00:00
|
|
|
checksum = "a1feb54ed693b93a84e14094943b84b7c4eae204c512b7ccb95ab0c66d278ad1"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
2018-04-02 15:43:55 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "racer"
|
2022-04-04 14:04:37 +00:00
|
|
|
version = "2.2.2"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
2022-01-19 03:14:33 +00:00
|
|
|
"clap 2.34.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"derive_more",
|
2020-02-12 14:47:31 +00:00
|
|
|
"env_logger 0.7.1",
|
2020-08-17 15:21:44 +00:00
|
|
|
"humantime 2.0.1",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2022-05-18 16:16:27 +00:00
|
|
|
"lazycell",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
2022-05-18 16:16:27 +00:00
|
|
|
"racer-cargo-metadata",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rls-span",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2022-05-18 16:16:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "racer-cargo-metadata"
|
|
|
|
version = "0.1.2"
|
|
|
|
dependencies = [
|
|
|
|
"racer-interner",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "racer-interner"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2019-08-01 15:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
2020-01-08 15:33:57 +00:00
|
|
|
version = "0.7.3"
|
2019-08-01 15:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-01-08 15:33:57 +00:00
|
|
|
checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
|
2019-08-01 15:02:26 +00:00
|
|
|
dependencies = [
|
2020-09-17 18:04:20 +00:00
|
|
|
"getrandom 0.1.14",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_chacha 0.2.2",
|
|
|
|
"rand_core 0.5.1",
|
2022-04-15 18:11:14 +00:00
|
|
|
"rand_hc",
|
2018-12-08 11:06:54 +00:00
|
|
|
]
|
|
|
|
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand"
|
2022-04-15 18:11:14 +00:00
|
|
|
version = "0.8.5"
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:11:14 +00:00
|
|
|
checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
|
|
|
"rand_chacha 0.3.0",
|
|
|
|
"rand_core 0.6.2",
|
|
|
|
]
|
|
|
|
|
2019-08-01 15:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
2020-05-26 04:35:21 +00:00
|
|
|
version = "0.2.2"
|
2019-08-01 15:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-26 04:35:21 +00:00
|
|
|
checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
|
2019-08-01 15:02:26 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:35:21 +00:00
|
|
|
"ppv-lite86",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_chacha"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e12735cf05c9e10bf21534da50a147b924d555dc7a547c42e6bb2d5b6017ae0d"
|
|
|
|
dependencies = [
|
|
|
|
"ppv-lite86",
|
|
|
|
"rand_core 0.6.2",
|
2019-08-01 15:02:26 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
2019-11-25 16:14:07 +00:00
|
|
|
version = "0.5.1"
|
2019-08-01 15:02:26 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-25 16:14:07 +00:00
|
|
|
checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
|
2019-08-01 15:02:26 +00:00
|
|
|
dependencies = [
|
2020-09-17 18:04:20 +00:00
|
|
|
"getrandom 0.1.14",
|
2019-08-01 15:02:26 +00:00
|
|
|
]
|
|
|
|
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_core"
|
|
|
|
version = "0.6.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "34cf66eb183df1c5876e2dcf6b13d57340741e8dc255b48e40a26de954d06ae7"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.2.0",
|
|
|
|
]
|
|
|
|
|
2019-08-01 15:02:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_hc"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
|
2019-08-01 15:02:26 +00:00
|
|
|
dependencies = [
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_core 0.5.1",
|
|
|
|
]
|
|
|
|
|
2019-04-19 07:37:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_xorshift"
|
|
|
|
version = "0.2.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "77d416b86801d23dde1aa643023b775c3a462efc0ed96443add11546cdf1dca8"
|
2019-04-19 07:37:33 +00:00
|
|
|
dependencies = [
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_core 0.5.1",
|
2019-11-25 16:14:07 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rand_xoshiro"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a9fcdd2e881d02f1d9390ae47ad8e5696a9e4be7b547a1da2afbc61973217004"
|
|
|
|
dependencies = [
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand_core 0.5.1",
|
2019-04-19 07:37:33 +00:00
|
|
|
]
|
|
|
|
|
2021-08-29 15:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rand_xoshiro"
|
|
|
|
version = "0.6.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "6f97cdb2a36ed4183de61b2f824cc45c9f1037f28afe0a322e9fff4c108b5aaa"
|
|
|
|
dependencies = [
|
|
|
|
"rand_core 0.6.2",
|
|
|
|
]
|
|
|
|
|
2018-02-26 03:15:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rayon"
|
2022-05-28 00:14:22 +00:00
|
|
|
version = "1.5.3"
|
2018-02-26 03:15:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-28 00:14:22 +00:00
|
|
|
checksum = "bd99e5772ead8baa5215278c9b15bf92087709e9c1b2d1f97cdb5a183c933a7d"
|
2018-02-26 03:15:45 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"autocfg",
|
2019-12-04 17:40:16 +00:00
|
|
|
"crossbeam-deque",
|
2019-08-15 00:45:09 +00:00
|
|
|
"either",
|
|
|
|
"rayon-core",
|
2017-12-06 08:25:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rayon-core"
|
2022-05-28 00:14:22 +00:00
|
|
|
version = "1.9.3"
|
2017-12-06 08:25:29 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-28 00:14:22 +00:00
|
|
|
checksum = "258bcdb5ac6dad48491bb2992db6b7cf74878b0384908af124823d118c99683f"
|
2017-12-06 08:25:29 +00:00
|
|
|
dependencies = [
|
2022-01-10 19:34:07 +00:00
|
|
|
"crossbeam-channel",
|
2019-12-04 17:40:16 +00:00
|
|
|
"crossbeam-deque",
|
2022-01-10 19:34:07 +00:00
|
|
|
"crossbeam-utils",
|
2019-08-15 00:45:09 +00:00
|
|
|
"num_cpus",
|
2019-06-10 18:22:31 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "redox_syscall"
|
2021-08-15 16:40:40 +00:00
|
|
|
version = "0.2.10"
|
2021-02-25 10:26:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-15 16:40:40 +00:00
|
|
|
checksum = "8383f39639269cde97d255a32bdb68c047337295414940c68bdd30c2e13203ff"
|
2021-02-25 10:26:23 +00:00
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "redox_users"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "528532f3d801c87aec9def2add9ca802fe569e44a544afe633765267840abe64"
|
|
|
|
dependencies = [
|
|
|
|
"getrandom 0.2.0",
|
2021-05-11 19:03:59 +00:00
|
|
|
"redox_syscall",
|
2021-02-25 10:26:23 +00:00
|
|
|
]
|
|
|
|
|
2018-05-11 12:11:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2022-04-15 18:57:06 +00:00
|
|
|
version = "1.5.5"
|
2018-05-11 12:11:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:57:06 +00:00
|
|
|
checksum = "1a11647b6b25ff05a515cb92c365cec08801e83423a235b51e231e1808747286"
|
2018-05-11 12:11:06 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"aho-corasick",
|
|
|
|
"memchr",
|
|
|
|
"regex-syntax",
|
2018-05-11 12:11:06 +00:00
|
|
|
]
|
|
|
|
|
2020-07-24 18:42:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "regex-automata"
|
2021-07-07 09:07:09 +00:00
|
|
|
version = "0.1.10"
|
2020-07-24 18:42:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-07 09:07:09 +00:00
|
|
|
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
|
2020-07-24 18:42:00 +00:00
|
|
|
dependencies = [
|
|
|
|
"regex-syntax",
|
|
|
|
]
|
|
|
|
|
2018-05-11 12:11:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2021-07-07 09:07:09 +00:00
|
|
|
version = "0.6.25"
|
2018-05-11 12:11:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-07 09:07:09 +00:00
|
|
|
checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
|
2018-05-11 12:11:06 +00: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 15:52:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "remote-test-client"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "remote-test-server"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2018-02-26 17:07:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "remove_dir_all"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.5.3"
|
2018-02-26 17:07:16 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "3acd125665422973a33ac9d3dd2df85edad0f4ae9b00dafb1a05e43a9f5ef8e7"
|
2018-02-26 17:07:16 +00:00
|
|
|
dependencies = [
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-02-26 17:07:16 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rls"
|
2019-12-10 15:01:01 +00:00
|
|
|
version = "1.41.0"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2020-01-14 17:47:04 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"cargo",
|
2021-04-11 16:42:01 +00:00
|
|
|
"cargo-util",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"cargo_metadata",
|
2019-08-15 00:45:09 +00:00
|
|
|
"clippy_lints",
|
2020-02-12 14:47:31 +00:00
|
|
|
"crossbeam-channel",
|
2019-08-15 00:45:09 +00:00
|
|
|
"difference",
|
2022-01-15 16:31:37 +00:00
|
|
|
"env_logger 0.9.0",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"futures 0.3.19",
|
2019-08-15 00:45:09 +00:00
|
|
|
"heck",
|
2019-09-08 08:28:11 +00:00
|
|
|
"home",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2019-08-15 00:45:09 +00:00
|
|
|
"jsonrpc-core",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"lsp-codec",
|
|
|
|
"lsp-types",
|
|
|
|
"num_cpus",
|
|
|
|
"ordslice",
|
|
|
|
"racer",
|
2022-04-15 18:11:14 +00:00
|
|
|
"rand 0.8.5",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rayon",
|
|
|
|
"regex",
|
|
|
|
"rls-analysis",
|
|
|
|
"rls-data",
|
2019-09-08 08:28:11 +00:00
|
|
|
"rls-ipc",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rls-rustc",
|
|
|
|
"rls-span",
|
|
|
|
"rls-vfs",
|
|
|
|
"rustc-workspace-hack",
|
2019-06-08 20:15:22 +00:00
|
|
|
"rustc_tools_util 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustfmt-nightly",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
2019-09-08 08:28:11 +00:00
|
|
|
"serde_ignored",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde_json",
|
|
|
|
"tempfile",
|
|
|
|
"tokio",
|
2021-07-21 13:17:31 +00:00
|
|
|
"tokio-stream",
|
2021-02-10 01:52:54 +00:00
|
|
|
"tokio-util",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2022-05-18 16:16:27 +00:00
|
|
|
"toml_edit",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"walkdir",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rls-analysis"
|
2022-02-10 15:47:01 +00:00
|
|
|
version = "0.18.3"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"derive-new",
|
2022-01-15 16:31:37 +00:00
|
|
|
"env_logger 0.9.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"fst",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2019-08-15 00:45:09 +00:00
|
|
|
"json",
|
2021-04-22 22:47:10 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"rls-data",
|
|
|
|
"rls-span",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2017-06-05 16:36:48 +00:00
|
|
|
]
|
|
|
|
|
2018-02-02 07:29:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rls-data"
|
2021-01-15 00:50:59 +00:00
|
|
|
version = "0.19.1"
|
2021-01-15 01:26:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a58135eb039f3a3279a33779192f0ee78b56f57ae636e25cec83530e41debb99"
|
2018-02-02 07:29:59 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"rls-span",
|
|
|
|
"serde",
|
2018-02-02 07:29:59 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00: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 05:09:36 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rls-rustc"
|
2019-03-10 16:03:32 +00:00
|
|
|
version = "0.6.0"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"clippy_lints",
|
2022-01-15 16:31:37 +00:00
|
|
|
"env_logger 0.9.0",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"futures 0.3.19",
|
2019-09-08 08:28:11 +00:00
|
|
|
"log",
|
2022-04-15 18:11:14 +00:00
|
|
|
"rand 0.8.5",
|
2019-09-08 08:28:11 +00:00
|
|
|
"rls-data",
|
|
|
|
"rls-ipc",
|
|
|
|
"serde",
|
|
|
|
"tokio",
|
|
|
|
]
|
2017-08-30 05:09:36 +00:00
|
|
|
|
2017-03-14 02:16:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rls-span"
|
2021-01-15 00:50:59 +00:00
|
|
|
version = "0.5.3"
|
2021-01-15 01:26:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f0eea58478fc06e15f71b03236612173a1b81e9770314edecfa664375e3e4c86"
|
2017-03-14 02:16:44 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rls-vfs"
|
2019-04-21 10:52:07 +00:00
|
|
|
version = "0.8.0"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "ce4b57b25b4330ed5ec14028fc02141e083ddafda327e7eb598dc0569c8c83c9"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"rls-span",
|
2017-03-14 02:16:44 +00:00
|
|
|
]
|
|
|
|
|
2020-07-02 18:27:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rust-demangler"
|
Updates to experimental coverage counter injection
This is a combination of 18 commits.
Commit #2:
Additional examples and some small improvements.
Commit #3:
fixed mir-opt non-mir extensions and spanview title elements
Corrected a fairly recent assumption in runtest.rs that all MIR dump
files end in .mir. (It was appending .mir to the graphviz .dot and
spanview .html file names when generating blessed output files. That
also left outdated files in the baseline alongside the files with the
incorrect names, which I've now removed.)
Updated spanview HTML title elements to match their content, replacing a
hardcoded and incorrect name that was left in accidentally when
originally submitted.
Commit #4:
added more test examples
also improved Makefiles with support for non-zero exit status and to
force validation of tests unless a specific test overrides it with a
specific comment.
Commit #5:
Fixed rare issues after testing on real-world crate
Commit #6:
Addressed PR feedback, and removed temporary -Zexperimental-coverage
-Zinstrument-coverage once again supports the latest capabilities of
LLVM instrprof coverage instrumentation.
Also fixed a bug in spanview.
Commit #7:
Fix closure handling, add tests for closures and inner items
And cleaned up other tests for consistency, and to make it more clear
where spans start/end by breaking up lines.
Commit #8:
renamed "typical" test results "expected"
Now that the `llvm-cov show` tests are improved to normally expect
matching actuals, and to allow individual tests to override that
expectation.
Commit #9:
test coverage of inline generic struct function
Commit #10:
Addressed review feedback
* Removed unnecessary Unreachable filter.
* Replaced a match wildcard with remining variants.
* Added more comments to help clarify the role of successors() in the
CFG traversal
Commit #11:
refactoring based on feedback
* refactored `fn coverage_spans()`.
* changed the way I expand an empty coverage span to improve performance
* fixed a typo that I had accidently left in, in visit.rs
Commit #12:
Optimized use of SourceMap and SourceFile
Commit #13:
Fixed a regression, and synched with upstream
Some generated test file names changed due to some new change upstream.
Commit #14:
Stripping out crate disambiguators from demangled names
These can vary depending on the test platform.
Commit #15:
Ignore llvm-cov show diff on test with generics, expand IO error message
Tests with generics produce llvm-cov show results with demangled names
that can include an unstable "crate disambiguator" (hex value). The
value changes when run in the Rust CI Windows environment. I added a sed
filter to strip them out (in a prior commit), but sed also appears to
fail in the same environment. Until I can figure out a workaround, I'm
just going to ignore this specific test result. I added a FIXME to
follow up later, but it's not that critical.
I also saw an error with Windows GNU, but the IO error did not
specify a path for the directory or file that triggered the error. I
updated the error messages to provide more info for next, time but also
noticed some other tests with similar steps did not fail. Looks
spurious.
Commit #16:
Modify rust-demangler to strip disambiguators by default
Commit #17:
Remove std::process::exit from coverage tests
Due to Issue #77553, programs that call std::process::exit() do not
generate coverage results on Windows MSVC.
Commit #18:
fix: test file paths exceeding Windows max path len
2020-09-01 23:15:17 +00:00
|
|
|
version = "0.0.1"
|
2020-07-02 18:27:15 +00:00
|
|
|
dependencies = [
|
Updates to experimental coverage counter injection
This is a combination of 18 commits.
Commit #2:
Additional examples and some small improvements.
Commit #3:
fixed mir-opt non-mir extensions and spanview title elements
Corrected a fairly recent assumption in runtest.rs that all MIR dump
files end in .mir. (It was appending .mir to the graphviz .dot and
spanview .html file names when generating blessed output files. That
also left outdated files in the baseline alongside the files with the
incorrect names, which I've now removed.)
Updated spanview HTML title elements to match their content, replacing a
hardcoded and incorrect name that was left in accidentally when
originally submitted.
Commit #4:
added more test examples
also improved Makefiles with support for non-zero exit status and to
force validation of tests unless a specific test overrides it with a
specific comment.
Commit #5:
Fixed rare issues after testing on real-world crate
Commit #6:
Addressed PR feedback, and removed temporary -Zexperimental-coverage
-Zinstrument-coverage once again supports the latest capabilities of
LLVM instrprof coverage instrumentation.
Also fixed a bug in spanview.
Commit #7:
Fix closure handling, add tests for closures and inner items
And cleaned up other tests for consistency, and to make it more clear
where spans start/end by breaking up lines.
Commit #8:
renamed "typical" test results "expected"
Now that the `llvm-cov show` tests are improved to normally expect
matching actuals, and to allow individual tests to override that
expectation.
Commit #9:
test coverage of inline generic struct function
Commit #10:
Addressed review feedback
* Removed unnecessary Unreachable filter.
* Replaced a match wildcard with remining variants.
* Added more comments to help clarify the role of successors() in the
CFG traversal
Commit #11:
refactoring based on feedback
* refactored `fn coverage_spans()`.
* changed the way I expand an empty coverage span to improve performance
* fixed a typo that I had accidently left in, in visit.rs
Commit #12:
Optimized use of SourceMap and SourceFile
Commit #13:
Fixed a regression, and synched with upstream
Some generated test file names changed due to some new change upstream.
Commit #14:
Stripping out crate disambiguators from demangled names
These can vary depending on the test platform.
Commit #15:
Ignore llvm-cov show diff on test with generics, expand IO error message
Tests with generics produce llvm-cov show results with demangled names
that can include an unstable "crate disambiguator" (hex value). The
value changes when run in the Rust CI Windows environment. I added a sed
filter to strip them out (in a prior commit), but sed also appears to
fail in the same environment. Until I can figure out a workaround, I'm
just going to ignore this specific test result. I added a FIXME to
follow up later, but it's not that critical.
I also saw an error with Windows GNU, but the IO error did not
specify a path for the directory or file that triggered the error. I
updated the error messages to provide more info for next, time but also
noticed some other tests with similar steps did not fail. Looks
spurious.
Commit #16:
Modify rust-demangler to strip disambiguators by default
Commit #17:
Remove std::process::exit from coverage tests
Due to Issue #77553, programs that call std::process::exit() do not
generate coverage results on Windows MSVC.
Commit #18:
fix: test file paths exceeding Windows max path len
2020-09-01 23:15:17 +00:00
|
|
|
"regex",
|
2020-07-02 18:27:15 +00:00
|
|
|
"rustc-demangle",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustbook"
|
2017-02-07 23:13:57 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2022-01-19 03:14:33 +00:00
|
|
|
"clap 2.34.0",
|
2020-11-15 01:37:02 +00:00
|
|
|
"env_logger 0.7.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"mdbook",
|
2017-02-07 23:13:57 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-demangle"
|
2021-08-10 21:05:25 +00:00
|
|
|
version = "0.1.21"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-10 21:05:25 +00:00
|
|
|
checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342"
|
2018-12-14 22:37:51 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
2018-12-14 22:37:51 +00:00
|
|
|
]
|
2017-05-08 22:01:13 +00:00
|
|
|
|
2018-05-24 12:48:02 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-hash"
|
2020-05-27 00:19:19 +00:00
|
|
|
version = "1.1.0"
|
2018-05-24 12:48:02 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-27 00:19:19 +00:00
|
|
|
checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
2018-05-24 12:48:02 +00:00
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-main"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2022-05-06 21:20:04 +00:00
|
|
|
"jemalloc-sys",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_codegen_ssa",
|
|
|
|
"rustc_driver",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2019-09-10 17:13:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-rayon"
|
2022-05-28 00:14:22 +00:00
|
|
|
version = "0.4.0"
|
2019-09-10 17:13:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-28 00:14:22 +00:00
|
|
|
checksum = "1a79f0b0b2609e2eacf9758013f50e7176cb4b29fd6436a747b14a5362c8727a"
|
2019-09-10 17:13:07 +00:00
|
|
|
dependencies = [
|
2022-05-28 00:14:22 +00:00
|
|
|
"autocfg",
|
2019-12-04 17:40:16 +00:00
|
|
|
"crossbeam-deque",
|
2019-09-10 17:13:07 +00:00
|
|
|
"either",
|
2019-12-10 15:01:01 +00:00
|
|
|
"rustc-rayon-core",
|
2019-04-25 20:50:41 +00:00
|
|
|
]
|
|
|
|
|
2019-09-10 17:13:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-rayon-core"
|
2022-05-28 00:14:22 +00:00
|
|
|
version = "0.4.1"
|
2019-09-10 17:13:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-05-28 00:14:22 +00:00
|
|
|
checksum = "02269144a0db9bb55cf5d4a41a5a0e95b334b0b78b08269018ca9b0250718c30"
|
2019-09-10 17:13:07 +00:00
|
|
|
dependencies = [
|
2022-05-28 00:14:22 +00:00
|
|
|
"crossbeam-channel",
|
2019-12-04 17:40:16 +00:00
|
|
|
"crossbeam-deque",
|
2022-01-10 19:34:07 +00:00
|
|
|
"crossbeam-utils",
|
2019-09-10 17:13:07 +00:00
|
|
|
"num_cpus",
|
|
|
|
]
|
|
|
|
|
2020-12-06 14:07:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-semver"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "5be1bdc7edf596692617627bbfeaba522131b18e06ca4df2b6b689e3c5d5ce84"
|
|
|
|
|
2019-02-07 11:08:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-std-workspace-alloc"
|
2019-09-09 20:01:05 +00:00
|
|
|
version = "1.99.0"
|
2019-02-07 11:08:05 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"alloc",
|
2019-02-07 11:08:05 +00:00
|
|
|
]
|
|
|
|
|
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-20 05:52:50 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-std-workspace-core"
|
2019-09-09 20:01:05 +00:00
|
|
|
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-20 05:52:50 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"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-20 05:52:50 +00: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 15:29:08 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-std-workspace-std"
|
2019-09-09 20:01:05 +00:00
|
|
|
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 15:29:08 +00:00
|
|
|
dependencies = [
|
|
|
|
"std",
|
|
|
|
]
|
|
|
|
|
2018-07-31 21:16:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc-workspace-hack"
|
|
|
|
version = "1.0.0"
|
|
|
|
dependencies = [
|
2021-06-23 14:41:34 +00:00
|
|
|
"bstr",
|
2020-11-05 15:58:23 +00:00
|
|
|
"byteorder",
|
2022-01-10 19:34:07 +00:00
|
|
|
"crossbeam-utils",
|
2020-12-05 17:08:33 +00:00
|
|
|
"libc",
|
2020-12-23 20:18:15 +00:00
|
|
|
"libz-sys",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2021-04-24 01:00:46 +00:00
|
|
|
"rand_core 0.5.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-08-01 14:11:15 +00:00
|
|
|
"syn",
|
2021-05-12 00:39:51 +00:00
|
|
|
"url 2.2.2",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-07-31 21:16:55 +00:00
|
|
|
]
|
|
|
|
|
2017-07-08 17:46:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_apfloat"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2017-07-08 17:46:43 +00:00
|
|
|
]
|
|
|
|
|
2020-06-02 17:03:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_arena"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-06-02 17:03:40 +00:00
|
|
|
]
|
|
|
|
|
2020-02-29 17:16:26 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-05-06 13:46:01 +00:00
|
|
|
"bitflags",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_lexer",
|
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_span",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-02-29 17:16:26 +00:00
|
|
|
]
|
|
|
|
|
2019-12-22 17:12:56 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast_lowering"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2019-12-22 17:12:56 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-12-22 17:12:56 +00:00
|
|
|
"rustc_index",
|
2021-09-19 20:17:50 +00:00
|
|
|
"rustc_query_system",
|
2019-12-24 21:42:56 +00:00
|
|
|
"rustc_session",
|
2019-12-22 17:12:56 +00:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-22 17:12:56 +00:00
|
|
|
]
|
|
|
|
|
2020-01-05 09:58:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast_passes"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2020-01-05 09:58:44 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-01-05 10:11:39 +00:00
|
|
|
"rustc_feature",
|
2020-01-05 09:58:44 +00:00
|
|
|
"rustc_parse",
|
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
2021-07-08 19:58:05 +00:00
|
|
|
"rustc_target",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-01-05 09:58:44 +00:00
|
|
|
]
|
|
|
|
|
2020-01-11 16:02:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_ast_pretty"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_span",
|
|
|
|
]
|
|
|
|
|
2020-01-11 12:15:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_attr"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_feature",
|
2020-08-10 19:27:48 +00:00
|
|
|
"rustc_lexer",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
]
|
|
|
|
|
2020-12-30 17:48:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_borrowck"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"either",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2020-12-30 17:48:40 +00:00
|
|
|
"polonius-engine",
|
2021-01-05 19:08:11 +00:00
|
|
|
"rustc_const_eval",
|
2020-12-30 17:48:40 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_graphviz",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_infer",
|
|
|
|
"rustc_lexer",
|
|
|
|
"rustc_middle",
|
2021-01-05 18:53:07 +00:00
|
|
|
"rustc_mir_dataflow",
|
2020-12-30 17:48:40 +00:00
|
|
|
"rustc_serialize",
|
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
|
|
|
"rustc_trait_selection",
|
|
|
|
"rustc_traits",
|
|
|
|
"smallvec",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2019-12-29 13:53:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_builtin_macros"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_expand",
|
|
|
|
"rustc_feature",
|
2020-11-14 11:47:14 +00:00
|
|
|
"rustc_lexer",
|
2021-11-24 09:20:23 +00:00
|
|
|
"rustc_lint_defs",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_parse",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_parse_format",
|
2020-01-05 09:47:20 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-29 13:53:32 +00:00
|
|
|
]
|
|
|
|
|
2018-05-08 13:10:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_codegen_llvm"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-10-22 15:51:35 +00:00
|
|
|
"bitflags",
|
2021-02-13 11:17:15 +00:00
|
|
|
"cstr",
|
2019-10-22 15:51:35 +00:00
|
|
|
"libc",
|
2021-11-08 23:03:55 +00:00
|
|
|
"libloading",
|
2021-10-07 13:08:44 +00:00
|
|
|
"measureme 10.0.0",
|
2019-10-22 15:51:35 +00:00
|
|
|
"rustc-demangle",
|
2021-08-08 15:24:30 +00:00
|
|
|
"rustc_arena",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-10-22 15:51:35 +00:00
|
|
|
"rustc_codegen_ssa",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_fs_util",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-10-22 15:51:35 +00:00
|
|
|
"rustc_index",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_llvm",
|
2022-02-04 12:19:55 +00:00
|
|
|
"rustc_macros",
|
2021-05-29 20:49:59 +00:00
|
|
|
"rustc_metadata",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-11-14 15:48:54 +00:00
|
|
|
"rustc_query_system",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-06 03:04:35 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-10-22 15:51:35 +00:00
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2018-05-08 13:10:16 +00:00
|
|
|
]
|
|
|
|
|
2018-10-01 16:07:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_codegen_ssa"
|
|
|
|
version = "0.0.0"
|
2018-10-23 15:01:35 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
|
|
|
"cc",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2019-08-15 00:45:09 +00:00
|
|
|
"jobserver",
|
|
|
|
"libc",
|
2022-05-02 01:45:50 +00:00
|
|
|
"object 0.28.4",
|
2020-07-17 22:01:27 +00:00
|
|
|
"pathdiff",
|
2021-07-30 19:18:14 +00:00
|
|
|
"regex",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_apfloat",
|
2021-12-03 14:24:05 +00:00
|
|
|
"rustc_arena",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_fs_util",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_incremental",
|
2019-09-26 05:30:10 +00:00
|
|
|
"rustc_index",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2021-09-24 16:15:36 +00:00
|
|
|
"rustc_metadata",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-11-14 15:48:54 +00:00
|
|
|
"rustc_query_system",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-11-12 13:22:16 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-03-12 23:07:58 +00:00
|
|
|
"rustc_symbol_mangling",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
2022-05-06 15:20:42 +00:00
|
|
|
"serde_json",
|
2021-07-14 13:50:42 +00:00
|
|
|
"smallvec",
|
Use object crate for .rustc metadata generation
We already use the object crate for generating uncompressed .rmeta
metadata object files. This switches the generation of compressed
.rustc object files to use the object crate as well. These have
slightly different requirements in that .rmeta should be completely
excluded from any final compilation artifacts, while .rustc should
be part of shared objects, but not loaded into memory.
The primary motivation for this change is #90326: In LLVM 14, the
current way of setting section flags (and in particular, preventing
the setting of SHF_ALLOC) will no longer work. There are other ways
we could work around this, but switching to the object crate seems
like the most elegant, as we already use it for .rmeta, and as it
makes this independent of the codegen backend. In particular, we
don't need separate handling in codegen_llvm and codegen_gcc.
codegen_cranelift should be able to reuse the implementation as
well, though I have omitted that here, as it is not based on
codegen_ssa.
This change mostly extracts the existing code for .rmeta handling
to allow using it for .rustc as well, and adjust the codegen
infrastructure to handle the metadata object file separately: We
no longer create a backend-specific module for it, and directly
produce the compiled module instead.
This does not fix #90326 by itself yet, as .llvmbc will need to be
handled separately.
2021-12-02 11:24:25 +00:00
|
|
|
"snap",
|
2019-08-15 00:45:09 +00:00
|
|
|
"tempfile",
|
2021-12-03 14:24:05 +00:00
|
|
|
"thorin-dwp",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2018-10-23 15:01:35 +00:00
|
|
|
]
|
2018-10-01 16:07:04 +00:00
|
|
|
|
2021-01-05 19:08:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_const_eval"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_apfloat",
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_attr",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_infer",
|
|
|
|
"rustc_macros",
|
|
|
|
"rustc_middle",
|
|
|
|
"rustc_mir_dataflow",
|
2020-11-14 15:48:54 +00:00
|
|
|
"rustc_query_system",
|
2021-01-05 19:08:11 +00:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
|
|
|
"rustc_trait_selection",
|
2022-05-22 19:57:46 +00:00
|
|
|
"rustc_type_ir",
|
2021-01-05 19:08:11 +00:00
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_data_structures"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"arrayvec",
|
2019-11-11 22:15:36 +00:00
|
|
|
"bitflags",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-05-27 05:05:09 +00:00
|
|
|
"ena",
|
2019-08-15 00:45:09 +00:00
|
|
|
"indexmap",
|
|
|
|
"jobserver",
|
2020-04-10 20:42:19 +00:00
|
|
|
"libc",
|
2021-10-07 13:08:44 +00:00
|
|
|
"measureme 10.0.0",
|
2021-03-29 09:18:52 +00:00
|
|
|
"memmap2",
|
2022-06-04 12:07:44 +00:00
|
|
|
"parking_lot 0.11.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc-hash",
|
2019-12-10 15:01:01 +00:00
|
|
|
"rustc-rayon",
|
|
|
|
"rustc-rayon-core",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_graphviz",
|
2019-09-25 19:09:51 +00:00
|
|
|
"rustc_index",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2019-08-15 00:45:09 +00:00
|
|
|
"stable_deref_trait",
|
2020-03-14 18:13:55 +00:00
|
|
|
"stacker",
|
2020-08-09 01:05:50 +00:00
|
|
|
"tempfile",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_driver"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-04-10 20:42:19 +00:00
|
|
|
"libc",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-23 10:48:48 +00:00
|
|
|
"rustc_codegen_ssa",
|
2021-01-05 19:08:11 +00:00
|
|
|
"rustc_const_eval",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2019-11-15 18:41:50 +00:00
|
|
|
"rustc_error_codes",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_errors",
|
2019-11-30 01:34:18 +00:00
|
|
|
"rustc_feature",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-03-23 19:59:19 +00:00
|
|
|
"rustc_hir_pretty",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_interface",
|
2019-10-09 13:53:13 +00:00
|
|
|
"rustc_lint",
|
2022-01-04 00:32:52 +00:00
|
|
|
"rustc_log",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_metadata",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2019-10-15 20:48:13 +00:00
|
|
|
"rustc_parse",
|
2019-07-16 17:08:32 +00:00
|
|
|
"rustc_plugin_impl",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_save_analysis",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
2021-07-24 21:18:15 +00:00
|
|
|
"rustc_typeck",
|
2021-06-03 15:45:09 +00:00
|
|
|
"serde_json",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2019-11-11 21:47:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_error_codes"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2022-03-24 02:03:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_error_messages"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2022-03-28 08:36:20 +00:00
|
|
|
"fluent-bundle",
|
|
|
|
"fluent-syntax",
|
2022-04-03 04:32:38 +00:00
|
|
|
"intl-memoizer",
|
2022-03-26 07:27:43 +00:00
|
|
|
"rustc_data_structures",
|
2022-03-24 02:03:04 +00:00
|
|
|
"rustc_macros",
|
|
|
|
"rustc_serialize",
|
|
|
|
"rustc_span",
|
2022-03-26 07:27:43 +00:00
|
|
|
"tracing",
|
|
|
|
"unic-langid",
|
2022-03-24 02:03:04 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_errors"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"annotate-snippets",
|
2019-08-15 00:45:09 +00:00
|
|
|
"atty",
|
|
|
|
"rustc_data_structures",
|
2022-03-24 02:03:04 +00:00
|
|
|
"rustc_error_messages",
|
2020-08-13 19:41:52 +00:00
|
|
|
"rustc_lint_defs",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2021-06-03 19:14:15 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-08-15 00:45:09 +00:00
|
|
|
"termcolor",
|
2020-01-29 00:13:48 +00:00
|
|
|
"termize",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-width",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2019-12-29 13:53:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_expand"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-05 10:11:39 +00:00
|
|
|
"rustc_ast_passes",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_feature",
|
|
|
|
"rustc_lexer",
|
2020-12-07 23:55:00 +00:00
|
|
|
"rustc_lint_defs",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_parse",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-01-05 09:47:20 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-29 13:53:32 +00:00
|
|
|
]
|
|
|
|
|
2019-11-29 23:23:38 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_feature"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-11-30 01:34:18 +00:00
|
|
|
"rustc_data_structures",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-11-29 23:23:38 +00:00
|
|
|
]
|
|
|
|
|
2018-08-03 21:31:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_fs_util"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2020-06-02 17:03:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_graphviz"
|
|
|
|
version = "0.0.0"
|
|
|
|
|
2019-12-25 02:51:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_hir"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-07-20 11:54:37 +00:00
|
|
|
"odht",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-12-25 02:51:27 +00:00
|
|
|
"rustc_data_structures",
|
2022-03-24 02:03:04 +00:00
|
|
|
"rustc_error_messages",
|
2020-12-30 23:07:41 +00:00
|
|
|
"rustc_feature",
|
2019-12-25 02:51:27 +00:00
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-25 02:51:27 +00:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-25 02:51:27 +00:00
|
|
|
]
|
|
|
|
|
2020-03-23 19:59:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_hir_pretty"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_ast_pretty",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_incremental"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2022-04-15 18:11:14 +00:00
|
|
|
"rand 0.8.5",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2021-05-25 18:48:59 +00:00
|
|
|
"rustc_errors",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_fs_util",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_graphviz",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-11-12 13:22:16 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2019-09-25 19:09:51 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_index"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"arrayvec",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2021-11-05 18:50:29 +00:00
|
|
|
"smallvec",
|
2019-09-25 19:09:51 +00:00
|
|
|
]
|
|
|
|
|
2020-01-06 19:13:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_infer"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-01-06 19:13:24 +00:00
|
|
|
]
|
|
|
|
|
2018-12-08 19:30:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_interface"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-04-10 20:42:19 +00:00
|
|
|
"libc",
|
2021-11-08 23:03:55 +00:00
|
|
|
"libloading",
|
2019-12-10 15:01:01 +00:00
|
|
|
"rustc-rayon",
|
2020-11-18 18:02:31 +00:00
|
|
|
"rustc-rayon-core",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-12-22 17:12:56 +00:00
|
|
|
"rustc_ast_lowering",
|
2020-01-05 09:58:44 +00:00
|
|
|
"rustc_ast_passes",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2020-12-30 17:48:40 +00:00
|
|
|
"rustc_borrowck",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_builtin_macros",
|
2019-10-22 15:51:35 +00:00
|
|
|
"rustc_codegen_llvm",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_codegen_ssa",
|
2021-01-05 19:08:11 +00:00
|
|
|
"rustc_const_eval",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_expand",
|
2019-12-25 02:51:27 +00:00
|
|
|
"rustc_hir",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_incremental",
|
|
|
|
"rustc_lint",
|
|
|
|
"rustc_metadata",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-01-05 15:46:44 +00:00
|
|
|
"rustc_mir_build",
|
2021-01-01 00:53:25 +00:00
|
|
|
"rustc_mir_transform",
|
2021-01-02 13:42:15 +00:00
|
|
|
"rustc_monomorphize",
|
2019-10-15 20:48:13 +00:00
|
|
|
"rustc_parse",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_passes",
|
2019-07-16 17:08:32 +00:00
|
|
|
"rustc_plugin_impl",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_privacy",
|
2021-01-19 19:40:16 +00:00
|
|
|
"rustc_query_impl",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_resolve",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-01-05 08:40:16 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-03-12 23:07:58 +00:00
|
|
|
"rustc_symbol_mangling",
|
2019-10-11 21:48:16 +00:00
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_traits",
|
2020-11-19 20:32:37 +00:00
|
|
|
"rustc_ty_utils",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_typeck",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2019-08-15 00:45:09 +00:00
|
|
|
"tempfile",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-12-08 19:30:23 +00:00
|
|
|
]
|
|
|
|
|
2019-05-06 08:53:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_lexer"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
Introduce expect snapshot testing library into rustc
Snapshot testing is a technique for writing maintainable unit tests.
Unlike usual `assert_eq!` tests, snapshot tests allow
to *automatically* upgrade expected values on test failure.
In a sense, snapshot tests are inline-version of our beloved
UI-tests.
Example:
![expect](https://user-images.githubusercontent.com/1711539/90888810-3bcc8180-e3b7-11ea-9626-d06e89e1a0bb.gif)
A particular library we use, `expect_test` provides an `expect!`
macro, which creates a sort of self-updating string literal (by using
`file!` macro). Self-update is triggered by setting `UPDATE_EXPECT`
environmental variable (this info is printed during the test failure).
This library was extracted from rust-analyzer, where we use it for
most of our tests.
There are some other, more popular snapshot testing libraries:
* https://github.com/mitsuhiko/insta
* https://github.com/aaronabramov/k9
The main differences of `expect` are:
* first-class snapshot objects (so, tests can be written as functions,
rather than as macros)
* focus on inline-snapshots (but file snapshots are also supported)
* restricted feature set (only `assert_eq` and `assert_debug_eq`)
* no extra runtime (ie, no `cargo insta`)
See https://github.com/rust-analyzer/rust-analyzer/pull/5101 for a
an extended comparison.
It is unclear if this testing style will stick with rustc in the long
run. At the moment, rustc is mainly tested via integrated UI tests.
But in the library-ified world, unit-tests will become somewhat more
important (that's why use use `rustc_lexer` library-ified library as
an example in this PR). Given that the cost of removal shouldn't be
too high, it probably makes sense to just see if this flies!
2020-08-21 12:03:50 +00:00
|
|
|
"expect-test",
|
2021-08-29 08:34:23 +00:00
|
|
|
"unic-emoji-char",
|
2020-08-01 14:11:15 +00:00
|
|
|
"unicode-xid",
|
2019-05-06 08:53:40 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_lint"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2020-01-09 10:18:47 +00:00
|
|
|
"rustc_errors",
|
2019-11-29 23:23:38 +00:00
|
|
|
"rustc_feature",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-09-26 05:38:33 +00:00
|
|
|
"rustc_index",
|
2021-08-16 15:25:35 +00:00
|
|
|
"rustc_infer",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-10-20 20:25:42 +00:00
|
|
|
"rustc_parse_format",
|
2019-11-12 17:09:20 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2022-05-22 19:57:46 +00:00
|
|
|
"rustc_type_ir",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-01-02 12:02:22 +00:00
|
|
|
"unicode-security",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2020-08-13 19:41:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_lint_defs"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_data_structures",
|
2022-03-24 02:03:04 +00:00
|
|
|
"rustc_error_messages",
|
2021-11-20 19:45:27 +00:00
|
|
|
"rustc_hir",
|
2020-08-13 19:41:52 +00:00
|
|
|
"rustc_macros",
|
|
|
|
"rustc_serialize",
|
|
|
|
"rustc_span",
|
2020-09-01 21:12:38 +00:00
|
|
|
"rustc_target",
|
2021-06-03 19:14:15 +00:00
|
|
|
"serde",
|
2020-08-13 19:41:52 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_llvm"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
2019-12-12 15:51:19 +00:00
|
|
|
"libc",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2022-01-04 00:32:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_log"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"atty",
|
2022-01-04 06:01:35 +00:00
|
|
|
"rustc_span",
|
2022-01-04 00:32:52 +00:00
|
|
|
"tracing",
|
|
|
|
"tracing-subscriber",
|
|
|
|
"tracing-tree",
|
|
|
|
]
|
|
|
|
|
2019-03-01 00:22:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_macros"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2022-05-23 17:24:55 +00:00
|
|
|
"annotate-snippets",
|
|
|
|
"fluent-bundle",
|
|
|
|
"fluent-syntax",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-05 11:26:16 +00:00
|
|
|
"synstructure",
|
2022-05-23 17:24:55 +00:00
|
|
|
"unic-langid",
|
2019-03-01 00:22:10 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_metadata"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-11-08 23:03:55 +00:00
|
|
|
"libloading",
|
2021-07-20 11:54:37 +00:00
|
|
|
"odht",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_expand",
|
2020-09-12 23:58:17 +00:00
|
|
|
"rustc_feature",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-03-23 19:59:19 +00:00
|
|
|
"rustc_hir_pretty",
|
2019-09-26 05:30:10 +00:00
|
|
|
"rustc_index",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
2022-05-22 19:57:46 +00:00
|
|
|
"rustc_type_ir",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-08-20 23:16:30 +00:00
|
|
|
"snap",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2020-03-29 13:24:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_middle"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2020-03-03 16:25:03 +00:00
|
|
|
"chalk-ir",
|
2021-01-05 18:53:07 +00:00
|
|
|
"either",
|
|
|
|
"gsgdt",
|
2020-03-29 13:24:45 +00:00
|
|
|
"polonius-engine",
|
2022-04-15 18:11:14 +00:00
|
|
|
"rand 0.8.5",
|
2021-08-29 15:55:29 +00:00
|
|
|
"rand_xoshiro 0.6.0",
|
2021-07-16 12:42:26 +00:00
|
|
|
"rustc-rayon",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc-rayon-core",
|
|
|
|
"rustc_apfloat",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_ast",
|
|
|
|
"rustc_attr",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_feature",
|
2021-01-05 18:53:07 +00:00
|
|
|
"rustc_graphviz",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
|
|
|
"rustc_query_system",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2020-11-18 15:37:10 +00:00
|
|
|
"rustc_type_ir",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-03-29 13:24:45 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
2020-01-05 15:46:44 +00:00
|
|
|
name = "rustc_mir_build"
|
2016-09-02 08:55:29 +00:00
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_apfloat",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-09-26 05:30:10 +00:00
|
|
|
"rustc_index",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_infer",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2020-01-05 15:46:44 +00:00
|
|
|
[[package]]
|
2021-01-05 18:53:07 +00:00
|
|
|
name = "rustc_mir_dataflow"
|
2020-01-05 15:46:44 +00:00
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-01-05 18:53:07 +00:00
|
|
|
"polonius-engine",
|
|
|
|
"regex",
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_graphviz",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_middle",
|
|
|
|
"rustc_serialize",
|
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
|
|
|
"smallvec",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2021-01-01 00:53:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_mir_transform"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"coverage_test_macros",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2021-01-05 19:08:11 +00:00
|
|
|
"rustc_const_eval",
|
2020-01-05 15:46:44 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2021-01-05 18:53:07 +00:00
|
|
|
"rustc_mir_dataflow",
|
2020-11-14 15:48:54 +00:00
|
|
|
"rustc_query_system",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-01-20 21:23:07 +00:00
|
|
|
"rustc_session",
|
2020-01-05 15:46:44 +00:00
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-01-05 15:46:44 +00:00
|
|
|
]
|
|
|
|
|
2021-01-02 13:42:15 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_monomorphize"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_middle",
|
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
|
|
|
"smallvec",
|
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2019-10-15 20:48:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_parse"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2019-10-15 20:48:13 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-11-29 23:23:38 +00:00
|
|
|
"rustc_feature",
|
2019-10-15 20:48:13 +00:00
|
|
|
"rustc_lexer",
|
2022-04-25 20:55:24 +00:00
|
|
|
"rustc_macros",
|
2020-01-05 09:47:20 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-11-23 14:33:40 +00:00
|
|
|
"unicode-normalization",
|
2021-08-19 18:40:00 +00:00
|
|
|
"unicode-width",
|
2019-10-15 20:48:13 +00:00
|
|
|
]
|
|
|
|
|
2020-06-02 17:03:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_parse_format"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_lexer",
|
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_passes"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2021-03-14 21:39:13 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2022-04-26 01:02:43 +00:00
|
|
|
"rustc_expand",
|
2021-07-29 17:00:41 +00:00
|
|
|
"rustc_feature",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2019-10-04 14:46:57 +00:00
|
|
|
"rustc_index",
|
2020-12-01 22:41:12 +00:00
|
|
|
"rustc_lexer",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2021-07-29 17:00:41 +00:00
|
|
|
"rustc_parse",
|
2020-09-26 00:00:00 +00:00
|
|
|
"rustc_serialize",
|
2020-01-02 11:54:43 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-10-04 14:46:57 +00:00
|
|
|
"rustc_target",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2019-07-16 17:08:32 +00:00
|
|
|
name = "rustc_plugin_impl"
|
2016-09-02 08:55:29 +00:00
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-11-08 23:03:55 +00:00
|
|
|
"libloading",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-12-31 20:25:16 +00:00
|
|
|
"rustc_errors",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-01-09 06:52:01 +00:00
|
|
|
"rustc_lint",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_metadata",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_privacy"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-07-31 06:50:57 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2019-12-31 20:25:16 +00:00
|
|
|
"rustc_errors",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-11-22 09:37:37 +00:00
|
|
|
"rustc_trait_selection",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_typeck",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2021-01-19 19:40:16 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_query_impl"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-10-07 13:08:44 +00:00
|
|
|
"measureme 10.0.0",
|
2021-01-19 19:40:16 +00:00
|
|
|
"rustc-rayon-core",
|
2021-06-28 19:12:01 +00:00
|
|
|
"rustc_ast",
|
2021-01-19 19:40:16 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
2021-06-28 19:12:01 +00:00
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
2021-01-19 19:40:16 +00:00
|
|
|
"rustc_middle",
|
|
|
|
"rustc_query_system",
|
|
|
|
"rustc_serialize",
|
2021-06-28 19:12:01 +00:00
|
|
|
"rustc_session",
|
2021-01-19 19:40:16 +00:00
|
|
|
"rustc_span",
|
2021-01-31 09:32:34 +00:00
|
|
|
"rustc_type_ir",
|
2022-05-04 08:30:13 +00:00
|
|
|
"tracing",
|
2021-01-19 19:40:16 +00:00
|
|
|
]
|
|
|
|
|
2020-03-18 09:25:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_query_system"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2022-06-04 12:07:44 +00:00
|
|
|
"parking_lot 0.11.2",
|
2020-03-19 13:13:31 +00:00
|
|
|
"rustc-rayon-core",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-11-14 15:35:31 +00:00
|
|
|
"rustc_ast",
|
2020-03-18 09:25:22 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2020-11-14 15:35:31 +00:00
|
|
|
"rustc_feature",
|
|
|
|
"rustc_hir",
|
2020-03-18 09:25:22 +00:00
|
|
|
"rustc_index",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2020-11-12 19:48:37 +00:00
|
|
|
"rustc_session",
|
2020-03-19 13:13:31 +00:00
|
|
|
"rustc_span",
|
2020-11-14 15:35:31 +00:00
|
|
|
"rustc_target",
|
2021-01-31 09:32:34 +00:00
|
|
|
"rustc_type_ir",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-03-18 09:25:22 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_resolve"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-12-22 17:12:56 +00:00
|
|
|
"rustc_ast_lowering",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_expand",
|
2019-11-30 01:34:18 +00:00
|
|
|
"rustc_feature",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-06-20 18:59:29 +00:00
|
|
|
"rustc_index",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_metadata",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2021-09-19 20:17:50 +00:00
|
|
|
"rustc_query_system",
|
2019-12-24 21:42:56 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_save_analysis"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"rls-data",
|
|
|
|
"rls-span",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 16:02:46 +00:00
|
|
|
"rustc_ast_pretty",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-03-24 01:44:41 +00:00
|
|
|
"rustc_hir_pretty",
|
2020-08-29 09:38:15 +00:00
|
|
|
"rustc_lexer",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde_json",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2020-06-02 17:03:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_serialize"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"indexmap",
|
2020-07-18 19:14:50 +00:00
|
|
|
"rustc_macros",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-06-02 17:03:40 +00:00
|
|
|
]
|
|
|
|
|
2019-11-12 13:17:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_session"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-04-10 20:42:19 +00:00
|
|
|
"getopts",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2019-11-12 13:17:33 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2019-11-29 21:05:28 +00:00
|
|
|
"rustc_feature",
|
|
|
|
"rustc_fs_util",
|
2020-11-14 02:02:03 +00:00
|
|
|
"rustc_hir",
|
2020-08-13 19:41:52 +00:00
|
|
|
"rustc_lint_defs",
|
2020-06-11 14:49:57 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-11-29 21:05:28 +00:00
|
|
|
"rustc_target",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-29 13:53:32 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_span"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2020-12-05 15:40:24 +00:00
|
|
|
"md-5",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-29 13:53:32 +00:00
|
|
|
"scoped-tls",
|
2022-02-10 16:54:01 +00:00
|
|
|
"sha-1 0.10.0",
|
2020-10-13 15:41:06 +00:00
|
|
|
"sha2",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2019-12-29 13:53:32 +00:00
|
|
|
"unicode-width",
|
2019-11-12 13:17:33 +00:00
|
|
|
]
|
|
|
|
|
2020-03-12 23:07:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_symbol_mangling"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"punycode",
|
|
|
|
"rustc-demangle",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_hir",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-11-14 15:48:54 +00:00
|
|
|
"rustc_query_system",
|
2020-03-12 23:07:58 +00:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-03-12 23:07:58 +00:00
|
|
|
]
|
|
|
|
|
2017-12-08 19:18:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_target"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bitflags",
|
|
|
|
"rustc_data_structures",
|
2019-09-26 05:38:33 +00:00
|
|
|
"rustc_index",
|
2019-11-09 21:27:52 +00:00
|
|
|
"rustc_macros",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_serialize",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2021-06-03 15:45:09 +00:00
|
|
|
"serde_json",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2017-12-08 19:18:21 +00:00
|
|
|
]
|
|
|
|
|
2018-09-07 07:12:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_tools_util"
|
2019-06-08 20:15:22 +00:00
|
|
|
version = "0.2.0"
|
2019-01-05 14:40:10 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "rustc_tools_util"
|
2019-05-26 17:21:54 +00:00
|
|
|
version = "0.2.0"
|
2019-06-08 20:15:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "b725dadae9fabc488df69a287f5a99c5eaf5d10853842a8a3dfac52476f544ee"
|
2018-09-07 07:12:06 +00:00
|
|
|
|
2020-02-11 18:53:40 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_trait_selection"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_ast",
|
|
|
|
"rustc_attr",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
|
|
|
"rustc_hir",
|
|
|
|
"rustc_index",
|
|
|
|
"rustc_infer",
|
2021-10-02 11:00:36 +00:00
|
|
|
"rustc_lint_defs",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_parse_format",
|
2020-11-14 15:48:54 +00:00
|
|
|
"rustc_query_system",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_session",
|
|
|
|
"rustc_span",
|
|
|
|
"rustc_target",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-02-11 18:53:40 +00:00
|
|
|
]
|
|
|
|
|
2018-02-25 15:58:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_traits"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-08-04 22:35:37 +00:00
|
|
|
"chalk-engine",
|
2020-03-03 16:25:03 +00:00
|
|
|
"chalk-ir",
|
|
|
|
"chalk-solve",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2021-01-01 18:44:31 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-03-03 16:25:03 +00:00
|
|
|
"rustc_index",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_infer",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2018-02-25 15:58:54 +00:00
|
|
|
]
|
|
|
|
|
2020-01-13 12:40:30 +00:00
|
|
|
[[package]]
|
2020-11-19 20:32:37 +00:00
|
|
|
name = "rustc_ty_utils"
|
2020-01-13 12:40:30 +00:00
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"rustc_data_structures",
|
2020-04-10 02:13:29 +00:00
|
|
|
"rustc_errors",
|
2020-01-13 12:40:30 +00:00
|
|
|
"rustc_hir",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_infer",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2020-01-13 12:40:30 +00:00
|
|
|
"rustc_span",
|
2020-02-12 16:24:32 +00:00
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2022-05-22 19:57:46 +00:00
|
|
|
"rustc_type_ir",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2020-01-13 12:40:30 +00:00
|
|
|
]
|
2018-02-25 15:58:54 +00:00
|
|
|
|
2020-11-18 15:37:10 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_type_ir"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_index",
|
2020-12-12 14:25:55 +00:00
|
|
|
"rustc_macros",
|
2020-11-18 15:37:10 +00:00
|
|
|
"rustc_serialize",
|
2021-01-31 09:32:34 +00:00
|
|
|
"smallvec",
|
2020-11-18 15:37:10 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_typeck"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-06-02 17:03:40 +00:00
|
|
|
"rustc_arena",
|
2020-02-29 17:16:26 +00:00
|
|
|
"rustc_ast",
|
2020-01-11 12:15:20 +00:00
|
|
|
"rustc_attr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_data_structures",
|
|
|
|
"rustc_errors",
|
2021-11-18 01:53:47 +00:00
|
|
|
"rustc_graphviz",
|
2020-01-05 01:37:57 +00:00
|
|
|
"rustc_hir",
|
2020-07-09 02:39:26 +00:00
|
|
|
"rustc_hir_pretty",
|
2019-09-26 05:38:33 +00:00
|
|
|
"rustc_index",
|
2020-01-06 19:13:24 +00:00
|
|
|
"rustc_infer",
|
2021-08-30 19:19:24 +00:00
|
|
|
"rustc_lint",
|
2020-08-27 10:00:21 +00:00
|
|
|
"rustc_macros",
|
2020-03-29 13:24:45 +00:00
|
|
|
"rustc_middle",
|
2021-11-11 01:32:04 +00:00
|
|
|
"rustc_serialize",
|
2020-03-11 11:49:08 +00:00
|
|
|
"rustc_session",
|
2019-12-29 13:53:32 +00:00
|
|
|
"rustc_span",
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustc_target",
|
2020-02-11 18:53:40 +00:00
|
|
|
"rustc_trait_selection",
|
2021-04-27 13:01:37 +00:00
|
|
|
"rustc_ty_utils",
|
2022-05-22 19:57:46 +00:00
|
|
|
"rustc_type_ir",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2021-10-04 22:13:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustc_version"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
|
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"semver",
|
2021-10-04 22:13:00 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"arrayvec",
|
2022-01-03 17:18:46 +00:00
|
|
|
"askama",
|
2022-01-12 17:46:18 +00:00
|
|
|
"atty",
|
2020-08-27 10:50:28 +00:00
|
|
|
"expect-test",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2019-08-15 00:45:09 +00:00
|
|
|
"minifier",
|
2022-04-20 22:15:04 +00:00
|
|
|
"once_cell",
|
2022-01-19 10:02:24 +00:00
|
|
|
"pulldown-cmark",
|
2021-10-29 01:19:01 +00:00
|
|
|
"rayon",
|
2020-10-13 13:46:34 +00:00
|
|
|
"regex",
|
2021-01-25 21:23:43 +00:00
|
|
|
"rustdoc-json-types",
|
2019-06-29 17:30:45 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2019-08-15 00:45:09 +00:00
|
|
|
"tempfile",
|
2020-12-28 18:28:29 +00:00
|
|
|
"tracing",
|
|
|
|
"tracing-subscriber",
|
|
|
|
"tracing-tree",
|
2017-07-23 02:01:58 +00:00
|
|
|
]
|
|
|
|
|
2021-01-25 21:23:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc-json-types"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"serde",
|
2021-03-04 23:45:57 +00:00
|
|
|
"serde_json",
|
2021-01-25 21:23:43 +00:00
|
|
|
]
|
|
|
|
|
2018-02-05 22:43:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc-themes"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2017-07-23 02:01:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustdoc-tool"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"rustdoc",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2020-01-14 17:47:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustfix"
|
2022-06-04 12:07:44 +00:00
|
|
|
version = "0.6.1"
|
2021-06-12 19:11:50 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-04 12:07:44 +00:00
|
|
|
checksum = "ecd2853d9e26988467753bd9912c3a126f642d05d229a4b53f5752ee36c56481"
|
2021-06-12 19:11:50 +00:00
|
|
|
dependencies = [
|
|
|
|
"anyhow",
|
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
]
|
|
|
|
|
2019-06-18 12:15:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustfmt-config_proc_macro"
|
2019-09-08 08:28:11 +00:00
|
|
|
version = "0.2.0"
|
2019-06-18 12:15:19 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2020-08-01 14:11:15 +00:00
|
|
|
"syn",
|
2019-06-18 12:15:19 +00:00
|
|
|
]
|
|
|
|
|
2019-07-30 11:00:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustfmt-nightly"
|
2021-10-20 05:15:20 +00:00
|
|
|
version = "1.4.38"
|
2019-07-30 11:00:27 +00:00
|
|
|
dependencies = [
|
2021-05-03 20:59:35 +00:00
|
|
|
"annotate-snippets",
|
2020-06-15 09:43:39 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"bytecount",
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"cargo_metadata",
|
2019-08-15 00:45:09 +00:00
|
|
|
"derive-new",
|
|
|
|
"diff",
|
|
|
|
"dirs",
|
2021-10-20 05:15:20 +00:00
|
|
|
"env_logger 0.8.4",
|
2019-08-15 00:45:09 +00:00
|
|
|
"getopts",
|
|
|
|
"ignore",
|
2022-03-04 17:54:28 +00:00
|
|
|
"itertools",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"rustc-workspace-hack",
|
|
|
|
"rustfmt-config_proc_macro",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2019-11-12 18:14:48 +00:00
|
|
|
"structopt",
|
2020-08-17 15:21:44 +00:00
|
|
|
"term 0.6.1",
|
2020-06-15 09:43:39 +00:00
|
|
|
"thiserror",
|
2019-08-20 17:46:35 +00:00
|
|
|
"toml",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-segmentation",
|
|
|
|
"unicode-width",
|
|
|
|
"unicode_categories",
|
2019-07-30 11:00:27 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "rustversion"
|
2021-06-18 05:34:55 +00:00
|
|
|
version = "1.0.5"
|
2021-02-25 10:26:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-18 05:34:55 +00:00
|
|
|
checksum = "61b3909d758bb75c79f23d4736fac9433868679d3ad2ea7a61e3c25cfda9a088"
|
2021-02-25 10:26:23 +00:00
|
|
|
|
2018-08-21 17:23:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.5"
|
2018-08-21 17:23:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
|
2018-08-21 17:23:47 +00:00
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "same-file"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.0.6"
|
2018-01-08 21:56:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
2018-01-08 21:56:22 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"winapi-util",
|
2018-01-08 21:56:22 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "schannel"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.19"
|
2018-01-08 21:56:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "8f05ba609c234e60bee0d547fe94a4c7e9da733d1c962cf6e59efa4cd9c8bc75"
|
2018-01-08 21:56:22 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-01-08 21:56:22 +00:00
|
|
|
]
|
|
|
|
|
2019-02-26 10:15:52 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scoped-tls"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "ea6a9290e3c9cf0f18145ef7ffa62d68ee0bf5fcd651017e586dc7fd5da448c2"
|
2019-02-26 10:15:52 +00:00
|
|
|
|
2019-07-25 13:57:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "scopeguard"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.1.0"
|
2019-07-25 13:57:25 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
2019-07-25 13:57:25 +00:00
|
|
|
|
2020-12-16 17:03:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "security-framework"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c1759c2e3c8580017a484a7ac56d3abc5a6c1feadf88db2f3633f12ae4268c69"
|
|
|
|
dependencies = [
|
|
|
|
"bitflags",
|
|
|
|
"core-foundation",
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
"security-framework-sys",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "security-framework-sys"
|
|
|
|
version = "2.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f99b9d5e26d2a71633cc4f2ebae7cc9f874044e0c351a27e17892d76dce5678b"
|
|
|
|
dependencies = [
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
2022-03-26 07:27:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "self_cell"
|
|
|
|
version = "0.10.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1ef965a420fe14fdac7dd018862966a4c14094f900e1650bbc71ddd7d580c8af"
|
|
|
|
|
2021-06-02 03:38:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "semver"
|
2021-06-04 04:12:25 +00:00
|
|
|
version = "1.0.3"
|
2021-06-02 03:38:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-04 04:12:25 +00:00
|
|
|
checksum = "5f3aac57ee7f3272d8395c6e4f502f434f0e289fcd62876f70daa008c20dcabe"
|
2021-06-02 03:38:39 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2021-03-26 19:29:08 +00:00
|
|
|
version = "1.0.125"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-26 19:29:08 +00:00
|
|
|
checksum = "558dc50e1a5a5fa7112ca2ce4effcb321b0300c0d4ccf0776a9f60cd89031171"
|
2018-12-17 18:23:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde_derive",
|
2018-12-17 18:23:04 +00:00
|
|
|
]
|
2017-04-29 23:11:58 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2021-03-26 19:29:08 +00:00
|
|
|
version = "1.0.125"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-26 19:29:08 +00:00
|
|
|
checksum = "b093b7a2bb58203b5da3056c05b4ec1fed827dcfdb37347a8841695263b3d06d"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
2017-02-20 00:20:57 +00:00
|
|
|
|
2019-08-20 07:32:53 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_ignored"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.2"
|
2019-08-20 07:32:53 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "1c2c7d39d14f2f2ea82239de71594782f186fd03501ac81f0ce08e674819ff2f"
|
2019-08-20 07:32:53 +00:00
|
|
|
dependencies = [
|
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2017-02-20 00:20:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_json"
|
2020-10-23 21:47:58 +00:00
|
|
|
version = "1.0.59"
|
2017-02-20 00:20:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-23 21:47:58 +00:00
|
|
|
checksum = "dcac07dbffa1c65e7f816ab9eba78eb142c6d44410f4eeba1e26e4f5dfa56b95"
|
2017-02-20 00:20:57 +00:00
|
|
|
dependencies = [
|
2021-01-16 01:34:15 +00:00
|
|
|
"indexmap",
|
2019-08-15 00:45:09 +00:00
|
|
|
"itoa",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
2017-02-20 00:20:57 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "serde_repr"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.6"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "2dc6b7951b17b051f3210b063f12cc17320e2fe30ae05b0fe2a3abb068551c76"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sha-1"
|
2020-03-31 05:17:15 +00:00
|
|
|
version = "0.8.2"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-03-31 05:17:15 +00:00
|
|
|
checksum = "f7d94d0bede923b3cea61f3f1ff57ff8cdfd77b400fb8f9998949e0cf04163df"
|
2019-01-19 02:39:37 +00:00
|
|
|
dependencies = [
|
2020-10-01 15:15:12 +00:00
|
|
|
"block-buffer 0.7.3",
|
|
|
|
"digest 0.8.1",
|
2019-08-15 00:45:09 +00:00
|
|
|
"fake-simd",
|
2022-02-10 16:54:01 +00:00
|
|
|
"opaque-debug",
|
2020-10-01 15:15:12 +00:00
|
|
|
]
|
|
|
|
|
2020-10-13 15:41:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sha-1"
|
2022-02-10 16:54:01 +00:00
|
|
|
version = "0.10.0"
|
2020-10-13 15:41:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-10 16:54:01 +00:00
|
|
|
checksum = "028f48d513f9678cda28f6e4064755b3fbb2af6acd672f2c209b62323f7aea0f"
|
2020-10-13 15:41:06 +00:00
|
|
|
dependencies = [
|
2022-02-10 16:54:01 +00:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"cpufeatures",
|
|
|
|
"digest 0.10.2",
|
2020-10-13 15:41:06 +00:00
|
|
|
]
|
|
|
|
|
2020-10-01 15:15:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sha2"
|
2022-02-10 16:54:01 +00:00
|
|
|
version = "0.10.1"
|
2020-10-01 15:15:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-02-10 16:54:01 +00:00
|
|
|
checksum = "99c3bd8169c58782adad9290a9af5939994036b76187f7b4f0e6de91dbbfc0ec"
|
2020-10-01 15:15:12 +00:00
|
|
|
dependencies = [
|
2022-02-10 16:54:01 +00:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"cpufeatures",
|
|
|
|
"digest 0.10.2",
|
2019-01-19 02:39:37 +00:00
|
|
|
]
|
|
|
|
|
2020-07-24 18:42:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sharded-slab"
|
2021-02-28 00:00:00 +00:00
|
|
|
version = "0.1.1"
|
2020-07-24 18:42:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-28 00:00:00 +00:00
|
|
|
checksum = "79c719719ee05df97490f80a45acfc99e5a30ce98a1e4fb67aee422745ae14e3"
|
2020-07-24 18:42:00 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "shell-escape"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.5"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "45bb67a18fa91266cc7807181f62f9178a6873bfad7dc788c42e6430db40184f"
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2021-02-23 01:05:21 +00:00
|
|
|
[[package]]
|
|
|
|
name = "shlex"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "42a568c8f2cd051a4d283bd6eb0343ac214c1b0f1ac19f93e1175b2dee38c73d"
|
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
2020-08-17 15:21:44 +00:00
|
|
|
name = "signal-hook-registry"
|
2021-03-12 13:33:02 +00:00
|
|
|
version = "1.2.2"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 13:33:02 +00:00
|
|
|
checksum = "ce32ea0c6c56d5eacaeb814fbed9960547021d3edd010ded1425f180536b20ab"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2022-04-20 13:50:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "similar"
|
|
|
|
version = "2.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "2e24979f63a11545f5f2c60141afe249d4f19f84581ea2138065e400941d83d3"
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "siphasher"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.3.3"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "fa8f3741c7372e75519bd9346068370c9cdaabcc1f9599cbcf2a2719352286b7"
|
2018-04-03 14:32:04 +00:00
|
|
|
|
2019-05-23 20:27:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sized-chunks"
|
2021-03-12 13:33:02 +00:00
|
|
|
version = "0.6.4"
|
2019-05-23 20:27:49 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-03-12 13:33:02 +00:00
|
|
|
checksum = "65e65d6a9f13cd78f361ea5a2cf53a45d67cdda421ba0316b9be101560f3d207"
|
2019-05-23 20:27:49 +00:00
|
|
|
dependencies = [
|
2019-11-25 16:14:07 +00:00
|
|
|
"bitmaps",
|
2019-08-15 00:45:09 +00:00
|
|
|
"typenum",
|
2019-05-23 20:27:49 +00:00
|
|
|
]
|
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "slab"
|
|
|
|
version = "0.4.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "c111b5bd5695e56cffe5129854aa230b39c93a305372fdbb2668ca2394eea9f8"
|
2019-01-21 15:32:43 +00:00
|
|
|
|
2019-11-04 14:59:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "smallvec"
|
2021-10-04 22:13:00 +00:00
|
|
|
version = "1.7.0"
|
2019-11-04 14:59:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-04 22:13:00 +00:00
|
|
|
checksum = "1ecab6c735a6bb4139c0caafd0cc3635748bbb3acf4550e8138122099251f309"
|
2019-11-04 14:59:09 +00:00
|
|
|
|
2020-08-20 23:16:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "snap"
|
|
|
|
version = "1.0.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "da73c8f77aebc0e40c300b93f0a5f1bece7a248a36eee287d4e095f35c7b7d6e"
|
|
|
|
|
2022-04-20 13:50:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "snapbox"
|
|
|
|
version = "0.2.9"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c1f212b806d6f56d19838e36a0aaa7e79a0bc9ca177e873fb87651ad92f983e2"
|
|
|
|
dependencies = [
|
|
|
|
"concolor",
|
|
|
|
"content_inspector",
|
|
|
|
"dunce",
|
|
|
|
"filetime",
|
|
|
|
"normalize-line-endings",
|
|
|
|
"similar",
|
|
|
|
"snapbox-macros",
|
|
|
|
"tempfile",
|
|
|
|
"walkdir",
|
|
|
|
"yansi",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "snapbox-macros"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c01dea7e04cbb27ef4c86e9922184608185f7cd95c1763bc30d727cda4a5e930"
|
|
|
|
|
2021-05-01 11:50:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "socket2"
|
2021-08-05 14:54:18 +00:00
|
|
|
version = "0.4.1"
|
2021-05-01 11:50:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-05 14:54:18 +00:00
|
|
|
checksum = "765f090f0e423d2b55843402a07915add955e7d60657db13707a159727326cad"
|
2021-05-01 11:50:03 +00:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2021-05-01 11:50:03 +00:00
|
|
|
]
|
|
|
|
|
2017-04-26 21:22:45 +00:00
|
|
|
[[package]]
|
|
|
|
name = "stable_deref_trait"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "1.2.0"
|
2017-04-26 21:22:45 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
2017-04-26 21:22:45 +00:00
|
|
|
|
2018-11-02 15:14:24 +00:00
|
|
|
[[package]]
|
|
|
|
name = "stacker"
|
2021-08-18 20:36:35 +00:00
|
|
|
version = "0.1.14"
|
2018-11-02 15:14:24 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-18 20:36:35 +00:00
|
|
|
checksum = "90939d5171a4420b3ff5fbc8954d641e7377335454c259dcb80786f3f21dc9b4"
|
2018-11-02 15:14:24 +00:00
|
|
|
dependencies = [
|
|
|
|
"cc",
|
2021-08-18 20:36:35 +00:00
|
|
|
"cfg-if 1.0.0",
|
2018-11-02 15:14:24 +00:00
|
|
|
"libc",
|
|
|
|
"psm",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-11-02 15:14:24 +00:00
|
|
|
]
|
|
|
|
|
2022-04-28 05:42:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "static_assertions"
|
|
|
|
version = "1.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "std"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
"addr2line",
|
2019-08-15 00:45:09 +00:00
|
|
|
"alloc",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"dlmalloc",
|
|
|
|
"fortanix-sgx-abi",
|
2022-01-17 07:46:11 +00:00
|
|
|
"hashbrown 0.12.0",
|
2022-02-15 12:57:07 +00:00
|
|
|
"hermit-abi 0.2.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
"miniz_oxide",
|
2021-12-03 14:24:05 +00:00
|
|
|
"object 0.26.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"panic_abort",
|
|
|
|
"panic_unwind",
|
|
|
|
"profiler_builtins",
|
Update Cargo
Output of `git log --oneline c68432f1e..970bc67c3`:
970bc67c3 (HEAD, origin/master, origin/auto-cargo, origin/HEAD) Auto merge of #9243 - wickerwaka:configurable-env-doc, r=ehuss
4d7a29b75 Document the configurable-env usntable option
f7a7a3f91 Auto merge of #9229 - alexcrichton:fix-borrow-mut, r=ehuss
3f2ece7a9 Fix a `BorrowMut` error when stdout is closed
7441e8c23 Auto merge of #8825 - Aaron1011:feature/report-future-incompat, r=ehuss
139ed73f5 Add future-incompat tracking issue number.
9ea350368 Fix some minor formatting issues.
f03d47ce4 Address review comments
6177c6584 Implement future incompatibility report support
c69409658 Auto merge of #9022 - nagisa:nagisa/manifest_path, r=alexcrichton
548300b20 Add the path to the manifest in json output
99e714c05 Auto merge of #9230 - kornelski:nobinaries, r=alexcrichton
61a31bc5f Auto merge of #9236 - kornelski:track-assert, r=Eh2406
3f7f0942c track_caller on custom assert functions
6977dee10 Explain `cargo install` is not for libraries
e4aebf0a0 Auto merge of #9231 - joshtriplett:clear-to-eol-if-color, r=alexcrichton
b219f0eb7 Auto merge of #9181 - jyn514:computer-says-no, r=ehuss
0b1816578 Remove unhelpful link to Cargo book
ea46f5ce3 Use ANSI clear-to-EOL if color is force-enabled
a6394bcc1 Remove unnecessary `config` argument to `Features::add`
3a86ecf2d Fix TODO about nightly features
09677c83c Be less unix-centric in error messages
ecfdced0d Fix test that assumed tests always were run on the stable channel
eba541994 Update comment in build_script_env
a5720117f Make `nightly_features_allowed` a field instead of a function
169b09ce7 Compute `enable_nightly_features` once instead of on each call
8fc86e155 Remove unused thread_locals
4b096beae Fix `masquerade_as_nightly_cargo` in work threads
e56417c8c Suggest RUSTC_BOOTSTRAP=crate instead of RUSTC_BOOTSTRAP=1
418129dae Downgrade error to a warning when `RUSTC_BOOTSTRAP` is set or this is the nightly channel
6c422a2c0 Restrict RUSTC_BOOTSTRAP in build.rs
2021-03-07 23:39:19 +00:00
|
|
|
"rand 0.7.3",
|
std: Switch from libbacktrace to gimli
This commit is a proof-of-concept for switching the standard library's
backtrace symbolication mechanism on most platforms from libbacktrace to
gimli. The standard library's support for `RUST_BACKTRACE=1` requires
in-process parsing of object files and DWARF debug information to
interpret it and print the filename/line number of stack frames as part
of a backtrace.
Historically this support in the standard library has come from a
library called "libbacktrace". The libbacktrace library seems to have
been extracted from gcc at some point and is written in C. We've had a
lot of issues with libbacktrace over time, unfortunately, though. The
library does not appear to be actively maintained since we've had
patches sit for months-to-years without comments. We have discovered a
good number of soundness issues with the library itself, both when
parsing valid DWARF as well as invalid DWARF. This is enough of an issue
that the libs team has previously decided that we cannot feed untrusted
inputs to libbacktrace. This also doesn't take into account the
portability of libbacktrace which has been difficult to manage and
maintain over time. While possible there are lots of exceptions and it's
the main C dependency of the standard library right now.
For years it's been the desire to switch over to a Rust-based solution
for symbolicating backtraces. It's been assumed that we'll be using the
Gimli family of crates for this purpose, which are targeted at safely
and efficiently parsing DWARF debug information. I've been working
recently to shore up the Gimli support in the `backtrace` crate. As of a
few weeks ago the `backtrace` crate, by default, uses Gimli when loaded
from crates.io. This transition has gone well enough that I figured it
was time to start talking seriously about this change to the standard
library.
This commit is a preview of what's probably the best way to integrate
the `backtrace` crate into the standard library with the Gimli feature
turned on. While today it's used as a crates.io dependency, this commit
switches the `backtrace` crate to a submodule of this repository which
will need to be updated manually. This is not done lightly, but is
thought to be the best solution. The primary reason for this is that the
`backtrace` crate needs to do some pretty nontrivial filesystem
interactions to locate debug information. Working without `std::fs` is
not an option, and while it might be possible to do some sort of
trait-based solution when prototyped it was found to be too unergonomic.
Using a submodule allows the `backtrace` crate to build as a submodule
of the `std` crate itself, enabling it to use `std::fs` and such.
Otherwise this adds new dependencies to the standard library. This step
requires extra attention because this means that these crates are now
going to be included with all Rust programs by default. It's important
to note, however, that we're already shipping libbacktrace with all Rust
programs by default and it has a bunch of C code implementing all of
this internally anyway, so we're basically already switching
already-shipping functionality to Rust from C.
* `object` - this crate is used to parse object file headers and
contents. Very low-level support is used from this crate and almost
all of it is disabled. Largely we're just using struct definitions as
well as convenience methods internally to read bytes and such.
* `addr2line` - this is the main meat of the implementation for
symbolication. This crate depends on `gimli` for DWARF parsing and
then provides interfaces needed by the `backtrace` crate to turn an
address into a filename / line number. This crate is actually pretty
small (fits in a single file almost!) and mirrors most of what
`dwarf.c` does for libbacktrace.
* `miniz_oxide` - the libbacktrace crate transparently handles
compressed debug information which is compressed with zlib. This crate
is used to decompress compressed debug sections.
* `gimli` - not actually used directly, but a dependency of `addr2line`.
* `adler32`- not used directly either, but a dependency of
`miniz_oxide`.
The goal of this change is to improve the safety of backtrace
symbolication in the standard library, especially in the face of
possibly malformed DWARF debug information. Even to this day we're still
seeing segfaults in libbacktrace which could possibly become security
vulnerabilities. This change should almost entirely eliminate this
possibility whilc also paving the way forward to adding more features
like split debug information.
Some references for those interested are:
* Original addition of libbacktrace - #12602
* OOM with libbacktrace - #24231
* Backtrace failure due to use of uninitialized value - #28447
* Possibility to feed untrusted data to libbacktrace - #21889
* Soundness fix for libbacktrace - #33729
* Crash in libbacktrace - #39468
* Support for macOS, never merged - ianlancetaylor/libbacktrace#2
* Performance issues with libbacktrace - #29293, #37477
* Update procedure is quite complicated due to how many patches we
need to carry - #50955
* Libbacktrace doesn't work on MinGW with dynamic libs - #71060
* Segfault in libbacktrace on macOS - #71397
Switching to Rust will not make us immune to all of these issues. The
crashes are expected to go away, but correctness and performance may
still have bugs arise. The gimli and `backtrace` crates, however, are
actively maintained unlike libbacktrace, so this should enable us to at
least efficiently apply fixes as situations come up.
2020-05-13 21:22:37 +00:00
|
|
|
"rustc-demangle",
|
2021-04-02 08:11:46 +00:00
|
|
|
"std_detect",
|
2019-08-15 00:45:09 +00:00
|
|
|
"unwind",
|
2022-01-21 13:19:13 +00:00
|
|
|
"wasi 0.11.0+wasi-snapshot-preview1",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2021-04-02 08:11:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "std_detect"
|
|
|
|
version = "0.1.5"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"compiler_builtins",
|
|
|
|
"libc",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "string_cache"
|
2022-04-15 18:11:14 +00:00
|
|
|
version = "0.8.3"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:11:14 +00:00
|
|
|
checksum = "33994d0838dc2d152d17a62adf608a869b5e846b65b389af7f3dbc1de45c5b26"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"new_debug_unreachable",
|
2022-06-04 12:07:44 +00:00
|
|
|
"parking_lot 0.11.2",
|
2019-08-15 00:45:09 +00:00
|
|
|
"phf_shared",
|
|
|
|
"precomputed-hash",
|
|
|
|
"serde",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "string_cache_codegen"
|
2022-04-15 18:11:14 +00:00
|
|
|
version = "0.5.2"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-15 18:11:14 +00:00
|
|
|
checksum = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"phf_generator",
|
|
|
|
"phf_shared",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
2019-05-23 20:27:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "strip-ansi-escapes"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "9d63676e2abafa709460982ddc02a3bb586b6d15a49b75c212e06edd3933acee"
|
2019-05-23 20:27:49 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"vte",
|
2019-05-23 20:27:49 +00:00
|
|
|
]
|
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
2019-09-08 08:28:11 +00:00
|
|
|
version = "0.8.0"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-08 08:28:11 +00:00
|
|
|
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2022-01-19 03:14:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "strsim"
|
|
|
|
version = "0.10.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "structopt"
|
2021-12-03 14:24:05 +00:00
|
|
|
version = "0.3.25"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 14:24:05 +00:00
|
|
|
checksum = "40b9788f4202aa75c240ecc9c15c65185e6a39ccdeb0fd5d008b98825464c87c"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2022-01-19 03:14:33 +00:00
|
|
|
"clap 2.34.0",
|
2020-08-17 15:21:44 +00:00
|
|
|
"lazy_static",
|
2019-11-12 18:14:48 +00:00
|
|
|
"structopt-derive",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "structopt-derive"
|
2021-12-03 14:24:05 +00:00
|
|
|
version = "0.4.18"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 14:24:05 +00:00
|
|
|
checksum = "dcb5ae327f9cc13b68763b5749770cb9e048a99bd9dfdfa58d0cf05d5f64afe0"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
|
|
|
"heck",
|
|
|
|
"proc-macro-error",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-06-18 12:15:19 +00:00
|
|
|
]
|
|
|
|
|
2018-04-21 21:06:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "strum"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.18.0"
|
2018-04-21 21:06:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "57bd81eb48f4c437cadc685403cad539345bf703d78e63707418431cecd4522b"
|
2018-04-21 21:06:13 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "strum_macros"
|
2020-08-01 14:11:15 +00:00
|
|
|
version = "0.18.0"
|
2018-04-21 21:06:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-01 14:11:15 +00:00
|
|
|
checksum = "87c85aa3f8ea653bfd3ddf25f7ee357ee4d204731f6aa9ad04002306f6e2774c"
|
2018-04-21 21:06:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"heck",
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2018-04-02 15:43:55 +00:00
|
|
|
]
|
|
|
|
|
2019-09-08 08:28:11 +00:00
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2022-04-18 16:10:37 +00:00
|
|
|
version = "1.0.91"
|
2019-09-08 08:28:11 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-18 16:10:37 +00:00
|
|
|
checksum = "b683b2b825c8eef438b77c36a06dc262294da3d5a5813fac20da149241dcd44d"
|
2019-09-08 08:28:11 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-xid",
|
2019-09-08 08:28:11 +00:00
|
|
|
]
|
|
|
|
|
2019-10-04 12:43:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "synstructure"
|
2021-12-21 17:00:30 +00:00
|
|
|
version = "0.12.6"
|
2019-10-04 12:43:23 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-21 17:00:30 +00:00
|
|
|
checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f"
|
2019-10-04 12:43:23 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"unicode-xid",
|
2019-10-04 12:43:23 +00:00
|
|
|
]
|
|
|
|
|
2022-02-06 22:03:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "sysinfo"
|
2022-06-04 16:59:07 +00:00
|
|
|
version = "0.24.1"
|
2022-02-06 22:03:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-06-04 16:59:07 +00:00
|
|
|
checksum = "a6a8e71535da31837213ac114531d31def75d7aebd133264e420a3451fa7f703"
|
2022-02-06 22:03:55 +00:00
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"core-foundation-sys",
|
|
|
|
"libc",
|
|
|
|
"ntapi",
|
|
|
|
"once_cell",
|
|
|
|
"rayon",
|
|
|
|
"winapi",
|
|
|
|
]
|
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tar"
|
2021-08-27 14:38:53 +00:00
|
|
|
version = "0.4.37"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-08-27 14:38:53 +00:00
|
|
|
checksum = "d6f5515d3add52e0bbdcad7b83c388bb36ba7b754dda3b5f5bc2d38640cdba5c"
|
2017-05-08 22:01:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"filetime",
|
|
|
|
"libc",
|
|
|
|
"xattr",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2018-03-29 07:34:55 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tempfile"
|
2021-04-23 22:49:47 +00:00
|
|
|
version = "3.2.0"
|
2018-03-29 07:34:55 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-23 22:49:47 +00:00
|
|
|
checksum = "dac1c663cfc93810f88aed9b8941d48cabf856a1b111c29a40439018d870eb22"
|
2018-03-29 07:34:55 +00:00
|
|
|
dependencies = [
|
2021-04-23 22:49:47 +00:00
|
|
|
"cfg-if 1.0.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2022-04-15 18:11:14 +00:00
|
|
|
"rand 0.8.5",
|
2021-05-11 19:03:59 +00:00
|
|
|
"redox_syscall",
|
2019-08-15 00:45:09 +00:00
|
|
|
"remove_dir_all",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-03-29 07:34:55 +00:00
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tendril"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.1"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "707feda9f2582d5d680d733e38755547a3e8fb471e7ba11452ecfd9ce93a5d3b"
|
2018-04-03 14:32:04 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"futf",
|
|
|
|
"mac",
|
|
|
|
"utf-8",
|
2018-04-03 14:32:04 +00:00
|
|
|
]
|
|
|
|
|
2019-07-30 11:00:27 +00:00
|
|
|
[[package]]
|
|
|
|
name = "term"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.6.1"
|
2019-07-30 11:00:27 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "c0863a3345e70f61d613eab32ee046ccd1bcc5f9105fe402c61fcd0c13eeb8b5"
|
2019-07-30 11:00:27 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"dirs",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2019-07-30 11:00:27 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "term"
|
|
|
|
version = "0.7.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c59df8ac95d96ff9bede18eb7300b0fda5e5d8d90960e76f8e14ae765eedbf1f"
|
|
|
|
dependencies = [
|
|
|
|
"dirs-next",
|
|
|
|
"rustversion",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2021-02-25 10:26:23 +00:00
|
|
|
]
|
|
|
|
|
2018-07-26 00:25:12 +00:00
|
|
|
[[package]]
|
|
|
|
name = "termcolor"
|
2021-06-22 23:19:24 +00:00
|
|
|
version = "1.1.2"
|
2018-07-26 00:25:12 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-22 23:19:24 +00:00
|
|
|
checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4"
|
2018-07-26 00:25:12 +00:00
|
|
|
dependencies = [
|
2020-07-29 18:02:05 +00:00
|
|
|
"winapi-util",
|
2018-07-26 00:25:12 +00:00
|
|
|
]
|
|
|
|
|
2020-01-29 00:13:48 +00:00
|
|
|
[[package]]
|
|
|
|
name = "termize"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1706be6b564323ce7092f5f7e6b118a14c8ef7ed0e69c8c5329c914a9f101295"
|
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2020-01-29 00:13:48 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "test"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
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 15:29:08 +00:00
|
|
|
"core",
|
2019-08-15 00:45:09 +00:00
|
|
|
"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 15:29:08 +00:00
|
|
|
"libc",
|
|
|
|
"panic_abort",
|
|
|
|
"panic_unwind",
|
2019-08-15 00:45:09 +00:00
|
|
|
"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 15:29:08 +00:00
|
|
|
"std",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2021-02-25 10:26:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tester"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0639d10d8f4615f223a57275cf40f9bdb7cfbb806bcb7f7cc56e3beb55a576eb"
|
|
|
|
dependencies = [
|
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"getopts",
|
|
|
|
"libc",
|
|
|
|
"num_cpus",
|
|
|
|
"term 0.7.0",
|
|
|
|
]
|
|
|
|
|
2017-06-27 17:33:32 +00:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
2019-09-08 08:28:11 +00:00
|
|
|
version = "0.11.0"
|
2017-06-27 17:33:32 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-09-08 08:28:11 +00:00
|
|
|
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
|
2017-06-27 17:33:32 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"unicode-width",
|
2017-06-27 17:33:32 +00:00
|
|
|
]
|
|
|
|
|
2022-01-19 03:14:33 +00:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
|
|
|
version = "0.14.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0066c8d12af8b5acd21e00547c3797fde4e8677254a7ee429176ccebbe93dd80"
|
|
|
|
|
2019-11-26 11:06:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thiserror"
|
2021-12-03 14:24:05 +00:00
|
|
|
version = "1.0.30"
|
2019-11-26 11:06:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 14:24:05 +00:00
|
|
|
checksum = "854babe52e4df1653706b98fcfc05843010039b406875930a70e4d9644e5c417"
|
2019-11-26 11:06:30 +00:00
|
|
|
dependencies = [
|
|
|
|
"thiserror-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "thiserror-impl"
|
2021-12-03 14:24:05 +00:00
|
|
|
version = "1.0.30"
|
2019-11-26 11:06:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 14:24:05 +00:00
|
|
|
checksum = "aa32fd3f627f367fe16f893e2597ae3c05020f8bba2666a4e6ea73d377e5714b"
|
2019-11-26 11:06:30 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2019-11-26 11:06:30 +00:00
|
|
|
]
|
|
|
|
|
2021-12-03 14:24:05 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thorin-dwp"
|
2022-01-20 14:09:05 +00:00
|
|
|
version = "0.2.0"
|
2021-12-03 14:24:05 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-20 14:09:05 +00:00
|
|
|
checksum = "dd95b4559c196987c8451b4e14d08a4c796c2844f9adf4d2a2dbc9b3142843be"
|
2021-12-03 14:24:05 +00:00
|
|
|
dependencies = [
|
|
|
|
"gimli 0.26.1",
|
2022-01-17 07:46:11 +00:00
|
|
|
"hashbrown 0.11.2",
|
2022-05-02 01:45:50 +00:00
|
|
|
"object 0.28.4",
|
2021-12-03 14:24:05 +00:00
|
|
|
"tracing",
|
|
|
|
]
|
|
|
|
|
2020-02-12 14:47:31 +00:00
|
|
|
[[package]]
|
|
|
|
name = "thread_local"
|
2022-01-24 17:19:21 +00:00
|
|
|
version = "1.1.4"
|
2020-02-12 14:47:31 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-24 17:19:21 +00:00
|
|
|
checksum = "5516c27b78311c50bf42c071425c560ac799b11c30b31f87e3081965fe5e0180"
|
2020-02-12 14:47:31 +00:00
|
|
|
dependencies = [
|
2022-01-24 17:19:21 +00:00
|
|
|
"once_cell",
|
2020-02-12 14:47:31 +00:00
|
|
|
]
|
|
|
|
|
2016-09-02 08:55:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tidy"
|
|
|
|
version = "0.1.0"
|
2018-02-23 01:52:56 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"cargo_metadata",
|
2022-01-10 19:34:07 +00:00
|
|
|
"crossbeam-utils",
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-08-15 00:45:09 +00:00
|
|
|
"regex",
|
|
|
|
"walkdir",
|
2018-02-23 01:52:56 +00:00
|
|
|
]
|
2016-09-02 08:55:29 +00:00
|
|
|
|
2020-08-11 23:49:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tier-check"
|
|
|
|
version = "0.1.0"
|
|
|
|
|
2018-01-25 04:01:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "time"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.43"
|
2018-01-25 04:01:42 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "ca8a50ef2360fbd1eeb0ecd46795a87a19024eb4b53c5dc916ca1fd95fe62438"
|
2018-01-25 04:01:42 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-01-25 04:01:42 +00:00
|
|
|
]
|
|
|
|
|
2022-03-26 07:27:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tinystr"
|
|
|
|
version = "0.3.4"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "29738eedb4388d9ea620eeab9384884fc3f06f586a2eddb56bedc5885126c7c1"
|
|
|
|
|
2020-08-17 15:21:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tinyvec"
|
2020-08-17 23:07:09 +00:00
|
|
|
version = "0.3.4"
|
2020-08-17 15:21:44 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 23:07:09 +00:00
|
|
|
checksum = "238ce071d267c5710f9d31451efec16c5ee22de34df17cc05e56cbc92e967117"
|
2020-08-17 15:21:44 +00:00
|
|
|
|
2019-01-21 15:32:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tokio"
|
2022-01-24 17:19:21 +00:00
|
|
|
version = "1.8.4"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-01-24 17:19:21 +00:00
|
|
|
checksum = "50dae83881bc9b0403dd5b44ea9deed3e939856cc8722d5be37f0d6e5c6d53dd"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2021-07-21 13:17:31 +00:00
|
|
|
"autocfg",
|
2019-08-15 00:45:09 +00:00
|
|
|
"bytes",
|
|
|
|
"libc",
|
2021-02-10 01:52:54 +00:00
|
|
|
"memchr",
|
2019-08-15 00:45:09 +00:00
|
|
|
"mio",
|
|
|
|
"num_cpus",
|
2021-07-21 13:17:31 +00:00
|
|
|
"once_cell",
|
|
|
|
"pin-project-lite",
|
2021-02-10 01:52:54 +00:00
|
|
|
"signal-hook-registry",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-07-21 13:17:31 +00:00
|
|
|
name = "tokio-stream"
|
|
|
|
version = "0.1.7"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "7b2f3f698253f03119ac0102beaa64f67a67e08074d03a22d18784104543727f"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2021-07-21 13:17:31 +00:00
|
|
|
"futures-core",
|
|
|
|
"pin-project-lite",
|
|
|
|
"tokio",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2021-02-10 01:52:54 +00:00
|
|
|
name = "tokio-util"
|
2021-07-21 13:17:31 +00:00
|
|
|
version = "0.6.7"
|
2019-01-21 15:32:43 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-21 13:17:31 +00:00
|
|
|
checksum = "1caa0b0c8d94a049db56b5acf8cba99dc0623aab1b26d5b5f5e2d945846b3592"
|
2019-01-21 15:32:43 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"bytes",
|
2021-02-10 01:52:54 +00:00
|
|
|
"futures-core",
|
|
|
|
"futures-sink",
|
2019-08-15 00:45:09 +00:00
|
|
|
"log",
|
2021-07-21 13:17:31 +00:00
|
|
|
"pin-project-lite",
|
2021-02-10 01:52:54 +00:00
|
|
|
"tokio",
|
2019-01-21 15:32:43 +00:00
|
|
|
]
|
|
|
|
|
2019-03-29 03:13:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "toml"
|
2020-10-14 22:16:47 +00:00
|
|
|
version = "0.5.7"
|
2019-03-29 03:13:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-10-14 22:16:47 +00:00
|
|
|
checksum = "75cf45bb0bef80604d001caaec0d09da99611b3c0fd39d3080468875cdb65645"
|
2019-03-29 03:13:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2019-03-29 03:13:13 +00:00
|
|
|
]
|
|
|
|
|
2022-04-28 05:42:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "toml_edit"
|
|
|
|
version = "0.14.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ba98375fd631b83696f87c64e4ed8e29e6a1f3404d6aed95fa95163bad38e705"
|
|
|
|
dependencies = [
|
|
|
|
"combine",
|
|
|
|
"indexmap",
|
|
|
|
"itertools",
|
2022-05-18 16:16:27 +00:00
|
|
|
"kstring",
|
2022-01-26 00:24:21 +00:00
|
|
|
"serde",
|
|
|
|
]
|
|
|
|
|
2021-12-03 20:25:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "topological-sort"
|
|
|
|
version = "0.1.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "aa7c7f42dea4b1b99439786f5633aeb9c14c1b53f75e282803c2ec2ad545873c"
|
|
|
|
|
2021-02-10 01:52:54 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tower-service"
|
|
|
|
version = "0.3.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "360dfd1d6d30e05fda32ace2c8c70e9c0a9da713275777f5a4dbb8a1893930c6"
|
|
|
|
|
2020-05-27 05:05:09 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tracing"
|
2021-12-03 14:24:05 +00:00
|
|
|
version = "0.1.29"
|
2020-05-27 05:05:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 14:24:05 +00:00
|
|
|
checksum = "375a639232caf30edfc78e8d89b2d4c375515393e7af7e16f01cd96917fb2105"
|
2020-05-27 05:05:09 +00:00
|
|
|
dependencies = [
|
2021-02-28 00:00:00 +00:00
|
|
|
"cfg-if 1.0.0",
|
2021-07-21 13:17:31 +00:00
|
|
|
"pin-project-lite",
|
2020-05-27 05:05:09 +00:00
|
|
|
"tracing-attributes",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-attributes"
|
2021-12-03 14:24:05 +00:00
|
|
|
version = "0.1.18"
|
2020-05-27 05:05:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-03 14:24:05 +00:00
|
|
|
checksum = "f4f480b8f81512e825f337ad51e94c1eb5d3bbdf2b363dcd01e2b19a9ffe3f8e"
|
2020-05-27 05:05:09 +00:00
|
|
|
dependencies = [
|
2020-08-01 14:11:15 +00:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2020-05-27 05:05:09 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-core"
|
2021-10-02 08:22:03 +00:00
|
|
|
version = "0.1.21"
|
2020-05-27 05:05:09 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-10-02 08:22:03 +00:00
|
|
|
checksum = "1f4ed65637b8390770814083d20756f87bfa2c21bf2f110babdc5438351746e4"
|
2020-05-27 05:05:09 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
]
|
|
|
|
|
2020-08-04 22:35:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-log"
|
2021-02-28 00:00:00 +00:00
|
|
|
version = "0.1.2"
|
2020-08-04 22:35:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-02-28 00:00:00 +00:00
|
|
|
checksum = "a6923477a48e41c1951f1999ef8bb5a3023eb723ceadafe78ffb65dc366761e3"
|
2020-08-04 22:35:37 +00:00
|
|
|
dependencies = [
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"tracing-core",
|
|
|
|
]
|
|
|
|
|
2020-07-24 18:42:00 +00:00
|
|
|
[[package]]
|
|
|
|
name = "tracing-subscriber"
|
2021-12-21 17:00:30 +00:00
|
|
|
version = "0.3.3"
|
2020-07-24 18:42:00 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-21 17:00:30 +00:00
|
|
|
checksum = "245da694cc7fc4729f3f418b304cb57789f1bed2a78c575407ab8a23f53cb4d3"
|
2020-07-24 18:42:00 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"ansi_term",
|
2020-07-24 18:42:00 +00:00
|
|
|
"lazy_static",
|
|
|
|
"matchers",
|
2022-06-04 12:07:44 +00:00
|
|
|
"parking_lot 0.11.2",
|
2020-07-24 18:42:00 +00:00
|
|
|
"regex",
|
|
|
|
"sharded-slab",
|
2021-04-22 04:40:29 +00:00
|
|
|
"smallvec",
|
2020-08-17 15:21:44 +00:00
|
|
|
"thread_local",
|
2020-10-07 22:45:59 +00:00
|
|
|
"tracing",
|
2020-07-24 18:42:00 +00:00
|
|
|
"tracing-core",
|
2020-08-04 22:35:37 +00:00
|
|
|
"tracing-log",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "tracing-tree"
|
2021-12-21 17:00:30 +00:00
|
|
|
version = "0.2.0"
|
2020-08-04 22:35:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-12-21 17:00:30 +00:00
|
|
|
checksum = "3ce989c9962c7f61fe084dd4a230eec784649dfc2392467c790007c3a6e134e7"
|
2020-08-04 22:35:37 +00:00
|
|
|
dependencies = [
|
cargo_metadata 0.12 -> 0.14, to dedupe and remove some `semver`, `semver-parser` versions
pretty_assertions 0.6 -> 0.7, to drop some `ansi_term` version
futures 0.1.29 -> 0.1.31, backported some [fixes](https://github.com/rust-lang/futures-rs/compare/0.1.29...0.1.31) to old verions
futures-* 0.3.12 -> 0.3.19, to remove `proc-macro-hack`, `proc-macro-nested` and fix some [issues](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md#0319---2021-12-18). There exist 0.3.21, but it's quite new (06.02.22), so not updated to.
itertools 0.9 -> 0.10 for rustdoc, will be droppped when rustfmt will bump `itertools` version
linked-hash-map 0.5.3 -> 0.5.4, fix [UB](https://github.com/contain-rs/linked-hash-map/pull/106)
markup5ever 0.10.0 -> 0.10.1, internally drops `serde`, reducing [build time](https://github.com/servo/html5ever/commit/3afd8d63853627e530b3063b0185eea3732cc29f#diff-4c20e8293515259c0aa26932413a55a334aa5f2b37de5a5adc92a2186f632606) for some usecases
mio 0.7.13 -> 0.7.14 fix [unsoundness](https://github.com/tokio-rs/mio/compare/v0.7.13...v0.7.14)
num_cpus 1.13.0 -> 1.13.1 fix parsing mountinfo and other [fixes](https://github.com/seanmonstar/num_cpus/compare/v1.13.0...v1.13.1)
openssl-src 111.16.0+1.1.1l -> 111.17.0+1.1.1m fix CVE-2021-4160
2022-02-06 20:57:29 +00:00
|
|
|
"ansi_term",
|
2020-08-04 22:35:37 +00:00
|
|
|
"atty",
|
2021-12-21 17:00:30 +00:00
|
|
|
"tracing-core",
|
2021-02-28 00:00:00 +00:00
|
|
|
"tracing-log",
|
2020-08-04 22:35:37 +00:00
|
|
|
"tracing-subscriber",
|
2020-07-24 18:42:00 +00:00
|
|
|
]
|
|
|
|
|
2022-03-26 07:27:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "type-map"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "b6d3364c5e96cb2ad1603037ab253ddd34d7fb72a58bdddf4b7350760fc69a46"
|
|
|
|
dependencies = [
|
|
|
|
"rustc-hash",
|
|
|
|
]
|
|
|
|
|
2018-12-03 01:33:20 +00:00
|
|
|
[[package]]
|
|
|
|
name = "typenum"
|
2020-05-18 22:41:57 +00:00
|
|
|
version = "1.12.0"
|
2018-12-03 01:33:20 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-05-18 22:41:57 +00:00
|
|
|
checksum = "373c8a200f9e67a0c95e62a4f52fbf80c23b4381c05a17845531982fa99e6b33"
|
2018-12-03 01:33:20 +00:00
|
|
|
|
2020-01-13 21:40:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ucd-parse"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.8"
|
2020-01-13 21:40:19 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "5269f8d35df6b8b60758343a6d742ecf09e4bca13faee32af5503aebd1e11b7c"
|
2020-01-13 21:40:19 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2020-01-13 21:40:19 +00:00
|
|
|
"regex",
|
|
|
|
]
|
|
|
|
|
2019-01-19 02:39:37 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ucd-trie"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.3"
|
2019-01-19 02:39:37 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "56dee185309b50d1f11bfedef0fe6d036842e3fb77413abef29f8f8d1c5d4c1c"
|
2019-01-19 02:39:37 +00:00
|
|
|
|
2022-05-30 08:17:46 +00:00
|
|
|
[[package]]
|
|
|
|
name = "ui_test"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"colored",
|
|
|
|
"crossbeam",
|
|
|
|
"lazy_static",
|
|
|
|
"pretty_assertions 1.2.1",
|
|
|
|
"regex",
|
|
|
|
"rustc_version",
|
2022-06-01 13:26:26 +00:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2022-05-30 08:17:46 +00:00
|
|
|
]
|
|
|
|
|
2021-08-29 08:34:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unic-char-property"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "a8c57a407d9b6fa02b4795eb81c5b6652060a15a7903ea981f3d723e6c0be221"
|
|
|
|
dependencies = [
|
|
|
|
"unic-char-range",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unic-char-range"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0398022d5f700414f6b899e10b8348231abf9173fa93144cbc1a43b9793c1fbc"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unic-common"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "80d7ff825a6a654ee85a63e80f92f054f904f21e7d12da4e22f9834a4aaa35bc"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unic-emoji-char"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "0b07221e68897210270a38bde4babb655869637af0f69407f96053a34f76494d"
|
|
|
|
dependencies = [
|
|
|
|
"unic-char-property",
|
|
|
|
"unic-char-range",
|
|
|
|
"unic-ucd-version",
|
|
|
|
]
|
|
|
|
|
2022-03-26 07:27:43 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unic-langid"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "73328fcd730a030bdb19ddf23e192187a6b01cd98be6d3140622a89129459ce5"
|
|
|
|
dependencies = [
|
|
|
|
"unic-langid-impl",
|
|
|
|
"unic-langid-macros",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unic-langid-impl"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "1a4a8eeaf0494862c1404c95ec2f4c33a2acff5076f64314b465e3ddae1b934d"
|
|
|
|
dependencies = [
|
|
|
|
"tinystr",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unic-langid-macros"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "18f980d6d87e8805f2836d64b4138cc95aa7986fa63b1f51f67d5fbff64dd6e5"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-hack",
|
|
|
|
"tinystr",
|
|
|
|
"unic-langid-impl",
|
|
|
|
"unic-langid-macros-impl",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unic-langid-macros-impl"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "29396ffd97e27574c3e01368b1a64267d3064969e4848e2e130ff668be9daa9f"
|
|
|
|
dependencies = [
|
|
|
|
"proc-macro-hack",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
|
|
|
"unic-langid-impl",
|
|
|
|
]
|
|
|
|
|
2021-08-29 08:34:23 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unic-ucd-version"
|
|
|
|
version = "0.9.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "96bd2f2237fe450fcd0a1d2f5f4e91711124f7857ba2e964247776ebeeb7b0c4"
|
|
|
|
dependencies = [
|
|
|
|
"unic-common",
|
|
|
|
]
|
|
|
|
|
2019-04-20 17:03:59 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicase"
|
2020-02-13 17:39:40 +00:00
|
|
|
version = "2.6.0"
|
2019-04-20 17:03:59 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-02-13 17:39:40 +00:00
|
|
|
checksum = "50f37be617794602aabbeee0be4f259dc1778fabe05e2d67ee8f79326d5cb4f6"
|
2019-04-20 17:03:59 +00:00
|
|
|
dependencies = [
|
2020-02-13 17:39:40 +00:00
|
|
|
"version_check",
|
2019-04-20 17:03:59 +00:00
|
|
|
]
|
|
|
|
|
2020-01-13 21:40:19 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-bdd"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
|
|
|
"ucd-parse",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-bidi"
|
2017-06-27 17:33:32 +00:00
|
|
|
version = "0.3.4"
|
2017-02-20 00:20:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "49f2bd0c6468a8230e1db229cff8029217cf623c767ea5d60bfbd42729ea54d5"
|
2017-02-20 00:20:57 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"matches",
|
2016-09-02 08:55:29 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-normalization"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.13"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "6fb19cf769fa8c6a80a162df694621ebeb4dafb606470b2b2fce0be40a98a977"
|
2019-11-23 14:33:40 +00:00
|
|
|
dependencies = [
|
2020-08-17 15:21:44 +00:00
|
|
|
"tinyvec",
|
2019-11-23 14:33:40 +00:00
|
|
|
]
|
2017-04-29 23:11:58 +00:00
|
|
|
|
2020-01-02 12:02:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-script"
|
2021-07-01 16:18:02 +00:00
|
|
|
version = "0.5.3"
|
2020-01-02 12:02:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-01 16:18:02 +00:00
|
|
|
checksum = "098ec66172ce21cd55f8bcc786ee209dd20e04eff70acfca30cb79924d173ae9"
|
2020-01-02 12:02:22 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-security"
|
2020-06-23 11:45:13 +00:00
|
|
|
version = "0.0.5"
|
2020-01-02 12:02:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-06-23 11:45:13 +00:00
|
|
|
checksum = "5d87c28edc5b263377e448d6cdcb935c06b95413d8013ba6fae470558ccab18f"
|
2020-01-02 12:02:22 +00:00
|
|
|
dependencies = [
|
2020-04-25 01:38:31 +00:00
|
|
|
"unicode-normalization",
|
2020-01-02 12:02:22 +00:00
|
|
|
"unicode-script",
|
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-segmentation"
|
2019-11-12 18:14:48 +00:00
|
|
|
version = "1.6.0"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-11-12 18:14:48 +00:00
|
|
|
checksum = "e83e153d1053cbb5a118eeff7fd5be06ed99153f00dbcd8ae310c5fb2b22edc0"
|
2017-02-07 23:13:57 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "unicode-width"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.8"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
|
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 15:29:08 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
"rustc-std-workspace-std",
|
|
|
|
]
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2019-07-21 11:50:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-xid"
|
2021-07-27 00:55:31 +00:00
|
|
|
version = "0.2.2"
|
2019-07-21 11:50:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-07-27 00:55:31 +00:00
|
|
|
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
|
2019-07-21 11:50:39 +00:00
|
|
|
|
2019-02-18 09:32:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unicode_categories"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "39ec24b3121d976906ece63c9daad25b85969647682eee313cb5779fdd69e14e"
|
2019-02-18 09:32:58 +00:00
|
|
|
|
2021-02-24 06:42:42 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unified-diff"
|
|
|
|
version = "0.2.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "496a3d395ed0c30f411ceace4a91f7d93b148fb5a9b383d5d4cff7850f048d5f"
|
|
|
|
dependencies = [
|
|
|
|
"diff",
|
|
|
|
]
|
|
|
|
|
2021-10-21 11:13:17 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unindent"
|
|
|
|
version = "0.1.7"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "f14ee04d9415b52b3aeab06258a3f07093182b88ba0f9b8d203f211a7a7d41c7"
|
|
|
|
|
2017-06-12 19:35:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unstable-book-gen"
|
|
|
|
version = "0.1.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"num-traits",
|
|
|
|
"tidy",
|
2017-06-12 19:35:47 +00:00
|
|
|
]
|
|
|
|
|
2017-09-25 04:13:29 +00:00
|
|
|
[[package]]
|
|
|
|
name = "unwind"
|
|
|
|
version = "0.0.0"
|
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"cc",
|
2020-10-11 17:51:07 +00:00
|
|
|
"cfg-if 0.1.10",
|
2019-08-15 00:45:09 +00:00
|
|
|
"compiler_builtins",
|
|
|
|
"core",
|
|
|
|
"libc",
|
2017-09-25 04:13:29 +00:00
|
|
|
]
|
|
|
|
|
2017-04-29 23:11:58 +00:00
|
|
|
[[package]]
|
|
|
|
name = "url"
|
2018-12-08 11:06:54 +00:00
|
|
|
version = "1.7.2"
|
2017-04-29 23:11:58 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "dd4e7c0d531266369519a4aa4f399d748bd37043b00bde1e4ff1f60a120b355a"
|
2017-04-29 23:11:58 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"idna 0.1.5",
|
|
|
|
"matches",
|
|
|
|
"percent-encoding 1.0.1",
|
2017-04-29 23:11:58 +00:00
|
|
|
]
|
|
|
|
|
2019-08-01 00:44:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "url"
|
2021-05-12 00:39:51 +00:00
|
|
|
version = "2.2.2"
|
2019-08-01 00:44:39 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-12 00:39:51 +00:00
|
|
|
checksum = "a507c383b2d33b5fc35d1861e77e6b383d158b2da5e14fe51b83dfedf6fd578c"
|
2019-08-01 00:44:39 +00:00
|
|
|
dependencies = [
|
2021-05-12 00:39:51 +00:00
|
|
|
"form_urlencoded",
|
2019-08-15 00:45:09 +00:00
|
|
|
"idna 0.2.0",
|
|
|
|
"matches",
|
2019-11-12 18:14:48 +00:00
|
|
|
"percent-encoding 2.1.0",
|
2019-08-15 00:45:09 +00:00
|
|
|
"serde",
|
2019-08-01 00:44:39 +00:00
|
|
|
]
|
|
|
|
|
2018-04-03 14:32:04 +00:00
|
|
|
[[package]]
|
|
|
|
name = "utf-8"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.7.5"
|
2018-04-03 14:32:04 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "05e42f7c18b8f902290b009cde6d651262f956c98bc51bca4cd1d511c9cd85c7"
|
2018-04-03 14:32:04 +00:00
|
|
|
|
2019-05-23 20:27:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "utf8parse"
|
|
|
|
version = "0.1.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "8772a4ccbb4e89959023bc5b7cb8623a795caa7092d99f3aa9501b9484d4557d"
|
2019-05-23 20:27:49 +00:00
|
|
|
|
2017-06-15 02:33:06 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vcpkg"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.2.10"
|
2017-06-15 02:33:06 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "6454029bf181f092ad1b853286f23e2c507d8e8194d01d92da4a55c274a5508c"
|
2017-06-15 02:33:06 +00:00
|
|
|
|
2017-02-07 23:13:57 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vec_map"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.8.2"
|
2017-02-07 23:13:57 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "f1bddf1187be692e79c5ffeab891132dfb0f236ed36a43c7ed39f1165ee20191"
|
2017-02-07 23:13:57 +00:00
|
|
|
|
2018-09-17 07:20:03 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vergen"
|
2021-04-06 11:20:48 +00:00
|
|
|
version = "5.1.0"
|
2018-09-17 07:20:03 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-04-06 11:20:48 +00:00
|
|
|
checksum = "dfbc87f9a7a9d61b15d51d1d3547284f67b6b4f1494ce3fc5814c101f35a5183"
|
2018-09-17 07:20:03 +00:00
|
|
|
dependencies = [
|
2021-04-06 11:20:48 +00:00
|
|
|
"anyhow",
|
2019-08-15 00:45:09 +00:00
|
|
|
"chrono",
|
2021-04-06 11:20:48 +00:00
|
|
|
"enum-iterator",
|
|
|
|
"getset",
|
|
|
|
"git2",
|
|
|
|
"rustversion",
|
|
|
|
"thiserror",
|
2018-09-17 07:20:03 +00:00
|
|
|
]
|
|
|
|
|
2019-11-25 16:14:07 +00:00
|
|
|
[[package]]
|
|
|
|
name = "version_check"
|
2021-05-11 19:03:59 +00:00
|
|
|
version = "0.9.3"
|
2019-11-25 16:14:07 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-11 19:03:59 +00:00
|
|
|
checksum = "5fecdca9a5291cc2b8dcf7dc02453fee791a280f3743cb0905f8822ae463b3fe"
|
2019-11-25 16:14:07 +00:00
|
|
|
|
2019-05-23 20:27:49 +00:00
|
|
|
[[package]]
|
|
|
|
name = "vte"
|
|
|
|
version = "0.3.3"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "4f42f536e22f7fcbb407639765c8fd78707a33109301f834a594758bedd6e8cf"
|
2019-05-23 20:27:49 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"utf8parse",
|
2019-05-23 20:27:49 +00:00
|
|
|
]
|
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "walkdir"
|
2022-04-20 13:50:39 +00:00
|
|
|
version = "2.3.2"
|
2018-01-08 21:56:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2022-04-20 13:50:39 +00:00
|
|
|
checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
|
2018-01-08 21:56:22 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"same-file",
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2019-08-15 00:45:09 +00:00
|
|
|
"winapi-util",
|
2018-01-08 21:56:22 +00:00
|
|
|
]
|
|
|
|
|
2019-11-25 17:27:25 +00:00
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.9.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
|
2022-01-21 13:19:13 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "wasi"
|
|
|
|
version = "0.11.0+wasi-snapshot-preview1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
2019-08-29 17:13:15 +00:00
|
|
|
dependencies = [
|
|
|
|
"compiler_builtins",
|
|
|
|
"rustc-std-workspace-alloc",
|
|
|
|
"rustc-std-workspace-core",
|
|
|
|
]
|
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.3.9"
|
2018-01-08 21:56:22 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
2018-01-08 21:56:22 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"winapi-i686-pc-windows-gnu",
|
|
|
|
"winapi-x86_64-pc-windows-gnu",
|
2018-01-08 21:56:22 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-i686-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
2018-01-08 21:56:22 +00:00
|
|
|
|
2018-08-21 17:23:47 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-util"
|
2020-07-29 18:02:05 +00:00
|
|
|
version = "0.1.5"
|
2018-08-21 17:23:47 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-07-29 18:02:05 +00:00
|
|
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
2018-08-21 17:23:47 +00:00
|
|
|
dependencies = [
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2018-08-21 17:23:47 +00:00
|
|
|
]
|
|
|
|
|
2018-01-08 21:56:22 +00:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
|
|
|
version = "0.4.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
2018-01-08 21:56:22 +00:00
|
|
|
|
2022-06-04 12:07:44 +00:00
|
|
|
[[package]]
|
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "ea04155a16a59f9eab786fe12a4a450e75cdb175f9e0d80da1e17db09f55b8d2"
|
|
|
|
dependencies = [
|
|
|
|
"windows_aarch64_msvc",
|
|
|
|
"windows_i686_gnu",
|
|
|
|
"windows_i686_msvc",
|
|
|
|
"windows_x86_64_gnu",
|
|
|
|
"windows_x86_64_msvc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9bb8c3fd39ade2d67e9874ac4f3db21f0d710bee00fe7cab16949ec184eeaa47"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "180e6ccf01daf4c426b846dfc66db1fc518f074baa793aa7d9b9aaeffad6a3b6"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "e2e7917148b2812d1eeafaeb22a97e4813dfa60a3f8f78ebe204bcc88f12f024"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4dcd171b8776c41b97521e5da127a2d86ad280114807d0b2ab1e462bc764d9e1"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
|
|
|
version = "0.36.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "c811ca4a8c853ef420abd8592ba53ddbbac90410fab6903b3e79972a631f7680"
|
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "xattr"
|
2018-07-17 16:04:22 +00:00
|
|
|
version = "0.2.2"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "244c3741f4240ef46274860397c7c74e50eb23624996930e484c16679633a54c"
|
2017-05-08 22:01:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"libc",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "xz2"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.1.6"
|
2017-05-08 22:01:13 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "c179869f34fc7c01830d3ce7ea2086bc3a07e0d35289b667d0a8bf910258926c"
|
2017-05-08 22:01:13 +00:00
|
|
|
dependencies = [
|
2019-08-15 00:45:09 +00:00
|
|
|
"lzma-sys",
|
2017-05-08 22:01:13 +00:00
|
|
|
]
|
|
|
|
|
2019-11-26 11:06:30 +00:00
|
|
|
[[package]]
|
|
|
|
name = "yaml-merge-keys"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.1"
|
2019-11-26 11:06:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "fd236a7dc9bb598f349fe4a8754f49181fee50284daa15cd1ba652d722280004"
|
2019-11-26 11:06:30 +00:00
|
|
|
dependencies = [
|
2020-05-26 04:00:42 +00:00
|
|
|
"lazy_static",
|
2019-11-26 11:06:30 +00:00
|
|
|
"thiserror",
|
2020-08-17 15:21:44 +00:00
|
|
|
"yaml-rust 0.4.4",
|
2019-11-26 11:06:30 +00:00
|
|
|
]
|
|
|
|
|
2017-05-08 22:01:13 +00:00
|
|
|
[[package]]
|
|
|
|
name = "yaml-rust"
|
|
|
|
version = "0.3.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2019-08-15 00:45:09 +00:00
|
|
|
checksum = "e66366e18dc58b46801afbf2ca7661a9f59cc8c5962c29892b6039b4f86fa992"
|
2019-11-26 11:06:30 +00:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "yaml-rust"
|
2020-08-17 15:21:44 +00:00
|
|
|
version = "0.4.4"
|
2019-11-26 11:06:30 +00:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-17 15:21:44 +00:00
|
|
|
checksum = "39f0c922f1a334134dc2f7a8b67dc5d25f0735263feec974345ff706bcf20b0d"
|
2019-11-26 11:06:30 +00:00
|
|
|
dependencies = [
|
|
|
|
"linked-hash-map",
|
|
|
|
]
|
2021-05-03 20:59:35 +00:00
|
|
|
|
2022-04-20 13:50:39 +00:00
|
|
|
[[package]]
|
|
|
|
name = "yansi"
|
|
|
|
version = "0.5.1"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
|
|
|
|
|
2021-05-03 20:59:35 +00:00
|
|
|
[[package]]
|
|
|
|
name = "yansi-term"
|
|
|
|
version = "0.1.2"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "fe5c30ade05e61656247b2e334a031dfd0cc466fadef865bdcdea8d537951bf1"
|
|
|
|
dependencies = [
|
2021-07-21 13:17:31 +00:00
|
|
|
"winapi",
|
2021-05-03 20:59:35 +00:00
|
|
|
]
|