2019-01-29 20:04:40 +02:00
|
|
|
# This file is automatically @generated by Cargo.
|
|
|
|
# It is not intended for manual editing.
|
2022-06-10 15:39:17 +02:00
|
|
|
version = 3
|
|
|
|
|
2019-04-03 19:07:26 +02:00
|
|
|
[[package]]
|
|
|
|
name = "aho-corasick"
|
2024-03-25 00:58:28 +02:00
|
|
|
version = "1.1.3"
|
2019-04-03 19:07:26 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-25 00:58:28 +02:00
|
|
|
checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
|
2023-05-16 19:14:23 +02:00
|
|
|
dependencies = [
|
|
|
|
"memchr",
|
|
|
|
]
|
|
|
|
|
2023-10-12 18:16:42 +02:00
|
|
|
[[package]]
|
|
|
|
name = "anyhow"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "1.0.82"
|
2023-10-12 18:16:42 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "f538837af36e6f6a9be0faa67f9a314f8119e4e4b5867c6ab40ed60360142519"
|
2023-10-12 18:16:42 +02:00
|
|
|
|
2019-04-06 04:28:43 +02:00
|
|
|
[[package]]
|
|
|
|
name = "bstr"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "1.9.1"
|
2019-04-06 04:28:43 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "05efc5cfd9110c8416e471df0e96702d58690178e206e61b7173706673c93706"
|
2019-04-06 04:28:43 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"memchr",
|
2023-07-05 17:08:13 +02:00
|
|
|
"regex-automata",
|
2023-01-05 15:19:33 +02:00
|
|
|
"serde",
|
2019-04-06 04:28:43 +02:00
|
|
|
]
|
|
|
|
|
2018-04-29 15:29:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "cc"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "1.0.95"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "d32a725bc159af97c3e629873bb9f88fb8cf8a4867175f76dc987815ea07c83b"
|
2020-08-20 00:55:16 +02:00
|
|
|
dependencies = [
|
|
|
|
"jobserver",
|
2023-08-15 17:09:46 +02:00
|
|
|
"libc",
|
2024-04-23 16:43:25 +02:00
|
|
|
"once_cell",
|
2020-08-20 00:55:16 +02:00
|
|
|
]
|
2018-04-29 15:29:52 +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"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-channel"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "0.5.12"
|
2020-11-02 16:04:39 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "ab3db02a9c5b5121e1e42fbdb1aeb65f5e02624cc58c43f2884c6ccac0b82f95"
|
2018-08-22 01:47:12 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"crossbeam-utils",
|
2018-08-22 01:47:12 +02:00
|
|
|
]
|
|
|
|
|
2023-08-21 19:58:27 +02:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-deque"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "0.8.5"
|
2023-08-21 19:58:27 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d"
|
2023-08-21 19:58:27 +02:00
|
|
|
dependencies = [
|
|
|
|
"crossbeam-epoch",
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-epoch"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "0.9.18"
|
2023-08-21 19:58:27 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e"
|
2023-08-21 19:58:27 +02:00
|
|
|
dependencies = [
|
|
|
|
"crossbeam-utils",
|
|
|
|
]
|
|
|
|
|
2018-08-22 01:47:12 +02:00
|
|
|
[[package]]
|
|
|
|
name = "crossbeam-utils"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "0.8.19"
|
2016-11-06 03:44:15 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "248e3bacc7dc6baa3b21e405ee045c3047101a49145e7e9eca583ab4c2ca5345"
|
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"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "0.8.34"
|
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"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59"
|
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 = [
|
2022-03-21 14:37:18 +02:00
|
|
|
"cfg-if",
|
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
|
|
|
]
|
|
|
|
|
2017-12-30 22:46:55 +02:00
|
|
|
[[package]]
|
|
|
|
name = "glob"
|
2023-05-16 19:14:23 +02:00
|
|
|
version = "0.3.1"
|
2017-12-30 22:46:55 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-05-16 19:14:23 +02:00
|
|
|
checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
2017-12-30 22:46:55 +02:00
|
|
|
|
2016-10-01 01:42:41 +02:00
|
|
|
[[package]]
|
|
|
|
name = "globset"
|
2023-11-26 21:11:05 +02:00
|
|
|
version = "0.4.14"
|
2016-10-01 01:42:41 +02:00
|
|
|
dependencies = [
|
2023-06-12 03:25:23 +02:00
|
|
|
"aho-corasick",
|
2020-08-20 00:55:16 +02:00
|
|
|
"bstr",
|
|
|
|
"glob",
|
|
|
|
"log",
|
2023-09-26 21:01:20 +02:00
|
|
|
"regex-automata",
|
|
|
|
"regex-syntax",
|
2020-08-20 00:55:16 +02:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
2016-10-01 01:42:41 +02:00
|
|
|
]
|
|
|
|
|
2016-09-12 01:06:05 +02:00
|
|
|
[[package]]
|
|
|
|
name = "grep"
|
2023-11-28 04:36:54 +02:00
|
|
|
version = "0.3.1"
|
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"
|
2023-11-26 21:13:03 +02:00
|
|
|
version = "0.1.10"
|
2018-08-30 02:53:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"bstr",
|
|
|
|
"globset",
|
2023-09-21 19:13:46 +02:00
|
|
|
"libc",
|
2020-08-20 00:55:16 +02:00
|
|
|
"log",
|
|
|
|
"termcolor",
|
|
|
|
"winapi-util",
|
2018-08-30 02:53:52 +02:00
|
|
|
]
|
|
|
|
|
2018-04-29 15:29:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "grep-matcher"
|
2023-11-26 21:13:54 +02:00
|
|
|
version = "0.1.7"
|
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"
|
2023-11-26 21:16:46 +02:00
|
|
|
version = "0.1.7"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"grep-matcher",
|
2023-06-20 02:47:07 +02:00
|
|
|
"log",
|
2020-08-20 00:55:16 +02:00
|
|
|
"pcre2",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "grep-printer"
|
2023-11-28 04:36:02 +02:00
|
|
|
version = "0.2.1"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"bstr",
|
|
|
|
"grep-matcher",
|
|
|
|
"grep-regex",
|
|
|
|
"grep-searcher",
|
2023-09-22 20:57:44 +02:00
|
|
|
"log",
|
2020-08-20 00:55:16 +02:00
|
|
|
"serde",
|
|
|
|
"serde_json",
|
|
|
|
"termcolor",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "grep-regex"
|
2023-11-26 21:15:44 +02:00
|
|
|
version = "0.1.12"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"bstr",
|
|
|
|
"grep-matcher",
|
|
|
|
"log",
|
2023-07-05 17:08:13 +02:00
|
|
|
"regex-automata",
|
2023-06-12 03:25:23 +02:00
|
|
|
"regex-syntax",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "grep-searcher"
|
2023-11-28 04:34:58 +02:00
|
|
|
version = "0.1.13"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"bstr",
|
|
|
|
"encoding_rs",
|
|
|
|
"encoding_rs_io",
|
|
|
|
"grep-matcher",
|
|
|
|
"grep-regex",
|
|
|
|
"log",
|
deps: drop bytecount in favor of memchr_iter(..).count()
As of the memchr 2.6 release, its Iterator::count method is specialized
to only count the number of occurrences instead of finding the offset of
each occurrence. This replaces ripgrep's use of the bytecount crate.
While micro-benchmarks suggest that memchr's method has better
throughput than bytecount, it turned out to be an illusion. Namely, on a
~13GB haystack prior to this change:
$ time rg-bytecount 'You killed my friend, my best friend, my lifelong friend!' OpenSubtitles2018.raw.en --line-number
441450441:- You killed my friend, my best friend, my lifelong friend!
real 1.473
user 1.186
sys 0.286
maxmem 12512 MB
faults 0
And then after:
$ time rg 'You killed my friend, my best friend, my lifelong friend!' OpenSubtitles2018.raw.en --line-number
441450441:- You killed my friend, my best friend, my lifelong friend!
real 1.532
user 1.280
sys 0.250
maxmem 12512 MB
faults 0
But perf is just about in the same ballpark. That's good enough for me
at the moment in order to drop the extra dependency.
I did this because the marginal cost of adding the Iterator::count()
specialization to memchr was extremely small.
2023-09-02 18:25:34 +02:00
|
|
|
"memchr",
|
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
|
|
|
]
|
|
|
|
|
2016-10-12 01:57:09 +02:00
|
|
|
[[package]]
|
|
|
|
name = "ignore"
|
2024-01-06 21:27:44 +02:00
|
|
|
version = "0.4.22"
|
2016-10-12 01:57:09 +02:00
|
|
|
dependencies = [
|
2023-09-28 20:17:30 +02:00
|
|
|
"bstr",
|
2020-08-20 00:55:16 +02:00
|
|
|
"crossbeam-channel",
|
2023-08-21 19:58:27 +02:00
|
|
|
"crossbeam-deque",
|
2020-08-20 00:55:16 +02:00
|
|
|
"globset",
|
|
|
|
"log",
|
|
|
|
"memchr",
|
2023-09-28 22:01:59 +02:00
|
|
|
"regex-automata",
|
2020-08-20 00:55:16 +02:00
|
|
|
"same-file",
|
|
|
|
"walkdir",
|
|
|
|
"winapi-util",
|
2016-09-12 01:06:05 +02:00
|
|
|
]
|
|
|
|
|
2018-04-29 15:29:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "itoa"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "1.0.11"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
|
2018-04-29 15:29:52 +02:00
|
|
|
|
2019-04-24 23:21:38 +02:00
|
|
|
[[package]]
|
|
|
|
name = "jemalloc-sys"
|
2023-08-15 17:09:46 +02:00
|
|
|
version = "0.5.4+5.3.0-patched"
|
2019-04-24 23:21:38 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-15 17:09:46 +02:00
|
|
|
checksum = "ac6c1946e1cea1788cbfde01c993b52a10e2da07f4bac608228d1bed20bfebf2"
|
2019-04-24 23:21:38 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"cc",
|
|
|
|
"libc",
|
2019-04-24 23:21:38 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jemallocator"
|
2023-08-15 17:09:46 +02:00
|
|
|
version = "0.5.4"
|
2019-04-24 23:21:38 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2023-08-15 17:09:46 +02:00
|
|
|
checksum = "a0de374a9f8e63150e6f5e8a60cc14c668226d7a347d8aee1a45766e3c4dd3bc"
|
2019-04-24 23:21:38 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"jemalloc-sys",
|
|
|
|
"libc",
|
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "jobserver"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "0.1.31"
|
2020-08-20 00:55:16 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "d2b099aaa34a9751c5bf0878add70444e1ed2dd73f347be99003d4577277de6e"
|
2020-08-20 00:55:16 +02:00
|
|
|
dependencies = [
|
|
|
|
"libc",
|
2019-04-24 23:21:38 +02:00
|
|
|
]
|
|
|
|
|
cli: replace clap with lexopt and supporting code
ripgrep began it's life with docopt for argument parsing. Then it moved
to Clap and stayed there for a number of years. Clap has served ripgrep
well, and it probably could continue to serve ripgrep well, but I ended
up deciding to move off of it.
Why?
The first time I had the thought of moving off of Clap was during the
2->3->4 transition. I thought the 3.x and 4.x releases were great, but
for me, it ended up moving a little too quickly. Since the release of
4.x was telegraphed around when 3.x came out, I decided to just hold off
and wait to migrate to 4.x instead of doing a 3.x migration followed
shortly by another 4.x migration. Of course, I just never ended up doing
the migration at all. I never got around to it and there just wasn't a
compelling reason for me to upgrade. While I never investigated it, I
saw an upgrade as a non-trivial amount of work in part because I didn't
encapsulate the usage of Clap enough.
The above is just what got me started thinking about it. It wasn't
enough to get me to move off of it on its own. What ended up pushing me
over the edge was a combination of factors:
* As mentioned above, I didn't want to run on the migration treadmill.
This has proven to not be much of an issue, but at the time of the
2->3->4 releases, I didn't know how long Clap 4.x would be out before a
5.x would come out.
* The release of lexopt[1] caught my eye. IMO, that crate demonstrates
exactly how something new can arrive on the scene and just thoroughly
solve a problem minimalistically. It has the docs, the reasoning, the
simple API, the tests and good judgment. It gets all the weird corner
cases right that Clap also gets right (and is part of why I was
originally attracted to Clap).
* I have an overall desire to reduce the size of my dependency tree. In
part because a smaller dependency tree tends to correlate with better
compile times, but also in part because it reduces my reliance and trust
on others. It lets me be the "master" of ripgrep's destiny by reducing
the amount of behavior that is the result of someone else's decision
(whether good or bad).
* I perceived that Clap solves a more general problem than what I
actually need solved. Despite the vast number of flags that ripgrep has,
its requirements are actually pretty simple. We just need simple
switches and flags that support one value. No multi-value flags. No
sub-commands. And probably a lot of other functionality that Clap has
that makes it so flexible for so many different use cases. (I'm being
hand wavy on the last point.)
With all that said, perhaps most importantly, the future of ripgrep
possibly demands a more flexible CLI argument parser. In today's world,
I would really like, for example, flags like `--type` and `--type-not`
to be able to accumulate their repeated values into a single sequence
while respecting the order they appear on the CLI. For example, prior
to this migration, `rg regex-automata -Tlock -ttoml` would not return
results in `Cargo.lock` in this repository because the `-Tlock` always
took priority even though `-ttoml` appeared after it. But with this
migration, `-ttoml` now correctly overrides `-Tlock`. We would like to
do similar things for `-g/--glob` and `--iglob` and potentially even
now introduce a `-G/--glob-not` flag instead of requiring users to use
`!` to negate a glob. (Which I had done originally to work-around this
problem.) And some day, I'd like to add some kind of boolean matching to
ripgrep perhaps similar to how `git grep` does it. (Although I haven't
thought too carefully on a design yet.) In order to do that, I perceive
it would be difficult to implement correctly in Clap.
I believe that this last point is possible to implement correctly in
Clap 2.x, although it is awkward to do so. I have not looked closely
enough at the Clap 4.x API to know whether it's still possible there. In
any case, these were enough reasons to move off of Clap and own more of
the argument parsing process myself.
This did require a few things:
* I had to write my own logic for how arguments are combined into one
single state object. Of course, I wanted this. This was part of the
upside. But it's still code I didn't have to write for Clap.
* I had to write my own shell completion generator.
* I had to write my own `-h/--help` output generator.
* I also had to write my own man page generator. Well, I had to do this
with Clap 2.x too, although my understanding is that Clap 4.x supports
this. With that said, without having tried it, my guess is that I
probably wouldn't have liked the output it generated because I
ultimately had to write most of the roff by hand myself to get the man
page I wanted. (This also had the benefit of dropping the build
dependency on asciidoc/asciidoctor.)
While this is definitely a fair bit of extra work, it overall only cost
me a couple days. IMO, that's a good trade off given that this code is
unlikely to change again in any substantial way. And it should also
allow for more flexible semantics going forward.
Fixes #884, Fixes #1648, Fixes #1701, Fixes #1814, Fixes #1966
[1]: https://docs.rs/lexopt/0.3.0/lexopt/index.html
2023-10-17 00:05:39 +02:00
|
|
|
[[package]]
|
|
|
|
name = "lexopt"
|
|
|
|
version = "0.3.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "baff4b617f7df3d896f97fe922b64817f6cd9a756bb81d40f8883f2f66dcb401"
|
|
|
|
|
2016-09-12 01:06:05 +02:00
|
|
|
[[package]]
|
|
|
|
name = "libc"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "0.2.153"
|
2016-09-12 01:06:05 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "9c198f91728a82281a64e1f4f9eeb25d82cb32a5de251c6bd1b5154d63a8e7bd"
|
2016-09-12 01:06:05 +02:00
|
|
|
|
2020-03-15 14:32:33 +02:00
|
|
|
[[package]]
|
2020-11-02 16:04:39 +02:00
|
|
|
name = "log"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "0.4.21"
|
2020-03-15 14:32:33 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "90ed8c1e510134f979dbc4f070f87d4313098b704861a105fe34231c70a3901c"
|
2020-03-15 14:32:33 +02:00
|
|
|
|
2017-10-22 00:45:39 +02:00
|
|
|
[[package]]
|
|
|
|
name = "memchr"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "2.7.2"
|
2016-12-30 22:43:29 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "6c8640c5d730cb13ebd907d8d04b52f55ac9a2eec55b440c8892f40d56c76c1d"
|
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"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "0.9.4"
|
2017-11-13 20:55:41 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "fe751422e4a8caa417e13c3ea66452215d7d63e19e604f4980461212f3ae1322"
|
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
|
|
|
]
|
|
|
|
|
2024-04-23 16:43:25 +02:00
|
|
|
[[package]]
|
|
|
|
name = "once_cell"
|
|
|
|
version = "1.19.0"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92"
|
|
|
|
|
2018-04-29 15:29:52 +02:00
|
|
|
[[package]]
|
|
|
|
name = "pcre2"
|
2024-03-25 00:58:06 +02:00
|
|
|
version = "0.2.7"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-25 00:58:06 +02:00
|
|
|
checksum = "5ea92ff5eabd27703ab12cefe01b08b2809ec3dc75fdc69d4e6b75fbce0cbd67"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"libc",
|
|
|
|
"log",
|
|
|
|
"pcre2-sys",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "pcre2-sys"
|
2024-03-25 00:58:06 +02:00
|
|
|
version = "0.2.9"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-25 00:58:06 +02:00
|
|
|
checksum = "550f5d18fb1b90c20b87e161852c10cde77858c3900c5059b5ad2a1449f11d8a"
|
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"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "0.3.30"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec"
|
2018-04-29 15:29:52 +02:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "proc-macro2"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "1.0.81"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "3d1597b0c024618f09a9c3b8655b7e430397a36d23fdafec26d6965e9eec3eba"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2022-12-20 16:23:29 +02:00
|
|
|
"unicode-ident",
|
2018-04-29 15:29:52 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "quote"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "1.0.36"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7"
|
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"
|
2024-03-25 00:58:28 +02:00
|
|
|
version = "1.10.4"
|
2023-10-10 02:14:34 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-25 00:58:28 +02:00
|
|
|
checksum = "c117dbdfde9c8308975b6a18d71f3f385c89461f7b3fb054288ecf2a2058ba4c"
|
2016-09-12 01:06:05 +02:00
|
|
|
dependencies = [
|
2023-06-12 03:25:23 +02:00
|
|
|
"aho-corasick",
|
2020-08-20 00:55:16 +02:00
|
|
|
"memchr",
|
2023-07-05 17:08:13 +02:00
|
|
|
"regex-automata",
|
2023-06-12 03:25:23 +02:00
|
|
|
"regex-syntax",
|
2016-09-12 01:06:05 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2023-06-12 03:25:23 +02:00
|
|
|
name = "regex-automata"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "0.4.6"
|
2023-10-10 02:14:34 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "86b83b8b9847f9bf95ef68afb0b8e6cdb80f498442f5179a29fad448fcc1eaea"
|
2023-06-12 03:25:23 +02:00
|
|
|
dependencies = [
|
|
|
|
"aho-corasick",
|
|
|
|
"memchr",
|
|
|
|
"regex-syntax",
|
|
|
|
]
|
2023-05-16 19:14:23 +02:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "regex-syntax"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "0.8.3"
|
2023-10-10 02:14:34 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "adad44e29e4c806119491a7f06f03de4d1af22c3a680dd47f1e6e179439d1f56"
|
2018-03-10 21:02:06 +02:00
|
|
|
|
2017-10-29 00:32:43 +02:00
|
|
|
[[package]]
|
|
|
|
name = "ripgrep"
|
2024-01-06 21:32:27 +02:00
|
|
|
version = "14.1.0"
|
2017-10-29 00:32:43 +02:00
|
|
|
dependencies = [
|
2023-10-12 18:16:42 +02:00
|
|
|
"anyhow",
|
2020-08-20 00:55:16 +02:00
|
|
|
"bstr",
|
|
|
|
"grep",
|
|
|
|
"ignore",
|
|
|
|
"jemallocator",
|
cli: replace clap with lexopt and supporting code
ripgrep began it's life with docopt for argument parsing. Then it moved
to Clap and stayed there for a number of years. Clap has served ripgrep
well, and it probably could continue to serve ripgrep well, but I ended
up deciding to move off of it.
Why?
The first time I had the thought of moving off of Clap was during the
2->3->4 transition. I thought the 3.x and 4.x releases were great, but
for me, it ended up moving a little too quickly. Since the release of
4.x was telegraphed around when 3.x came out, I decided to just hold off
and wait to migrate to 4.x instead of doing a 3.x migration followed
shortly by another 4.x migration. Of course, I just never ended up doing
the migration at all. I never got around to it and there just wasn't a
compelling reason for me to upgrade. While I never investigated it, I
saw an upgrade as a non-trivial amount of work in part because I didn't
encapsulate the usage of Clap enough.
The above is just what got me started thinking about it. It wasn't
enough to get me to move off of it on its own. What ended up pushing me
over the edge was a combination of factors:
* As mentioned above, I didn't want to run on the migration treadmill.
This has proven to not be much of an issue, but at the time of the
2->3->4 releases, I didn't know how long Clap 4.x would be out before a
5.x would come out.
* The release of lexopt[1] caught my eye. IMO, that crate demonstrates
exactly how something new can arrive on the scene and just thoroughly
solve a problem minimalistically. It has the docs, the reasoning, the
simple API, the tests and good judgment. It gets all the weird corner
cases right that Clap also gets right (and is part of why I was
originally attracted to Clap).
* I have an overall desire to reduce the size of my dependency tree. In
part because a smaller dependency tree tends to correlate with better
compile times, but also in part because it reduces my reliance and trust
on others. It lets me be the "master" of ripgrep's destiny by reducing
the amount of behavior that is the result of someone else's decision
(whether good or bad).
* I perceived that Clap solves a more general problem than what I
actually need solved. Despite the vast number of flags that ripgrep has,
its requirements are actually pretty simple. We just need simple
switches and flags that support one value. No multi-value flags. No
sub-commands. And probably a lot of other functionality that Clap has
that makes it so flexible for so many different use cases. (I'm being
hand wavy on the last point.)
With all that said, perhaps most importantly, the future of ripgrep
possibly demands a more flexible CLI argument parser. In today's world,
I would really like, for example, flags like `--type` and `--type-not`
to be able to accumulate their repeated values into a single sequence
while respecting the order they appear on the CLI. For example, prior
to this migration, `rg regex-automata -Tlock -ttoml` would not return
results in `Cargo.lock` in this repository because the `-Tlock` always
took priority even though `-ttoml` appeared after it. But with this
migration, `-ttoml` now correctly overrides `-Tlock`. We would like to
do similar things for `-g/--glob` and `--iglob` and potentially even
now introduce a `-G/--glob-not` flag instead of requiring users to use
`!` to negate a glob. (Which I had done originally to work-around this
problem.) And some day, I'd like to add some kind of boolean matching to
ripgrep perhaps similar to how `git grep` does it. (Although I haven't
thought too carefully on a design yet.) In order to do that, I perceive
it would be difficult to implement correctly in Clap.
I believe that this last point is possible to implement correctly in
Clap 2.x, although it is awkward to do so. I have not looked closely
enough at the Clap 4.x API to know whether it's still possible there. In
any case, these were enough reasons to move off of Clap and own more of
the argument parsing process myself.
This did require a few things:
* I had to write my own logic for how arguments are combined into one
single state object. Of course, I wanted this. This was part of the
upside. But it's still code I didn't have to write for Clap.
* I had to write my own shell completion generator.
* I had to write my own `-h/--help` output generator.
* I also had to write my own man page generator. Well, I had to do this
with Clap 2.x too, although my understanding is that Clap 4.x supports
this. With that said, without having tried it, my guess is that I
probably wouldn't have liked the output it generated because I
ultimately had to write most of the roff by hand myself to get the man
page I wanted. (This also had the benefit of dropping the build
dependency on asciidoc/asciidoctor.)
While this is definitely a fair bit of extra work, it overall only cost
me a couple days. IMO, that's a good trade off given that this code is
unlikely to change again in any substantial way. And it should also
allow for more flexible semantics going forward.
Fixes #884, Fixes #1648, Fixes #1701, Fixes #1814, Fixes #1966
[1]: https://docs.rs/lexopt/0.3.0/lexopt/index.html
2023-10-17 00:05:39 +02:00
|
|
|
"lexopt",
|
2020-08-20 00:55:16 +02:00
|
|
|
"log",
|
|
|
|
"serde",
|
|
|
|
"serde_derive",
|
|
|
|
"serde_json",
|
|
|
|
"termcolor",
|
cli: replace clap with lexopt and supporting code
ripgrep began it's life with docopt for argument parsing. Then it moved
to Clap and stayed there for a number of years. Clap has served ripgrep
well, and it probably could continue to serve ripgrep well, but I ended
up deciding to move off of it.
Why?
The first time I had the thought of moving off of Clap was during the
2->3->4 transition. I thought the 3.x and 4.x releases were great, but
for me, it ended up moving a little too quickly. Since the release of
4.x was telegraphed around when 3.x came out, I decided to just hold off
and wait to migrate to 4.x instead of doing a 3.x migration followed
shortly by another 4.x migration. Of course, I just never ended up doing
the migration at all. I never got around to it and there just wasn't a
compelling reason for me to upgrade. While I never investigated it, I
saw an upgrade as a non-trivial amount of work in part because I didn't
encapsulate the usage of Clap enough.
The above is just what got me started thinking about it. It wasn't
enough to get me to move off of it on its own. What ended up pushing me
over the edge was a combination of factors:
* As mentioned above, I didn't want to run on the migration treadmill.
This has proven to not be much of an issue, but at the time of the
2->3->4 releases, I didn't know how long Clap 4.x would be out before a
5.x would come out.
* The release of lexopt[1] caught my eye. IMO, that crate demonstrates
exactly how something new can arrive on the scene and just thoroughly
solve a problem minimalistically. It has the docs, the reasoning, the
simple API, the tests and good judgment. It gets all the weird corner
cases right that Clap also gets right (and is part of why I was
originally attracted to Clap).
* I have an overall desire to reduce the size of my dependency tree. In
part because a smaller dependency tree tends to correlate with better
compile times, but also in part because it reduces my reliance and trust
on others. It lets me be the "master" of ripgrep's destiny by reducing
the amount of behavior that is the result of someone else's decision
(whether good or bad).
* I perceived that Clap solves a more general problem than what I
actually need solved. Despite the vast number of flags that ripgrep has,
its requirements are actually pretty simple. We just need simple
switches and flags that support one value. No multi-value flags. No
sub-commands. And probably a lot of other functionality that Clap has
that makes it so flexible for so many different use cases. (I'm being
hand wavy on the last point.)
With all that said, perhaps most importantly, the future of ripgrep
possibly demands a more flexible CLI argument parser. In today's world,
I would really like, for example, flags like `--type` and `--type-not`
to be able to accumulate their repeated values into a single sequence
while respecting the order they appear on the CLI. For example, prior
to this migration, `rg regex-automata -Tlock -ttoml` would not return
results in `Cargo.lock` in this repository because the `-Tlock` always
took priority even though `-ttoml` appeared after it. But with this
migration, `-ttoml` now correctly overrides `-Tlock`. We would like to
do similar things for `-g/--glob` and `--iglob` and potentially even
now introduce a `-G/--glob-not` flag instead of requiring users to use
`!` to negate a glob. (Which I had done originally to work-around this
problem.) And some day, I'd like to add some kind of boolean matching to
ripgrep perhaps similar to how `git grep` does it. (Although I haven't
thought too carefully on a design yet.) In order to do that, I perceive
it would be difficult to implement correctly in Clap.
I believe that this last point is possible to implement correctly in
Clap 2.x, although it is awkward to do so. I have not looked closely
enough at the Clap 4.x API to know whether it's still possible there. In
any case, these were enough reasons to move off of Clap and own more of
the argument parsing process myself.
This did require a few things:
* I had to write my own logic for how arguments are combined into one
single state object. Of course, I wanted this. This was part of the
upside. But it's still code I didn't have to write for Clap.
* I had to write my own shell completion generator.
* I had to write my own `-h/--help` output generator.
* I also had to write my own man page generator. Well, I had to do this
with Clap 2.x too, although my understanding is that Clap 4.x supports
this. With that said, without having tried it, my guess is that I
probably wouldn't have liked the output it generated because I
ultimately had to write most of the roff by hand myself to get the man
page I wanted. (This also had the benefit of dropping the build
dependency on asciidoc/asciidoctor.)
While this is definitely a fair bit of extra work, it overall only cost
me a couple days. IMO, that's a good trade off given that this code is
unlikely to change again in any substantial way. And it should also
allow for more flexible semantics going forward.
Fixes #884, Fixes #1648, Fixes #1701, Fixes #1814, Fixes #1966
[1]: https://docs.rs/lexopt/0.3.0/lexopt/index.html
2023-10-17 00:05:39 +02:00
|
|
|
"textwrap",
|
2020-08-20 00:55:16 +02:00
|
|
|
"walkdir",
|
2017-10-29 00:32:43 +02:00
|
|
|
]
|
|
|
|
|
2018-08-20 13:39:43 +02:00
|
|
|
[[package]]
|
|
|
|
name = "ryu"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "1.0.17"
|
2018-08-20 13:39:43 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "e86697c916019a8588c99b5fac3cead74ec0b4b819707a682fd4d23fa0ce1ba1"
|
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"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "1.0.198"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "9846a40c979031340571da2545a4e5b7c4163bdae79b301d5f86d03979451fcc"
|
2021-06-02 02:45:45 +02:00
|
|
|
dependencies = [
|
|
|
|
"serde_derive",
|
|
|
|
]
|
2018-04-29 15:29:52 +02:00
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "serde_derive"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "1.0.198"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "e88edab869b01783ba905e7d0153f9fc1a6505a96e4ad3018011eedb838566d9"
|
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"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "1.0.116"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "3e17db7126d17feb94eb3fad46bf1a96b034e8aacbc2e775fe81505f8b0b2813"
|
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
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "syn"
|
2024-04-23 16:43:25 +02:00
|
|
|
version = "2.0.60"
|
2018-04-29 15:29:52 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "909518bc7b1c9b779f1bbf07f2929d35af9f0f37e47c6e9ef7f9dddc1e1821f3"
|
2018-04-29 15:29:52 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"proc-macro2",
|
|
|
|
"quote",
|
2022-12-20 16:23:29 +02:00
|
|
|
"unicode-ident",
|
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"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "1.4.1"
|
2018-07-18 00:37:02 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755"
|
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"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "0.16.1"
|
2017-07-31 00:04:49 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "23d434d3f8967a09480fb04132ebe0a3e088c173e6d0ee7897abbdf4eab0f8b9"
|
2017-07-31 00:04:49 +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]]
|
2022-12-20 16:23:29 +02:00
|
|
|
name = "unicode-ident"
|
2023-09-19 03:42:32 +02:00
|
|
|
version = "1.0.12"
|
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"
|
2023-09-19 03:42:32 +02:00
|
|
|
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
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-09-12 01:06:05 +02:00
|
|
|
[[package]]
|
|
|
|
name = "walkdir"
|
2024-03-07 16:38:22 +02:00
|
|
|
version = "2.5.0"
|
2016-09-12 01:06:05 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-03-07 16:38:22 +02:00
|
|
|
checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b"
|
2016-09-12 01:06:05 +02:00
|
|
|
dependencies = [
|
2020-08-20 00:55:16 +02:00
|
|
|
"same-file",
|
|
|
|
"winapi-util",
|
2016-09-12 01:06:05 +02:00
|
|
|
]
|
|
|
|
|
2017-12-30 22:48:25 +02:00
|
|
|
[[package]]
|
2024-04-23 16:43:25 +02:00
|
|
|
name = "winapi-util"
|
|
|
|
version = "0.1.7"
|
2017-12-30 22:48:25 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "134306a13c5647ad6453e8deaec55d3a44d6021970129e6188735e74bf546697"
|
2017-12-30 22:48:25 +02:00
|
|
|
dependencies = [
|
2024-04-23 16:43:25 +02:00
|
|
|
"windows-sys",
|
2017-12-30 22:48:25 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
[[package]]
|
2024-04-23 16:43:25 +02:00
|
|
|
name = "windows-sys"
|
|
|
|
version = "0.52.0"
|
2017-12-30 22:48:25 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d"
|
|
|
|
dependencies = [
|
|
|
|
"windows-targets",
|
|
|
|
]
|
2017-12-30 22:48:25 +02:00
|
|
|
|
2018-08-25 06:19:40 +02:00
|
|
|
[[package]]
|
2024-04-23 16:43:25 +02:00
|
|
|
name = "windows-targets"
|
|
|
|
version = "0.52.5"
|
2018-08-25 06:19:40 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "6f0713a46559409d202e70e28227288446bf7841d3211583a4b53e3f6d96e7eb"
|
2018-08-25 06:19:40 +02:00
|
|
|
dependencies = [
|
2024-04-23 16:43:25 +02:00
|
|
|
"windows_aarch64_gnullvm",
|
|
|
|
"windows_aarch64_msvc",
|
|
|
|
"windows_i686_gnu",
|
|
|
|
"windows_i686_gnullvm",
|
|
|
|
"windows_i686_msvc",
|
|
|
|
"windows_x86_64_gnu",
|
|
|
|
"windows_x86_64_gnullvm",
|
|
|
|
"windows_x86_64_msvc",
|
2018-08-25 06:19:40 +02:00
|
|
|
]
|
|
|
|
|
2017-12-30 22:48:25 +02:00
|
|
|
[[package]]
|
2024-04-23 16:43:25 +02:00
|
|
|
name = "windows_aarch64_gnullvm"
|
|
|
|
version = "0.52.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "7088eed71e8b8dda258ecc8bac5fb1153c5cffaf2578fc8ff5d61e23578d3263"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_aarch64_msvc"
|
|
|
|
version = "0.52.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "9985fd1504e250c615ca5f281c3f7a6da76213ebd5ccc9561496568a2752afb6"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnu"
|
|
|
|
version = "0.52.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "88ba073cf16d5372720ec942a8ccbf61626074c6d4dd2e745299726ce8b89670"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_gnullvm"
|
|
|
|
version = "0.52.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "87f4261229030a858f36b459e748ae97545d6f1ec60e5e0d6a3d32e0dc232ee9"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_i686_msvc"
|
|
|
|
version = "0.52.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "db3c2bf3d13d5b658be73463284eaf12830ac9a26a90c717b7f771dfe97487bf"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnu"
|
|
|
|
version = "0.52.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "4e4246f76bdeff09eb48875a0fd3e2af6aada79d409d33011886d3e1581517d9"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_gnullvm"
|
|
|
|
version = "0.52.5"
|
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
|
checksum = "852298e482cd67c356ddd9570386e2862b5673c85bd5f88df9ab6802b334c596"
|
|
|
|
|
|
|
|
[[package]]
|
|
|
|
name = "windows_x86_64_msvc"
|
|
|
|
version = "0.52.5"
|
2017-12-30 22:48:25 +02:00
|
|
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
2024-04-23 16:43:25 +02:00
|
|
|
checksum = "bec47e5bfd1bff0eeaf6d8b485cc1074891a197ab4225d504cb7a1ab88b02bf0"
|