2019-01-29 20:04:40 +02:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
2021-06-12 13:53:42 +02:00
|
|
|
version = 3
|
|
|
|
|
2019-04-03 19:07:26 +02:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "0.7.18"
|
2019-04-03 19:07:26 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "1e37cfd5e7657ada45f742d6e99ca5788580b5c529dc78faf11ece6dc702656f"
|
2019-04-03 19:07:26 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"memchr",
|
2019-04-03 19:07:26 +02:00
|
|
|
]
|
|
|
|
|
2017-01-15 23:32:30 +02:00
|
|
|
[[package]]
|
|
|
|
name = "atty"
|
2020-01-10 03:38:00 +02:00
|
|
|
version = "0.2.14"
|
2017-01-15 23:32:30 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
2017-01-15 23:32:30 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"hermit-abi",
|
|
|
|
"libc",
|
|
|
|
"winapi",
|
2017-01-15 23:32:30 +02:00
|
|
|
]
|
|
|
|
|
2018-04-29 15:29:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "base64"
|
2020-11-02 17:07:59 +02:00
|
|
|
version = "0.13.0"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 17:07:59 +02:00
|
|
|
checksum = "904dfeac50f3cdaba28fc6f57fdcddb75f49ed61346676a78c4ffe55877802fd"
|
2018-04-29 15:29:52 +02:00
|
|
|
|
2017-12-30 22:46:55 +02:00
|
|
|
[[package]]
|
|
|
|
name = "bitflags"
|
2020-01-10 03:38:00 +02:00
|
|
|
version = "1.2.1"
|
2017-12-30 22:46:55 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"
|
2017-12-30 22:46:55 +02:00
|
|
|
|
2019-04-06 04:28:43 +02:00
|
|
|
[[package]]
|
|
|
|
name = "bstr"
|
2021-06-02 02:46:26 +02:00
|
|
|
version = "0.2.16"
|
2019-04-06 04:28:43 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 02:46:26 +02:00
|
|
|
checksum = "90682c8d613ad3373e66de8c6411e0ae2ab2571e879d2efbf73558cc66f21279"
|
2019-04-06 04:28:43 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"lazy_static",
|
|
|
|
"memchr",
|
|
|
|
"regex-automata",
|
2019-04-06 04:28:43 +02:00
|
|
|
]
|
|
|
|
|
2016-09-23 04:59:25 +02:00
|
|
|
[[package]]
|
|
|
|
name = "bytecount"
|
2021-01-18 01:55:03 +02:00
|
|
|
version = "0.6.2"
|
2016-09-23 04:59:25 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-18 01:55:03 +02:00
|
|
|
checksum = "72feb31ffc86498dacdbd0fcebb56138e7177a8cc5cea4516031d15ae85a742e"
|
2016-09-23 04:59:25 +02:00
|
|
|
|
2018-04-29 15:29:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2021-06-02 02:46:26 +02:00
|
|
|
version = "1.0.68"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 02:46:26 +02:00
|
|
|
checksum = "4a72c244c1ff497a746a7e1fb3d14bd08420ecda70c8f25c7112f2781652d787"
|
2020-08-20 00:55:16 +02:00
|
|
|
dependencies = [
|
|
|
|
"jobserver",
|
|
|
|
]
|
2018-04-29 15:29:52 +02:00
|
|
|
|
Add support for additional text encodings.
This includes, but is not limited to, UTF-16, latin-1, GBK, EUC-JP and
Shift_JIS. (Courtesy of the `encoding_rs` crate.)
Specifically, this feature enables ripgrep to search files that are
encoded in an encoding other than UTF-8. The list of available encodings
is tied directly to what the `encoding_rs` crate supports, which is in
turn tied to the Encoding Standard. The full list of available encodings
can be found here: https://encoding.spec.whatwg.org/#concept-encoding-get
This pull request also introduces the notion that text encodings can be
automatically detected on a best effort basis. Currently, the only
support for this is checking for a UTF-16 bom. In all other cases, a
text encoding of `auto` (the default) implies a UTF-8 or ASCII
compatible source encoding. When a text encoding is otherwise specified,
it is unconditionally used for all files searched.
Since ripgrep's regex engine is fundamentally built on top of UTF-8,
this feature works by transcoding the files to be searched from their
source encoding to UTF-8. This transcoding only happens when:
1. `auto` is specified and a non-UTF-8 encoding is detected.
2. A specific encoding is given by end users (including UTF-8).
When transcoding occurs, errors are handled by automatically inserting
the Unicode replacement character. In this case, ripgrep's output is
guaranteed to be valid UTF-8 (excluding non-UTF-8 file paths, if they
are printed).
In all other cases, the source text is searched directly, which implies
an assumption that it is at least ASCII compatible, but where UTF-8 is
most useful. In this scenario, encoding errors are not detected. In this
case, ripgrep's output will match the input exactly, byte-for-byte.
This design may not be optimal in all cases, but it has some advantages:
1. In the happy path ("UTF-8 everywhere") remains happy. I have not been
able to witness any performance regressions.
2. In the non-UTF-8 path, implementation complexity is kept relatively
low. The cost here is transcoding itself. A potentially superior
implementation might build decoding of any encoding into the regex
engine itself. In particular, the fundamental problem with
transcoding everything first is that literal optimizations are nearly
negated.
Future work should entail improving the user experience. For example, we
might want to auto-detect more text encodings. A more elaborate UX
experience might permit end users to specify multiple text encodings,
although this seems hard to pull off in an ergonomic way.
Fixes #1
2017-03-09 03:22:48 +02:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
2020-01-10 03:38:00 +02:00
|
|
|
version = "0.1.10"
|
Add support for additional text encodings.
This includes, but is not limited to, UTF-16, latin-1, GBK, EUC-JP and
Shift_JIS. (Courtesy of the `encoding_rs` crate.)
Specifically, this feature enables ripgrep to search files that are
encoded in an encoding other than UTF-8. The list of available encodings
is tied directly to what the `encoding_rs` crate supports, which is in
turn tied to the Encoding Standard. The full list of available encodings
can be found here: https://encoding.spec.whatwg.org/#concept-encoding-get
This pull request also introduces the notion that text encodings can be
automatically detected on a best effort basis. Currently, the only
support for this is checking for a UTF-16 bom. In all other cases, a
text encoding of `auto` (the default) implies a UTF-8 or ASCII
compatible source encoding. When a text encoding is otherwise specified,
it is unconditionally used for all files searched.
Since ripgrep's regex engine is fundamentally built on top of UTF-8,
this feature works by transcoding the files to be searched from their
source encoding to UTF-8. This transcoding only happens when:
1. `auto` is specified and a non-UTF-8 encoding is detected.
2. A specific encoding is given by end users (including UTF-8).
When transcoding occurs, errors are handled by automatically inserting
the Unicode replacement character. In this case, ripgrep's output is
guaranteed to be valid UTF-8 (excluding non-UTF-8 file paths, if they
are printed).
In all other cases, the source text is searched directly, which implies
an assumption that it is at least ASCII compatible, but where UTF-8 is
most useful. In this scenario, encoding errors are not detected. In this
case, ripgrep's output will match the input exactly, byte-for-byte.
This design may not be optimal in all cases, but it has some advantages:
1. In the happy path ("UTF-8 everywhere") remains happy. I have not been
able to witness any performance regressions.
2. In the non-UTF-8 path, implementation complexity is kept relatively
low. The cost here is transcoding itself. A potentially superior
implementation might build decoding of any encoding into the regex
engine itself. In particular, the fundamental problem with
transcoding everything first is that literal optimizations are nearly
negated.
Future work should entail improving the user experience. For example, we
might want to auto-detect more text encodings. A more elaborate UX
experience might permit end users to specify multiple text encodings,
although this seems hard to pull off in an ergonomic way.
Fixes #1
2017-03-09 03:22:48 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822"
|
Add support for additional text encodings.
This includes, but is not limited to, UTF-16, latin-1, GBK, EUC-JP and
Shift_JIS. (Courtesy of the `encoding_rs` crate.)
Specifically, this feature enables ripgrep to search files that are
encoded in an encoding other than UTF-8. The list of available encodings
is tied directly to what the `encoding_rs` crate supports, which is in
turn tied to the Encoding Standard. The full list of available encodings
can be found here: https://encoding.spec.whatwg.org/#concept-encoding-get
This pull request also introduces the notion that text encodings can be
automatically detected on a best effort basis. Currently, the only
support for this is checking for a UTF-16 bom. In all other cases, a
text encoding of `auto` (the default) implies a UTF-8 or ASCII
compatible source encoding. When a text encoding is otherwise specified,
it is unconditionally used for all files searched.
Since ripgrep's regex engine is fundamentally built on top of UTF-8,
this feature works by transcoding the files to be searched from their
source encoding to UTF-8. This transcoding only happens when:
1. `auto` is specified and a non-UTF-8 encoding is detected.
2. A specific encoding is given by end users (including UTF-8).
When transcoding occurs, errors are handled by automatically inserting
the Unicode replacement character. In this case, ripgrep's output is
guaranteed to be valid UTF-8 (excluding non-UTF-8 file paths, if they
are printed).
In all other cases, the source text is searched directly, which implies
an assumption that it is at least ASCII compatible, but where UTF-8 is
most useful. In this scenario, encoding errors are not detected. In this
case, ripgrep's output will match the input exactly, byte-for-byte.
This design may not be optimal in all cases, but it has some advantages:
1. In the happy path ("UTF-8 everywhere") remains happy. I have not been
able to witness any performance regressions.
2. In the non-UTF-8 path, implementation complexity is kept relatively
low. The cost here is transcoding itself. A potentially superior
implementation might build decoding of any encoding into the regex
engine itself. In particular, the fundamental problem with
transcoding everything first is that literal optimizations are nearly
negated.
Future work should entail improving the user experience. For example, we
might want to auto-detect more text encodings. A more elaborate UX
experience might permit end users to specify multiple text encodings,
although this seems hard to pull off in an ergonomic way.
Fixes #1
2017-03-09 03:22:48 +02:00
|
|
|
|
2020-11-02 16:04:39 +02:00
|
|
|
[[package]]
|
|
|
|
name = "cfg-if"
|
|
|
|
version = "1.0.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
|
|
|
|
Switch from Docopt to Clap.
There were two important reasons for the switch:
1. Performance. Docopt does poorly when the argv becomes large, which is
a reasonable common use case for search tools. (e.g., use with xargs)
2. Better failure modes. Clap knows a lot more about how a particular
argv might be invalid, and can therefore provide much clearer error
messages.
While both were important, (1) made it urgent.
Note that since Clap requires at least Rust 1.11, this will in turn
increase the minimum Rust version supported by ripgrep from Rust 1.9 to
Rust 1.11. It is therefore a breaking change, so the soonest release of
ripgrep with Clap will have to be 0.3.
There is also at least one subtle breaking change in real usage.
Previous to this commit, this used to work:
rg -e -foo
Where this would cause ripgrep to search for the string `-foo`. Clap
currently has problems supporting this use case
(see: https://github.com/kbknapp/clap-rs/issues/742),
but it can be worked around by using this instead:
rg -e [-]foo
or even
rg [-]foo
and this still works:
rg -- -foo
This commit also adds Bash, Fish and PowerShell completion files to the
release, fixes a bug that prevented ripgrep from working on file
paths containing invalid UTF-8 and shows short descriptions in the
output of `-h` but longer descriptions in the output of `--help`.
Fixes #136, Fixes #189, Fixes #210, Fixes #230
2016-11-13 04:48:11 +02:00
|
|
|
[[package]]
|
|
|
|
name = "clap"
|
2020-11-02 17:06:13 +02:00
|
|
|
version = "2.33.3"
|
Switch from Docopt to Clap.
There were two important reasons for the switch:
1. Performance. Docopt does poorly when the argv becomes large, which is
a reasonable common use case for search tools. (e.g., use with xargs)
2. Better failure modes. Clap knows a lot more about how a particular
argv might be invalid, and can therefore provide much clearer error
messages.
While both were important, (1) made it urgent.
Note that since Clap requires at least Rust 1.11, this will in turn
increase the minimum Rust version supported by ripgrep from Rust 1.9 to
Rust 1.11. It is therefore a breaking change, so the soonest release of
ripgrep with Clap will have to be 0.3.
There is also at least one subtle breaking change in real usage.
Previous to this commit, this used to work:
rg -e -foo
Where this would cause ripgrep to search for the string `-foo`. Clap
currently has problems supporting this use case
(see: https://github.com/kbknapp/clap-rs/issues/742),
but it can be worked around by using this instead:
rg -e [-]foo
or even
rg [-]foo
and this still works:
rg -- -foo
This commit also adds Bash, Fish and PowerShell completion files to the
release, fixes a bug that prevented ripgrep from working on file
paths containing invalid UTF-8 and shows short descriptions in the
output of `-h` but longer descriptions in the output of `--help`.
Fixes #136, Fixes #189, Fixes #210, Fixes #230
2016-11-13 04:48:11 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 17:06:13 +02:00
|
|
|
checksum = "37e58ac78573c40708d45522f0d80fa2f01cc4f9b4e2bf749807255454312002"
|
Switch from Docopt to Clap.
There were two important reasons for the switch:
1. Performance. Docopt does poorly when the argv becomes large, which is
a reasonable common use case for search tools. (e.g., use with xargs)
2. Better failure modes. Clap knows a lot more about how a particular
argv might be invalid, and can therefore provide much clearer error
messages.
While both were important, (1) made it urgent.
Note that since Clap requires at least Rust 1.11, this will in turn
increase the minimum Rust version supported by ripgrep from Rust 1.9 to
Rust 1.11. It is therefore a breaking change, so the soonest release of
ripgrep with Clap will have to be 0.3.
There is also at least one subtle breaking change in real usage.
Previous to this commit, this used to work:
rg -e -foo
Where this would cause ripgrep to search for the string `-foo`. Clap
currently has problems supporting this use case
(see: https://github.com/kbknapp/clap-rs/issues/742),
but it can be worked around by using this instead:
rg -e [-]foo
or even
rg [-]foo
and this still works:
rg -- -foo
This commit also adds Bash, Fish and PowerShell completion files to the
release, fixes a bug that prevented ripgrep from working on file
paths containing invalid UTF-8 and shows short descriptions in the
output of `-h` but longer descriptions in the output of `--help`.
Fixes #136, Fixes #189, Fixes #210, Fixes #230
2016-11-13 04:48:11 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"bitflags",
|
|
|
|
"strsim",
|
|
|
|
"textwrap",
|
|
|
|
"unicode-width",
|
Switch from Docopt to Clap.
There were two important reasons for the switch:
1. Performance. Docopt does poorly when the argv becomes large, which is
a reasonable common use case for search tools. (e.g., use with xargs)
2. Better failure modes. Clap knows a lot more about how a particular
argv might be invalid, and can therefore provide much clearer error
messages.
While both were important, (1) made it urgent.
Note that since Clap requires at least Rust 1.11, this will in turn
increase the minimum Rust version supported by ripgrep from Rust 1.9 to
Rust 1.11. It is therefore a breaking change, so the soonest release of
ripgrep with Clap will have to be 0.3.
There is also at least one subtle breaking change in real usage.
Previous to this commit, this used to work:
rg -e -foo
Where this would cause ripgrep to search for the string `-foo`. Clap
currently has problems supporting this use case
(see: https://github.com/kbknapp/clap-rs/issues/742),
but it can be worked around by using this instead:
rg -e [-]foo
or even
rg [-]foo
and this still works:
rg -- -foo
This commit also adds Bash, Fish and PowerShell completion files to the
release, fixes a bug that prevented ripgrep from working on file
paths containing invalid UTF-8 and shows short descriptions in the
output of `-h` but longer descriptions in the output of `--help`.
Fixes #136, Fixes #189, Fixes #210, Fixes #230
2016-11-13 04:48:11 +02:00
|
|
|
]
|
|
|
|
|
2020-11-02 16:04:39 +02:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-channel"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "0.5.1"
|
2020-11-02 16:04:39 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "06ed27e177f16d65f0f0c22a213e17c696ace5dd64b14258b52f9417ccb52db4"
|
2018-08-22 01:47:12 +02:00
|
|
|
dependencies = [
|
2020-11-02 16:04:39 +02:00
|
|
|
"cfg-if 1.0.0",
|
2020-08-20 00:55:16 +02:00
|
|
|
"crossbeam-utils",
|
2018-08-22 01:47:12 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2021-06-02 02:46:26 +02:00
|
|
|
version = "0.8.5"
|
2016-11-06 03:44:15 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 02:46:26 +02:00
|
|
|
checksum = "d82cfc11ce7f2c3faef78d8a684447b40d503d9681acebed6cb728d45940c4db"
|
2018-12-15 15:37:52 +02:00
|
|
|
dependencies = [
|
2020-11-02 16:04:39 +02:00
|
|
|
"cfg-if 1.0.0",
|
2020-08-20 00:55:16 +02:00
|
|
|
"lazy_static",
|
2018-12-15 15:37:52 +02:00
|
|
|
]
|
2016-11-06 03:44:15 +02:00
|
|
|
|
Add support for additional text encodings.
This includes, but is not limited to, UTF-16, latin-1, GBK, EUC-JP and
Shift_JIS. (Courtesy of the `encoding_rs` crate.)
Specifically, this feature enables ripgrep to search files that are
encoded in an encoding other than UTF-8. The list of available encodings
is tied directly to what the `encoding_rs` crate supports, which is in
turn tied to the Encoding Standard. The full list of available encodings
can be found here: https://encoding.spec.whatwg.org/#concept-encoding-get
This pull request also introduces the notion that text encodings can be
automatically detected on a best effort basis. Currently, the only
support for this is checking for a UTF-16 bom. In all other cases, a
text encoding of `auto` (the default) implies a UTF-8 or ASCII
compatible source encoding. When a text encoding is otherwise specified,
it is unconditionally used for all files searched.
Since ripgrep's regex engine is fundamentally built on top of UTF-8,
this feature works by transcoding the files to be searched from their
source encoding to UTF-8. This transcoding only happens when:
1. `auto` is specified and a non-UTF-8 encoding is detected.
2. A specific encoding is given by end users (including UTF-8).
When transcoding occurs, errors are handled by automatically inserting
the Unicode replacement character. In this case, ripgrep's output is
guaranteed to be valid UTF-8 (excluding non-UTF-8 file paths, if they
are printed).
In all other cases, the source text is searched directly, which implies
an assumption that it is at least ASCII compatible, but where UTF-8 is
most useful. In this scenario, encoding errors are not detected. In this
case, ripgrep's output will match the input exactly, byte-for-byte.
This design may not be optimal in all cases, but it has some advantages:
1. In the happy path ("UTF-8 everywhere") remains happy. I have not been
able to witness any performance regressions.
2. In the non-UTF-8 path, implementation complexity is kept relatively
low. The cost here is transcoding itself. A potentially superior
implementation might build decoding of any encoding into the regex
engine itself. In particular, the fundamental problem with
transcoding everything first is that literal optimizations are nearly
negated.
Future work should entail improving the user experience. For example, we
might want to auto-detect more text encodings. A more elaborate UX
experience might permit end users to specify multiple text encodings,
although this seems hard to pull off in an ergonomic way.
Fixes #1
2017-03-09 03:22:48 +02:00
|
|
|
[[package]]
|
|
|
|
name = "encoding_rs"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "0.8.28"
|
Add support for additional text encodings.
This includes, but is not limited to, UTF-16, latin-1, GBK, EUC-JP and
Shift_JIS. (Courtesy of the `encoding_rs` crate.)
Specifically, this feature enables ripgrep to search files that are
encoded in an encoding other than UTF-8. The list of available encodings
is tied directly to what the `encoding_rs` crate supports, which is in
turn tied to the Encoding Standard. The full list of available encodings
can be found here: https://encoding.spec.whatwg.org/#concept-encoding-get
This pull request also introduces the notion that text encodings can be
automatically detected on a best effort basis. Currently, the only
support for this is checking for a UTF-16 bom. In all other cases, a
text encoding of `auto` (the default) implies a UTF-8 or ASCII
compatible source encoding. When a text encoding is otherwise specified,
it is unconditionally used for all files searched.
Since ripgrep's regex engine is fundamentally built on top of UTF-8,
this feature works by transcoding the files to be searched from their
source encoding to UTF-8. This transcoding only happens when:
1. `auto` is specified and a non-UTF-8 encoding is detected.
2. A specific encoding is given by end users (including UTF-8).
When transcoding occurs, errors are handled by automatically inserting
the Unicode replacement character. In this case, ripgrep's output is
guaranteed to be valid UTF-8 (excluding non-UTF-8 file paths, if they
are printed).
In all other cases, the source text is searched directly, which implies
an assumption that it is at least ASCII compatible, but where UTF-8 is
most useful. In this scenario, encoding errors are not detected. In this
case, ripgrep's output will match the input exactly, byte-for-byte.
This design may not be optimal in all cases, but it has some advantages:
1. In the happy path ("UTF-8 everywhere") remains happy. I have not been
able to witness any performance regressions.
2. In the non-UTF-8 path, implementation complexity is kept relatively
low. The cost here is transcoding itself. A potentially superior
implementation might build decoding of any encoding into the regex
engine itself. In particular, the fundamental problem with
transcoding everything first is that literal optimizations are nearly
negated.
Future work should entail improving the user experience. For example, we
might want to auto-detect more text encodings. A more elaborate UX
experience might permit end users to specify multiple text encodings,
although this seems hard to pull off in an ergonomic way.
Fixes #1
2017-03-09 03:22:48 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "80df024fbc5ac80f87dfef0d9f5209a252f2a497f7f42944cff24d8253cac065"
|
Add support for additional text encodings.
This includes, but is not limited to, UTF-16, latin-1, GBK, EUC-JP and
Shift_JIS. (Courtesy of the `encoding_rs` crate.)
Specifically, this feature enables ripgrep to search files that are
encoded in an encoding other than UTF-8. The list of available encodings
is tied directly to what the `encoding_rs` crate supports, which is in
turn tied to the Encoding Standard. The full list of available encodings
can be found here: https://encoding.spec.whatwg.org/#concept-encoding-get
This pull request also introduces the notion that text encodings can be
automatically detected on a best effort basis. Currently, the only
support for this is checking for a UTF-16 bom. In all other cases, a
text encoding of `auto` (the default) implies a UTF-8 or ASCII
compatible source encoding. When a text encoding is otherwise specified,
it is unconditionally used for all files searched.
Since ripgrep's regex engine is fundamentally built on top of UTF-8,
this feature works by transcoding the files to be searched from their
source encoding to UTF-8. This transcoding only happens when:
1. `auto` is specified and a non-UTF-8 encoding is detected.
2. A specific encoding is given by end users (including UTF-8).
When transcoding occurs, errors are handled by automatically inserting
the Unicode replacement character. In this case, ripgrep's output is
guaranteed to be valid UTF-8 (excluding non-UTF-8 file paths, if they
are printed).
In all other cases, the source text is searched directly, which implies
an assumption that it is at least ASCII compatible, but where UTF-8 is
most useful. In this scenario, encoding errors are not detected. In this
case, ripgrep's output will match the input exactly, byte-for-byte.
This design may not be optimal in all cases, but it has some advantages:
1. In the happy path ("UTF-8 everywhere") remains happy. I have not been
able to witness any performance regressions.
2. In the non-UTF-8 path, implementation complexity is kept relatively
low. The cost here is transcoding itself. A potentially superior
implementation might build decoding of any encoding into the regex
engine itself. In particular, the fundamental problem with
transcoding everything first is that literal optimizations are nearly
negated.
Future work should entail improving the user experience. For example, we
might want to auto-detect more text encodings. A more elaborate UX
experience might permit end users to specify multiple text encodings,
although this seems hard to pull off in an ergonomic way.
Fixes #1
2017-03-09 03:22:48 +02:00
|
|
|
dependencies = [
|
2020-11-02 16:04:39 +02:00
|
|
|
"cfg-if 1.0.0",
|
|
|
|
"packed_simd_2",
|
Add support for additional text encodings.
This includes, but is not limited to, UTF-16, latin-1, GBK, EUC-JP and
Shift_JIS. (Courtesy of the `encoding_rs` crate.)
Specifically, this feature enables ripgrep to search files that are
encoded in an encoding other than UTF-8. The list of available encodings
is tied directly to what the `encoding_rs` crate supports, which is in
turn tied to the Encoding Standard. The full list of available encodings
can be found here: https://encoding.spec.whatwg.org/#concept-encoding-get
This pull request also introduces the notion that text encodings can be
automatically detected on a best effort basis. Currently, the only
support for this is checking for a UTF-16 bom. In all other cases, a
text encoding of `auto` (the default) implies a UTF-8 or ASCII
compatible source encoding. When a text encoding is otherwise specified,
it is unconditionally used for all files searched.
Since ripgrep's regex engine is fundamentally built on top of UTF-8,
this feature works by transcoding the files to be searched from their
source encoding to UTF-8. This transcoding only happens when:
1. `auto` is specified and a non-UTF-8 encoding is detected.
2. A specific encoding is given by end users (including UTF-8).
When transcoding occurs, errors are handled by automatically inserting
the Unicode replacement character. In this case, ripgrep's output is
guaranteed to be valid UTF-8 (excluding non-UTF-8 file paths, if they
are printed).
In all other cases, the source text is searched directly, which implies
an assumption that it is at least ASCII compatible, but where UTF-8 is
most useful. In this scenario, encoding errors are not detected. In this
case, ripgrep's output will match the input exactly, byte-for-byte.
This design may not be optimal in all cases, but it has some advantages:
1. In the happy path ("UTF-8 everywhere") remains happy. I have not been
able to witness any performance regressions.
2. In the non-UTF-8 path, implementation complexity is kept relatively
low. The cost here is transcoding itself. A potentially superior
implementation might build decoding of any encoding into the regex
engine itself. In particular, the fundamental problem with
transcoding everything first is that literal optimizations are nearly
negated.
Future work should entail improving the user experience. For example, we
might want to auto-detect more text encodings. A more elaborate UX
experience might permit end users to specify multiple text encodings,
although this seems hard to pull off in an ergonomic way.
Fixes #1
2017-03-09 03:22:48 +02:00
|
|
|
]
|
|
|
|
|
2018-07-22 02:36:32 +02:00
|
|
|
[[package]]
|
|
|
|
name = "encoding_rs_io"
|
2020-03-15 14:32:33 +02:00
|
|
|
version = "0.1.7"
|
2018-07-22 02:36:32 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "1cc3c5651fb62ab8aa3103998dade57efdd028544bd300516baa31840c252a83"
|
2018-07-22 02:36:32 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"encoding_rs",
|
2018-07-22 02:36:32 +02:00
|
|
|
]
|
|
|
|
|
2016-09-16 04:06:04 +02:00
|
|
|
[[package]]
|
|
|
|
name = "fnv"
|
2020-05-29 15:11:50 +02:00
|
|
|
version = "1.0.7"
|
2016-09-16 04:06:04 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
2016-09-16 04:06:04 +02:00
|
|
|
|
2019-04-24 23:21:38 +02:00
|
|
|
[[package]]
|
|
|
|
name = "fs_extra"
|
2020-11-02 17:06:13 +02:00
|
|
|
version = "1.2.0"
|
2019-04-24 23:21:38 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 17:06:13 +02:00
|
|
|
checksum = "2022715d62ab30faffd124d40b76f4134a550a87792276512b18d63272333394"
|
2019-04-24 23:21:38 +02:00
|
|
|
|
2017-12-30 22:46:55 +02:00
|
|
|
[[package]]
|
|
|
|
name = "glob"
|
2019-04-14 22:57:08 +02:00
|
|
|
version = "0.3.0"
|
2017-12-30 22:46:55 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "9b919933a397b79c37e33b77bb2aa3dc8eb6e165ad809e58ff75bc7db2e34574"
|
2017-12-30 22:46:55 +02:00
|
|
|
|
2016-10-01 01:42:41 +02:00
|
|
|
[[package]]
|
|
|
|
name = "globset"
|
2021-06-12 13:56:56 +02:00
|
|
|
version = "0.4.7"
|
2016-10-01 01:42:41 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"aho-corasick",
|
|
|
|
"bstr",
|
|
|
|
"fnv",
|
|
|
|
"glob",
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2016-10-01 01:42:41 +02:00
|
|
|
]
|
|
|
|
|
2016-09-12 01:06:05 +02:00
|
|
|
[[package]]
|
|
|
|
name = "grep"
|
2020-05-29 15:17:24 +02:00
|
|
|
version = "0.2.7"
|
2016-09-12 01:06:05 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"grep-cli",
|
|
|
|
"grep-matcher",
|
|
|
|
"grep-pcre2",
|
|
|
|
"grep-printer",
|
|
|
|
"grep-regex",
|
|
|
|
"grep-searcher",
|
|
|
|
"termcolor",
|
|
|
|
"walkdir",
|
2016-10-12 01:57:09 +02:00
|
|
|
]
|
|
|
|
|
2018-08-30 02:53:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "grep-cli"
|
2020-05-29 15:14:18 +02:00
|
|
|
version = "0.1.5"
|
2018-08-30 02:53:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"atty",
|
|
|
|
"bstr",
|
|
|
|
"globset",
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"same-file",
|
|
|
|
"termcolor",
|
|
|
|
"winapi-util",
|
2018-08-30 02:53:52 +02:00
|
|
|
]
|
|
|
|
|
2018-04-29 15:29:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "grep-matcher"
|
2020-03-16 03:38:59 +02:00
|
|
|
version = "0.1.4"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"memchr",
|
|
|
|
"regex",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "grep-pcre2"
|
2020-03-16 03:38:59 +02:00
|
|
|
version = "0.1.4"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"grep-matcher",
|
|
|
|
"pcre2",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "grep-printer"
|
2020-05-09 16:33:02 +02:00
|
|
|
version = "0.1.5"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"base64",
|
|
|
|
"bstr",
|
|
|
|
"grep-matcher",
|
|
|
|
"grep-regex",
|
|
|
|
"grep-searcher",
|
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"termcolor",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "grep-regex"
|
2020-05-09 16:31:29 +02:00
|
|
|
version = "0.1.8"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"aho-corasick",
|
|
|
|
"bstr",
|
|
|
|
"grep-matcher",
|
|
|
|
"log",
|
|
|
|
"regex",
|
|
|
|
"regex-syntax",
|
|
|
|
"thread_local",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "grep-searcher"
|
2020-03-16 03:38:59 +02:00
|
|
|
version = "0.1.7"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"bstr",
|
|
|
|
"bytecount",
|
|
|
|
"encoding_rs",
|
|
|
|
"encoding_rs_io",
|
|
|
|
"grep-matcher",
|
|
|
|
"grep-regex",
|
|
|
|
"log",
|
2021-01-18 01:49:51 +02:00
|
|
|
"memmap2",
|
2020-08-20 00:55:16 +02:00
|
|
|
"regex",
|
2020-01-10 03:38:00 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "hermit-abi"
|
2021-01-18 01:55:03 +02:00
|
|
|
version = "0.1.18"
|
2020-01-10 03:38:00 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-18 01:55:03 +02:00
|
|
|
checksum = "322f4de77956e22ed0e5032c359a0f1273f1f7f0d79bfa3b8ffbc730d7fbcc5c"
|
2020-01-10 03:38:00 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"libc",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
2016-10-12 01:57:09 +02:00
|
|
|
[[package]]
|
|
|
|
name = "ignore"
|
2021-06-12 13:59:07 +02:00
|
|
|
version = "0.4.18"
|
2016-10-12 01:57:09 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"crossbeam-channel",
|
|
|
|
"crossbeam-utils",
|
|
|
|
"globset",
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"memchr",
|
|
|
|
"regex",
|
|
|
|
"same-file",
|
|
|
|
"thread_local",
|
|
|
|
"walkdir",
|
|
|
|
"winapi-util",
|
2016-09-12 01:06:05 +02:00
|
|
|
]
|
|
|
|
|
2018-04-29 15:29:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2021-01-18 01:55:03 +02:00
|
|
|
version = "0.4.7"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-18 01:55:03 +02:00
|
|
|
checksum = "dd25036021b0de88a0aff6b850051563c6516d0bf53f8638938edbb9de732736"
|
2018-04-29 15:29:52 +02:00
|
|
|
|
2019-04-24 23:21:38 +02:00
|
|
|
[[package]]
|
|
|
|
name = "jemalloc-sys"
|
2019-06-17 00:38:45 +02:00
|
|
|
version = "0.3.2"
|
2019-04-24 23:21:38 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "0d3b9f3f5c9b31aa0f5ed3260385ac205db665baa41d49bb8338008ae94ede45"
|
2019-04-24 23:21:38 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"cc",
|
|
|
|
"fs_extra",
|
|
|
|
"libc",
|
2019-04-24 23:21:38 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jemallocator"
|
2019-06-17 00:38:45 +02:00
|
|
|
version = "0.3.2"
|
2019-04-24 23:21:38 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "43ae63fcfc45e99ab3d1b29a46782ad679e98436c3169d15a167a1108a724b69"
|
2019-04-24 23:21:38 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"jemalloc-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jobserver"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "0.1.22"
|
2020-08-20 00:55:16 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "972f5ae5d1cb9c6ae417789196c803205313edde988685da5e3aae0827b9e7fd"
|
2020-08-20 00:55:16 +02:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2019-04-24 23:21:38 +02:00
|
|
|
]
|
|
|
|
|
2017-12-30 22:48:25 +02:00
|
|
|
[[package]]
|
|
|
|
name = "lazy_static"
|
2019-08-29 02:18:47 +02:00
|
|
|
version = "1.4.0"
|
2016-09-12 01:06:05 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
2016-09-12 01:06:05 +02:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2021-06-12 13:52:04 +02:00
|
|
|
version = "0.2.97"
|
2016-09-12 01:06:05 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-12 13:52:04 +02:00
|
|
|
checksum = "12b8adadd720df158f4d70dfe7ccc6adb0472d7c55ca83445f6a5ab3e36f8fb6"
|
2016-09-12 01:06:05 +02:00
|
|
|
|
|
|
|
[[package]]
|
2020-11-02 16:04:39 +02:00
|
|
|
name = "libm"
|
|
|
|
version = "0.1.4"
|
2017-10-22 00:45:39 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 16:04:39 +02:00
|
|
|
checksum = "7fc7aa29613bd6a620df431842069224d8bc9011086b1db4c0e0cd47fa03ec9a"
|
2017-10-22 00:45:39 +02:00
|
|
|
|
2020-03-15 14:32:33 +02:00
|
|
|
[[package]]
|
2020-11-02 16:04:39 +02:00
|
|
|
name = "log"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "0.4.14"
|
2020-03-15 14:32:33 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "51b9bbe6c47d51fc3e1a9b945965946b4c44142ab8792c50835a980d362c2710"
|
2020-11-02 16:04:39 +02:00
|
|
|
dependencies = [
|
2021-05-01 02:17:23 +02:00
|
|
|
"cfg-if 1.0.0",
|
2020-11-02 16:04:39 +02:00
|
|
|
]
|
2020-03-15 14:32:33 +02:00
|
|
|
|
2017-10-22 00:45:39 +02:00
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "2.4.0"
|
2016-12-30 22:43:29 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "b16bd47d9e329435e309c58469fe0791c2d0d1ba96ec0954152a5ae2b04387dc"
|
2016-12-30 22:43:29 +02:00
|
|
|
|
2016-09-12 01:06:05 +02:00
|
|
|
[[package]]
|
2021-01-18 01:49:51 +02:00
|
|
|
name = "memmap2"
|
2021-06-12 13:53:42 +02:00
|
|
|
version = "0.3.0"
|
2017-11-13 20:55:41 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-12 13:53:42 +02:00
|
|
|
checksum = "20ff203f7bdc401350b1dbaa0355135777d25f41c0bbc601851bbd6cf61e8ff5"
|
2016-09-12 01:06:05 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"libc",
|
2016-09-12 01:06:05 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "num_cpus"
|
2020-04-18 17:33:27 +02:00
|
|
|
version = "1.13.0"
|
2017-10-22 01:42:34 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "05499f3756671c15885fee9034446956fff3f243d6077b91e5767df161f766b3"
|
2017-10-22 01:42:34 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"hermit-abi",
|
|
|
|
"libc",
|
2018-02-11 20:31:41 +02:00
|
|
|
]
|
|
|
|
|
2021-01-25 17:36:53 +02:00
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "1.7.2"
|
2021-01-25 17:36:53 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "af8b08b04175473088b46763e51ee54da5f9a164bc162f615b91bc179dbf15a3"
|
2021-01-25 17:36:53 +02:00
|
|
|
|
2019-02-08 00:05:14 +02:00
|
|
|
[[package]]
|
2020-11-02 16:04:39 +02:00
|
|
|
name = "packed_simd_2"
|
2021-06-02 02:46:26 +02:00
|
|
|
version = "0.3.5"
|
2019-02-08 00:05:14 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 02:46:26 +02:00
|
|
|
checksum = "0e64858a2d3733fdd61adfdd6da89aa202f7ff0e741d2fc7ed1e452ba9dc99d7"
|
2019-02-08 00:05:14 +02:00
|
|
|
dependencies = [
|
2020-11-02 16:04:39 +02:00
|
|
|
"cfg-if 0.1.10",
|
|
|
|
"libm",
|
2019-02-08 00:05:14 +02:00
|
|
|
]
|
|
|
|
|
2018-04-29 15:29:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "pcre2"
|
2020-01-10 03:58:28 +02:00
|
|
|
version = "0.2.3"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "85b30f2f69903b439dd9dc9e824119b82a55bf113b29af8d70948a03c1b11ab1"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"pcre2-sys",
|
|
|
|
"thread_local",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pcre2-sys"
|
2020-08-27 15:37:53 +02:00
|
|
|
version = "0.2.5"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-27 15:37:53 +02:00
|
|
|
checksum = "dec30e5e9ec37eb8fbf1dea5989bc957fd3df56fbee5061aa7b7a99dbb37b722"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"cc",
|
|
|
|
"libc",
|
|
|
|
"pkg-config",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pkg-config"
|
2020-11-02 17:06:13 +02:00
|
|
|
version = "0.3.19"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 17:06:13 +02:00
|
|
|
checksum = "3831453b3449ceb48b6d9c7ad7c96d5ea673e9b470a1dc578c2ce6521230884c"
|
2018-04-29 15:29:52 +02:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2021-06-02 02:46:26 +02:00
|
|
|
version = "1.0.27"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 02:46:26 +02:00
|
|
|
checksum = "f0d8caf72986c1a598726adc988bb5984792ef84f5ee5aa50209145ee8077038"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"unicode-xid",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "1.0.9"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "c3d0b9745dc2debf507c8422de05d7226cc1f0644216dfdfead988f9b1ab32a7"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"proc-macro2",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
2016-09-12 01:06:05 +02:00
|
|
|
[[package]]
|
|
|
|
name = "regex"
|
2021-06-02 02:46:26 +02:00
|
|
|
version = "1.5.4"
|
2016-09-12 01:06:05 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 02:46:26 +02:00
|
|
|
checksum = "d07a8629359eb56f1e2fb1652bb04212c072a87ba68546a04065d525673ac461"
|
2016-09-12 01:06:05 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"aho-corasick",
|
|
|
|
"memchr",
|
|
|
|
"regex-syntax",
|
2016-09-12 01:06:05 +02:00
|
|
|
]
|
|
|
|
|
2019-04-06 04:28:43 +02:00
|
|
|
[[package]]
|
|
|
|
name = "regex-automata"
|
2021-06-02 02:46:26 +02:00
|
|
|
version = "0.1.10"
|
2019-04-06 04:28:43 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 02:46:26 +02:00
|
|
|
checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
|
2019-04-06 04:28:43 +02:00
|
|
|
|
2016-09-12 01:06:05 +02:00
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2021-06-02 02:46:26 +02:00
|
|
|
version = "0.6.25"
|
2018-03-10 21:02:06 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 02:46:26 +02:00
|
|
|
checksum = "f497285884f3fcff424ffc933e56d7cbca511def0c9831a7f9b5f6153e3cc89b"
|
2018-03-10 21:02:06 +02:00
|
|
|
|
2017-10-29 00:32:43 +02:00
|
|
|
[[package]]
|
|
|
|
name = "ripgrep"
|
2020-05-29 15:26:47 +02:00
|
|
|
version = "12.1.1"
|
2017-10-29 00:32:43 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"bstr",
|
|
|
|
"clap",
|
|
|
|
"grep",
|
|
|
|
"ignore",
|
|
|
|
"jemallocator",
|
|
|
|
"lazy_static",
|
|
|
|
"log",
|
|
|
|
"num_cpus",
|
|
|
|
"regex",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"termcolor",
|
|
|
|
"walkdir",
|
2017-10-29 00:32:43 +02:00
|
|
|
]
|
|
|
|
|
2018-08-20 13:39:43 +02:00
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2020-11-02 17:06:13 +02:00
|
|
|
version = "1.0.5"
|
2018-08-20 13:39:43 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 17:06:13 +02:00
|
|
|
checksum = "71d301d4193d031abdd79ff7e3dd721168a9572ef3fe51a1517aba235bd8f86e"
|
2018-08-20 13:39:43 +02:00
|
|
|
|
Don't search stdout redirected file.
When running ripgrep like this:
rg foo > output
we must be careful not to search `output` since ripgrep is actively writing
to it. Searching it can cause massive blowups where the file grows without
bound.
While this is conceptually easy to fix (check the inode of the redirection
and the inode of the file you're about to search), there are a few problems
with it.
First, inodes are a Unix thing, so we need a Windows specific solution to
this as well. To resolve this concern, I created a new crate, `same-file`,
which provides a cross platform abstraction.
Second, stat'ing every file is costly. This is not avoidable on Windows,
but on Unix, we can get the inode number directly from directory traversal.
However, this information wasn't exposed, but now it is (through both the
ignore and walkdir crates).
Fixes #286
2017-01-08 17:27:30 +02:00
|
|
|
[[package]]
|
|
|
|
name = "same-file"
|
2020-01-17 02:47:23 +02:00
|
|
|
version = "1.0.6"
|
Don't search stdout redirected file.
When running ripgrep like this:
rg foo > output
we must be careful not to search `output` since ripgrep is actively writing
to it. Searching it can cause massive blowups where the file grows without
bound.
While this is conceptually easy to fix (check the inode of the redirection
and the inode of the file you're about to search), there are a few problems
with it.
First, inodes are a Unix thing, so we need a Windows specific solution to
this as well. To resolve this concern, I created a new crate, `same-file`,
which provides a cross platform abstraction.
Second, stat'ing every file is costly. This is not avoidable on Windows,
but on Unix, we can get the inode number directly from directory traversal.
However, this information wasn't exposed, but now it is (through both the
ignore and walkdir crates).
Fixes #286
2017-01-08 17:27:30 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
Don't search stdout redirected file.
When running ripgrep like this:
rg foo > output
we must be careful not to search `output` since ripgrep is actively writing
to it. Searching it can cause massive blowups where the file grows without
bound.
While this is conceptually easy to fix (check the inode of the redirection
and the inode of the file you're about to search), there are a few problems
with it.
First, inodes are a Unix thing, so we need a Windows specific solution to
this as well. To resolve this concern, I created a new crate, `same-file`,
which provides a cross platform abstraction.
Second, stat'ing every file is costly. This is not avoidable on Windows,
but on Unix, we can get the inode number directly from directory traversal.
However, this information wasn't exposed, but now it is (through both the
ignore and walkdir crates).
Fixes #286
2017-01-08 17:27:30 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"winapi-util",
|
Don't search stdout redirected file.
When running ripgrep like this:
rg foo > output
we must be careful not to search `output` since ripgrep is actively writing
to it. Searching it can cause massive blowups where the file grows without
bound.
While this is conceptually easy to fix (check the inode of the redirection
and the inode of the file you're about to search), there are a few problems
with it.
First, inodes are a Unix thing, so we need a Windows specific solution to
this as well. To resolve this concern, I created a new crate, `same-file`,
which provides a cross platform abstraction.
Second, stat'ing every file is costly. This is not avoidable on Windows,
but on Unix, we can get the inode number directly from directory traversal.
However, this information wasn't exposed, but now it is (through both the
ignore and walkdir crates).
Fixes #286
2017-01-08 17:27:30 +02:00
|
|
|
]
|
|
|
|
|
2018-04-29 15:29:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "serde"
|
2021-06-02 02:46:26 +02:00
|
|
|
version = "1.0.126"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 02:46:26 +02:00
|
|
|
checksum = "ec7505abeacaec74ae4778d9d9328fe5a5d04253220a85c4ee022239fc996d03"
|
2021-06-02 02:45:45 +02:00
|
|
|
dependencies = [
|
|
|
|
"serde_derive",
|
|
|
|
]
|
2018-04-29 15:29:52 +02:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2021-06-02 02:46:26 +02:00
|
|
|
version = "1.0.126"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-02 02:46:26 +02:00
|
|
|
checksum = "963a7dbc9895aeac7ac90e74f34a5d5261828f79df35cbed41e10189d3804d43"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"syn",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_json"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "1.0.64"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "799e97dc9fdae36a5c8b8f2cae9ce2ee9fdce2058c57a93e6099d919fd982f79"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"itoa",
|
|
|
|
"ryu",
|
|
|
|
"serde",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
2017-08-20 08:35:02 +02:00
|
|
|
[[package]]
|
2017-12-30 22:46:55 +02:00
|
|
|
name = "strsim"
|
2019-04-06 15:37:33 +02:00
|
|
|
version = "0.8.0"
|
2017-08-20 08:35:02 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "8ea5119cdb4c55b55d432abb513a0429384878c15dde60cc77b1c99de1a95a6a"
|
2017-08-20 08:35:02 +02:00
|
|
|
|
2018-04-29 15:29:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2021-06-12 13:52:04 +02:00
|
|
|
version = "1.0.73"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-06-12 13:52:04 +02:00
|
|
|
checksum = "f71489ff30030d2ae598524f61326b902466f72a0fb1a8564c001cc63425bcc7"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
|
|
|
"unicode-xid",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
Switch from Docopt to Clap.
There were two important reasons for the switch:
1. Performance. Docopt does poorly when the argv becomes large, which is
a reasonable common use case for search tools. (e.g., use with xargs)
2. Better failure modes. Clap knows a lot more about how a particular
argv might be invalid, and can therefore provide much clearer error
messages.
While both were important, (1) made it urgent.
Note that since Clap requires at least Rust 1.11, this will in turn
increase the minimum Rust version supported by ripgrep from Rust 1.9 to
Rust 1.11. It is therefore a breaking change, so the soonest release of
ripgrep with Clap will have to be 0.3.
There is also at least one subtle breaking change in real usage.
Previous to this commit, this used to work:
rg -e -foo
Where this would cause ripgrep to search for the string `-foo`. Clap
currently has problems supporting this use case
(see: https://github.com/kbknapp/clap-rs/issues/742),
but it can be worked around by using this instead:
rg -e [-]foo
or even
rg [-]foo
and this still works:
rg -- -foo
This commit also adds Bash, Fish and PowerShell completion files to the
release, fixes a bug that prevented ripgrep from working on file
paths containing invalid UTF-8 and shows short descriptions in the
output of `-h` but longer descriptions in the output of `--help`.
Fixes #136, Fixes #189, Fixes #210, Fixes #230
2016-11-13 04:48:11 +02:00
|
|
|
[[package]]
|
Completely re-work colored output and tty handling.
This commit completely guts all of the color handling code and replaces
most of it with two new crates: wincolor and termcolor. wincolor
provides a simple API to coloring using the Windows console and
termcolor provides a platform independent coloring API tuned for
multithreaded command line programs. This required a lot more
flexibility than what the `term` crate provided, so it was dropped.
We instead switch to writing ANSI escape sequences directly and ignore
the TERMINFO database.
In addition to fixing several bugs, this commit also permits end users
to customize colors to a certain extent. For example, this command will
set the match color to magenta and the line number background to yellow:
rg --colors 'match:fg:magenta' --colors 'line:bg:yellow' foo
For tty handling, we've adopted a hack from `git` to do tty detection in
MSYS/mintty terminals. As a result, ripgrep should get both color
detection and piping correct on Windows regardless of which terminal you
use.
Finally, switch to line buffering. Performance doesn't seem to be
impacted and it's an otherwise more user friendly option.
Fixes #37, Fixes #51, Fixes #94, Fixes #117, Fixes #182, Fixes #231
2016-11-20 18:14:52 +02:00
|
|
|
name = "termcolor"
|
2021-01-18 01:55:03 +02:00
|
|
|
version = "1.1.2"
|
2018-07-18 00:37:02 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-01-18 01:55:03 +02:00
|
|
|
checksum = "2dfed899f0eb03f32ee8c6a0aabdb8a7949659e3466561fc0adf54e26d88c5f4"
|
Switch from Docopt to Clap.
There were two important reasons for the switch:
1. Performance. Docopt does poorly when the argv becomes large, which is
a reasonable common use case for search tools. (e.g., use with xargs)
2. Better failure modes. Clap knows a lot more about how a particular
argv might be invalid, and can therefore provide much clearer error
messages.
While both were important, (1) made it urgent.
Note that since Clap requires at least Rust 1.11, this will in turn
increase the minimum Rust version supported by ripgrep from Rust 1.9 to
Rust 1.11. It is therefore a breaking change, so the soonest release of
ripgrep with Clap will have to be 0.3.
There is also at least one subtle breaking change in real usage.
Previous to this commit, this used to work:
rg -e -foo
Where this would cause ripgrep to search for the string `-foo`. Clap
currently has problems supporting this use case
(see: https://github.com/kbknapp/clap-rs/issues/742),
but it can be worked around by using this instead:
rg -e [-]foo
or even
rg [-]foo
and this still works:
rg -- -foo
This commit also adds Bash, Fish and PowerShell completion files to the
release, fixes a bug that prevented ripgrep from working on file
paths containing invalid UTF-8 and shows short descriptions in the
output of `-h` but longer descriptions in the output of `--help`.
Fixes #136, Fixes #189, Fixes #210, Fixes #230
2016-11-13 04:48:11 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"winapi-util",
|
Switch from Docopt to Clap.
There were two important reasons for the switch:
1. Performance. Docopt does poorly when the argv becomes large, which is
a reasonable common use case for search tools. (e.g., use with xargs)
2. Better failure modes. Clap knows a lot more about how a particular
argv might be invalid, and can therefore provide much clearer error
messages.
While both were important, (1) made it urgent.
Note that since Clap requires at least Rust 1.11, this will in turn
increase the minimum Rust version supported by ripgrep from Rust 1.9 to
Rust 1.11. It is therefore a breaking change, so the soonest release of
ripgrep with Clap will have to be 0.3.
There is also at least one subtle breaking change in real usage.
Previous to this commit, this used to work:
rg -e -foo
Where this would cause ripgrep to search for the string `-foo`. Clap
currently has problems supporting this use case
(see: https://github.com/kbknapp/clap-rs/issues/742),
but it can be worked around by using this instead:
rg -e [-]foo
or even
rg [-]foo
and this still works:
rg -- -foo
This commit also adds Bash, Fish and PowerShell completion files to the
release, fixes a bug that prevented ripgrep from working on file
paths containing invalid UTF-8 and shows short descriptions in the
output of `-h` but longer descriptions in the output of `--help`.
Fixes #136, Fixes #189, Fixes #210, Fixes #230
2016-11-13 04:48:11 +02:00
|
|
|
]
|
|
|
|
|
2017-07-31 00:04:49 +02:00
|
|
|
[[package]]
|
|
|
|
name = "textwrap"
|
2019-04-06 15:37:33 +02:00
|
|
|
version = "0.11.0"
|
2017-07-31 00:04:49 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "d326610f408c7a4eb6f51c37c330e496b08506c9457c9d34287ecc38809fb060"
|
2017-07-31 00:04:49 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"unicode-width",
|
2017-07-31 00:04:49 +02:00
|
|
|
]
|
|
|
|
|
2016-10-30 04:27:29 +02:00
|
|
|
[[package]]
|
|
|
|
name = "thread_local"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "1.1.3"
|
2016-10-30 04:27:29 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "8018d24e04c95ac8790716a5987d0fec4f8b27249ffa0f7d33f1369bdfb88cbd"
|
2016-10-30 04:27:29 +02:00
|
|
|
dependencies = [
|
2021-01-25 17:36:53 +02:00
|
|
|
"once_cell",
|
2016-10-30 04:27:29 +02:00
|
|
|
]
|
|
|
|
|
Switch from Docopt to Clap.
There were two important reasons for the switch:
1. Performance. Docopt does poorly when the argv becomes large, which is
a reasonable common use case for search tools. (e.g., use with xargs)
2. Better failure modes. Clap knows a lot more about how a particular
argv might be invalid, and can therefore provide much clearer error
messages.
While both were important, (1) made it urgent.
Note that since Clap requires at least Rust 1.11, this will in turn
increase the minimum Rust version supported by ripgrep from Rust 1.9 to
Rust 1.11. It is therefore a breaking change, so the soonest release of
ripgrep with Clap will have to be 0.3.
There is also at least one subtle breaking change in real usage.
Previous to this commit, this used to work:
rg -e -foo
Where this would cause ripgrep to search for the string `-foo`. Clap
currently has problems supporting this use case
(see: https://github.com/kbknapp/clap-rs/issues/742),
but it can be worked around by using this instead:
rg -e [-]foo
or even
rg [-]foo
and this still works:
rg -- -foo
This commit also adds Bash, Fish and PowerShell completion files to the
release, fixes a bug that prevented ripgrep from working on file
paths containing invalid UTF-8 and shows short descriptions in the
output of `-h` but longer descriptions in the output of `--help`.
Fixes #136, Fixes #189, Fixes #210, Fixes #230
2016-11-13 04:48:11 +02:00
|
|
|
[[package]]
|
|
|
|
name = "unicode-width"
|
2020-11-02 17:06:13 +02:00
|
|
|
version = "0.1.8"
|
Switch from Docopt to Clap.
There were two important reasons for the switch:
1. Performance. Docopt does poorly when the argv becomes large, which is
a reasonable common use case for search tools. (e.g., use with xargs)
2. Better failure modes. Clap knows a lot more about how a particular
argv might be invalid, and can therefore provide much clearer error
messages.
While both were important, (1) made it urgent.
Note that since Clap requires at least Rust 1.11, this will in turn
increase the minimum Rust version supported by ripgrep from Rust 1.9 to
Rust 1.11. It is therefore a breaking change, so the soonest release of
ripgrep with Clap will have to be 0.3.
There is also at least one subtle breaking change in real usage.
Previous to this commit, this used to work:
rg -e -foo
Where this would cause ripgrep to search for the string `-foo`. Clap
currently has problems supporting this use case
(see: https://github.com/kbknapp/clap-rs/issues/742),
but it can be worked around by using this instead:
rg -e [-]foo
or even
rg [-]foo
and this still works:
rg -- -foo
This commit also adds Bash, Fish and PowerShell completion files to the
release, fixes a bug that prevented ripgrep from working on file
paths containing invalid UTF-8 and shows short descriptions in the
output of `-h` but longer descriptions in the output of `--help`.
Fixes #136, Fixes #189, Fixes #210, Fixes #230
2016-11-13 04:48:11 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 17:06:13 +02:00
|
|
|
checksum = "9337591893a19b88d8d87f2cec1e73fad5cdfd10e5a6f349f498ad6ea2ffb1e3"
|
Switch from Docopt to Clap.
There were two important reasons for the switch:
1. Performance. Docopt does poorly when the argv becomes large, which is
a reasonable common use case for search tools. (e.g., use with xargs)
2. Better failure modes. Clap knows a lot more about how a particular
argv might be invalid, and can therefore provide much clearer error
messages.
While both were important, (1) made it urgent.
Note that since Clap requires at least Rust 1.11, this will in turn
increase the minimum Rust version supported by ripgrep from Rust 1.9 to
Rust 1.11. It is therefore a breaking change, so the soonest release of
ripgrep with Clap will have to be 0.3.
There is also at least one subtle breaking change in real usage.
Previous to this commit, this used to work:
rg -e -foo
Where this would cause ripgrep to search for the string `-foo`. Clap
currently has problems supporting this use case
(see: https://github.com/kbknapp/clap-rs/issues/742),
but it can be worked around by using this instead:
rg -e [-]foo
or even
rg [-]foo
and this still works:
rg -- -foo
This commit also adds Bash, Fish and PowerShell completion files to the
release, fixes a bug that prevented ripgrep from working on file
paths containing invalid UTF-8 and shows short descriptions in the
output of `-h` but longer descriptions in the output of `--help`.
Fixes #136, Fixes #189, Fixes #210, Fixes #230
2016-11-13 04:48:11 +02:00
|
|
|
|
2016-10-30 04:27:29 +02:00
|
|
|
[[package]]
|
2018-04-29 15:29:52 +02:00
|
|
|
name = "unicode-xid"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "0.2.2"
|
2016-10-30 04:27:29 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "8ccb82d61f80a663efe1f787a51b16b5a51e3314d6ac365b08639f52387b33f3"
|
2016-10-30 04:27:29 +02:00
|
|
|
|
2016-09-12 01:06:05 +02:00
|
|
|
[[package]]
|
|
|
|
name = "walkdir"
|
2021-05-01 02:17:23 +02:00
|
|
|
version = "2.3.2"
|
2016-09-12 01:06:05 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2021-05-01 02:17:23 +02:00
|
|
|
checksum = "808cf2735cd4b6866113f648b791c6adc5714537bc222d9347bb203386ffda56"
|
2016-09-12 01:06:05 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"same-file",
|
|
|
|
"winapi",
|
|
|
|
"winapi-util",
|
2016-09-12 01:06:05 +02:00
|
|
|
]
|
|
|
|
|
2017-12-30 22:48:25 +02:00
|
|
|
[[package]]
|
|
|
|
name = "winapi"
|
2020-11-02 17:06:13 +02:00
|
|
|
version = "0.3.9"
|
2017-12-30 22:48:25 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-11-02 17:06:13 +02:00
|
|
|
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
2017-12-30 22:48:25 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"winapi-i686-pc-windows-gnu",
|
|
|
|
"winapi-x86_64-pc-windows-gnu",
|
2017-12-30 22:48:25 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "winapi-i686-pc-windows-gnu"
|
2018-02-11 20:31:41 +02:00
|
|
|
version = "0.4.0"
|
2017-12-30 22:48:25 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
2017-12-30 22:48:25 +02:00
|
|
|
|
2018-08-25 06:19:40 +02:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-util"
|
2020-05-09 15:05:51 +02:00
|
|
|
version = "0.1.5"
|
2018-08-25 06:19:40 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
2018-08-25 06:19:40 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"winapi",
|
2018-08-25 06:19:40 +02:00
|
|
|
]
|
|
|
|
|
2017-12-30 22:48:25 +02:00
|
|
|
[[package]]
|
|
|
|
name = "winapi-x86_64-pc-windows-gnu"
|
2018-02-11 20:31:41 +02:00
|
|
|
version = "0.4.0"
|
2017-12-30 22:48:25 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2020-08-20 00:55:16 +02:00
|
|
|
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|