ripgrep-bin 15.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (177) hide show
  1. ripgrep_bin-15.1.0/LICENSE-MIT +21 -0
  2. ripgrep_bin-15.1.0/PKG-INFO +32 -0
  3. ripgrep_bin-15.1.0/README.md +11 -0
  4. ripgrep_bin-15.1.0/UNLICENSE +24 -0
  5. ripgrep_bin-15.1.0/pyproject.toml +54 -0
  6. ripgrep_bin-15.1.0/ripgrep/.cargo/config.toml +21 -0
  7. ripgrep_bin-15.1.0/ripgrep/.gitignore +22 -0
  8. ripgrep_bin-15.1.0/ripgrep/.ignore +1 -0
  9. ripgrep_bin-15.1.0/ripgrep/CHANGELOG.md +1835 -0
  10. ripgrep_bin-15.1.0/ripgrep/COPYING +3 -0
  11. ripgrep_bin-15.1.0/ripgrep/Cargo.lock +570 -0
  12. ripgrep_bin-15.1.0/ripgrep/Cargo.toml +108 -0
  13. ripgrep_bin-15.1.0/ripgrep/FAQ.md +1063 -0
  14. ripgrep_bin-15.1.0/ripgrep/GUIDE.md +1022 -0
  15. ripgrep_bin-15.1.0/ripgrep/LICENSE-MIT +21 -0
  16. ripgrep_bin-15.1.0/ripgrep/README.md +541 -0
  17. ripgrep_bin-15.1.0/ripgrep/RELEASE-CHECKLIST.md +57 -0
  18. ripgrep_bin-15.1.0/ripgrep/UNLICENSE +24 -0
  19. ripgrep_bin-15.1.0/ripgrep/build.rs +61 -0
  20. ripgrep_bin-15.1.0/ripgrep/crates/cli/Cargo.toml +26 -0
  21. ripgrep_bin-15.1.0/ripgrep/crates/cli/LICENSE-MIT +21 -0
  22. ripgrep_bin-15.1.0/ripgrep/crates/cli/README.md +31 -0
  23. ripgrep_bin-15.1.0/ripgrep/crates/cli/UNLICENSE +24 -0
  24. ripgrep_bin-15.1.0/ripgrep/crates/cli/src/decompress.rs +532 -0
  25. ripgrep_bin-15.1.0/ripgrep/crates/cli/src/escape.rs +159 -0
  26. ripgrep_bin-15.1.0/ripgrep/crates/cli/src/hostname.rs +85 -0
  27. ripgrep_bin-15.1.0/ripgrep/crates/cli/src/human.rs +149 -0
  28. ripgrep_bin-15.1.0/ripgrep/crates/cli/src/lib.rs +295 -0
  29. ripgrep_bin-15.1.0/ripgrep/crates/cli/src/pattern.rs +181 -0
  30. ripgrep_bin-15.1.0/ripgrep/crates/cli/src/process.rs +316 -0
  31. ripgrep_bin-15.1.0/ripgrep/crates/cli/src/wtr.rs +149 -0
  32. ripgrep_bin-15.1.0/ripgrep/crates/core/README.md +15 -0
  33. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/complete/bash.rs +107 -0
  34. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/complete/encodings.sh +29 -0
  35. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/complete/fish.rs +75 -0
  36. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/complete/mod.rs +10 -0
  37. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/complete/powershell.rs +85 -0
  38. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/complete/prelude.fish +31 -0
  39. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/complete/rg.zsh +691 -0
  40. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/complete/zsh.rs +32 -0
  41. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/config.rs +170 -0
  42. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/defs.rs +7775 -0
  43. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/doc/help.rs +259 -0
  44. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/doc/man.rs +110 -0
  45. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/doc/mod.rs +38 -0
  46. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/doc/template.long.help +61 -0
  47. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/doc/template.rg.1 +424 -0
  48. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/doc/template.short.help +38 -0
  49. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/doc/version.rs +173 -0
  50. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/hiargs.rs +1480 -0
  51. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/lowargs.rs +758 -0
  52. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/mod.rs +302 -0
  53. ripgrep_bin-15.1.0/ripgrep/crates/core/flags/parse.rs +476 -0
  54. ripgrep_bin-15.1.0/ripgrep/crates/core/haystack.rs +160 -0
  55. ripgrep_bin-15.1.0/ripgrep/crates/core/logger.rs +72 -0
  56. ripgrep_bin-15.1.0/ripgrep/crates/core/main.rs +483 -0
  57. ripgrep_bin-15.1.0/ripgrep/crates/core/messages.rs +139 -0
  58. ripgrep_bin-15.1.0/ripgrep/crates/core/search.rs +449 -0
  59. ripgrep_bin-15.1.0/ripgrep/crates/globset/COPYING +3 -0
  60. ripgrep_bin-15.1.0/ripgrep/crates/globset/Cargo.toml +49 -0
  61. ripgrep_bin-15.1.0/ripgrep/crates/globset/LICENSE-MIT +21 -0
  62. ripgrep_bin-15.1.0/ripgrep/crates/globset/README.md +119 -0
  63. ripgrep_bin-15.1.0/ripgrep/crates/globset/UNLICENSE +24 -0
  64. ripgrep_bin-15.1.0/ripgrep/crates/globset/benches/bench.rs +113 -0
  65. ripgrep_bin-15.1.0/ripgrep/crates/globset/src/fnv.rs +30 -0
  66. ripgrep_bin-15.1.0/ripgrep/crates/globset/src/glob.rs +1686 -0
  67. ripgrep_bin-15.1.0/ripgrep/crates/globset/src/lib.rs +1139 -0
  68. ripgrep_bin-15.1.0/ripgrep/crates/globset/src/pathutil.rs +133 -0
  69. ripgrep_bin-15.1.0/ripgrep/crates/globset/src/serde_impl.rs +128 -0
  70. ripgrep_bin-15.1.0/ripgrep/crates/grep/COPYING +3 -0
  71. ripgrep_bin-15.1.0/ripgrep/crates/grep/Cargo.toml +33 -0
  72. ripgrep_bin-15.1.0/ripgrep/crates/grep/LICENSE-MIT +21 -0
  73. ripgrep_bin-15.1.0/ripgrep/crates/grep/README.md +34 -0
  74. ripgrep_bin-15.1.0/ripgrep/crates/grep/UNLICENSE +24 -0
  75. ripgrep_bin-15.1.0/ripgrep/crates/grep/examples/simplegrep.rs +69 -0
  76. ripgrep_bin-15.1.0/ripgrep/crates/grep/src/lib.rs +21 -0
  77. ripgrep_bin-15.1.0/ripgrep/crates/ignore/COPYING +3 -0
  78. ripgrep_bin-15.1.0/ripgrep/crates/ignore/Cargo.toml +44 -0
  79. ripgrep_bin-15.1.0/ripgrep/crates/ignore/LICENSE-MIT +21 -0
  80. ripgrep_bin-15.1.0/ripgrep/crates/ignore/README.md +59 -0
  81. ripgrep_bin-15.1.0/ripgrep/crates/ignore/UNLICENSE +24 -0
  82. ripgrep_bin-15.1.0/ripgrep/crates/ignore/examples/walk.rs +64 -0
  83. ripgrep_bin-15.1.0/ripgrep/crates/ignore/src/default_types.rs +363 -0
  84. ripgrep_bin-15.1.0/ripgrep/crates/ignore/src/dir.rs +1304 -0
  85. ripgrep_bin-15.1.0/ripgrep/crates/ignore/src/gitignore.rs +849 -0
  86. ripgrep_bin-15.1.0/ripgrep/crates/ignore/src/lib.rs +544 -0
  87. ripgrep_bin-15.1.0/ripgrep/crates/ignore/src/overrides.rs +293 -0
  88. ripgrep_bin-15.1.0/ripgrep/crates/ignore/src/pathutil.rs +142 -0
  89. ripgrep_bin-15.1.0/ripgrep/crates/ignore/src/types.rs +584 -0
  90. ripgrep_bin-15.1.0/ripgrep/crates/ignore/src/walk.rs +2494 -0
  91. ripgrep_bin-15.1.0/ripgrep/crates/ignore/tests/gitignore_matched_path_or_any_parents_tests.gitignore +216 -0
  92. ripgrep_bin-15.1.0/ripgrep/crates/ignore/tests/gitignore_matched_path_or_any_parents_tests.rs +318 -0
  93. ripgrep_bin-15.1.0/ripgrep/crates/ignore/tests/gitignore_skip_bom.gitignore +2 -0
  94. ripgrep_bin-15.1.0/ripgrep/crates/ignore/tests/gitignore_skip_bom.rs +17 -0
  95. ripgrep_bin-15.1.0/ripgrep/crates/matcher/Cargo.toml +25 -0
  96. ripgrep_bin-15.1.0/ripgrep/crates/matcher/LICENSE-MIT +21 -0
  97. ripgrep_bin-15.1.0/ripgrep/crates/matcher/README.md +29 -0
  98. ripgrep_bin-15.1.0/ripgrep/crates/matcher/UNLICENSE +24 -0
  99. ripgrep_bin-15.1.0/ripgrep/crates/matcher/src/interpolate.rs +331 -0
  100. ripgrep_bin-15.1.0/ripgrep/crates/matcher/src/lib.rs +1379 -0
  101. ripgrep_bin-15.1.0/ripgrep/crates/matcher/tests/test_matcher.rs +232 -0
  102. ripgrep_bin-15.1.0/ripgrep/crates/matcher/tests/tests.rs +3 -0
  103. ripgrep_bin-15.1.0/ripgrep/crates/matcher/tests/util.rs +96 -0
  104. ripgrep_bin-15.1.0/ripgrep/crates/pcre2/Cargo.toml +19 -0
  105. ripgrep_bin-15.1.0/ripgrep/crates/pcre2/LICENSE-MIT +21 -0
  106. ripgrep_bin-15.1.0/ripgrep/crates/pcre2/README.md +32 -0
  107. ripgrep_bin-15.1.0/ripgrep/crates/pcre2/UNLICENSE +24 -0
  108. ripgrep_bin-15.1.0/ripgrep/crates/pcre2/src/error.rs +48 -0
  109. ripgrep_bin-15.1.0/ripgrep/crates/pcre2/src/lib.rs +16 -0
  110. ripgrep_bin-15.1.0/ripgrep/crates/pcre2/src/matcher.rs +505 -0
  111. ripgrep_bin-15.1.0/ripgrep/crates/printer/Cargo.toml +43 -0
  112. ripgrep_bin-15.1.0/ripgrep/crates/printer/LICENSE-MIT +21 -0
  113. ripgrep_bin-15.1.0/ripgrep/crates/printer/README.md +28 -0
  114. ripgrep_bin-15.1.0/ripgrep/crates/printer/UNLICENSE +24 -0
  115. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/color.rs +396 -0
  116. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/counter.rs +97 -0
  117. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/hyperlink/aliases.rs +92 -0
  118. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/hyperlink/mod.rs +1165 -0
  119. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/json.rs +1057 -0
  120. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/jsont.rs +294 -0
  121. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/lib.rs +103 -0
  122. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/macros.rs +24 -0
  123. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/path.rs +176 -0
  124. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/standard.rs +3987 -0
  125. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/stats.rs +171 -0
  126. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/summary.rs +1150 -0
  127. ripgrep_bin-15.1.0/ripgrep/crates/printer/src/util.rs +608 -0
  128. ripgrep_bin-15.1.0/ripgrep/crates/regex/Cargo.toml +21 -0
  129. ripgrep_bin-15.1.0/ripgrep/crates/regex/LICENSE-MIT +21 -0
  130. ripgrep_bin-15.1.0/ripgrep/crates/regex/README.md +28 -0
  131. ripgrep_bin-15.1.0/ripgrep/crates/regex/UNLICENSE +24 -0
  132. ripgrep_bin-15.1.0/ripgrep/crates/regex/src/ast.rs +216 -0
  133. ripgrep_bin-15.1.0/ripgrep/crates/regex/src/ban.rs +83 -0
  134. ripgrep_bin-15.1.0/ripgrep/crates/regex/src/config.rs +356 -0
  135. ripgrep_bin-15.1.0/ripgrep/crates/regex/src/error.rs +94 -0
  136. ripgrep_bin-15.1.0/ripgrep/crates/regex/src/lib.rs +18 -0
  137. ripgrep_bin-15.1.0/ripgrep/crates/regex/src/literal.rs +1016 -0
  138. ripgrep_bin-15.1.0/ripgrep/crates/regex/src/matcher.rs +670 -0
  139. ripgrep_bin-15.1.0/ripgrep/crates/regex/src/non_matching.rs +159 -0
  140. ripgrep_bin-15.1.0/ripgrep/crates/regex/src/strip.rs +170 -0
  141. ripgrep_bin-15.1.0/ripgrep/crates/searcher/Cargo.toml +32 -0
  142. ripgrep_bin-15.1.0/ripgrep/crates/searcher/LICENSE-MIT +21 -0
  143. ripgrep_bin-15.1.0/ripgrep/crates/searcher/README.md +30 -0
  144. ripgrep_bin-15.1.0/ripgrep/crates/searcher/UNLICENSE +24 -0
  145. ripgrep_bin-15.1.0/ripgrep/crates/searcher/examples/search-stdin.rs +34 -0
  146. ripgrep_bin-15.1.0/ripgrep/crates/searcher/src/lib.rs +106 -0
  147. ripgrep_bin-15.1.0/ripgrep/crates/searcher/src/line_buffer.rs +965 -0
  148. ripgrep_bin-15.1.0/ripgrep/crates/searcher/src/lines.rs +466 -0
  149. ripgrep_bin-15.1.0/ripgrep/crates/searcher/src/macros.rs +25 -0
  150. ripgrep_bin-15.1.0/ripgrep/crates/searcher/src/searcher/core.rs +713 -0
  151. ripgrep_bin-15.1.0/ripgrep/crates/searcher/src/searcher/glue.rs +1549 -0
  152. ripgrep_bin-15.1.0/ripgrep/crates/searcher/src/searcher/mmap.rs +105 -0
  153. ripgrep_bin-15.1.0/ripgrep/crates/searcher/src/searcher/mod.rs +1088 -0
  154. ripgrep_bin-15.1.0/ripgrep/crates/searcher/src/sink.rs +663 -0
  155. ripgrep_bin-15.1.0/ripgrep/crates/searcher/src/testutil.rs +797 -0
  156. ripgrep_bin-15.1.0/ripgrep/pkg/windows/Manifest.xml +28 -0
  157. ripgrep_bin-15.1.0/ripgrep/pkg/windows/README.md +15 -0
  158. ripgrep_bin-15.1.0/ripgrep/rustfmt.toml +3 -0
  159. ripgrep_bin-15.1.0/ripgrep/tests/binary.rs +468 -0
  160. ripgrep_bin-15.1.0/ripgrep/tests/data/sherlock-nul.txt +2133 -0
  161. ripgrep_bin-15.1.0/ripgrep/tests/data/sherlock.Z +0 -0
  162. ripgrep_bin-15.1.0/ripgrep/tests/data/sherlock.br +2 -0
  163. ripgrep_bin-15.1.0/ripgrep/tests/data/sherlock.bz2 +0 -0
  164. ripgrep_bin-15.1.0/ripgrep/tests/data/sherlock.gz +0 -0
  165. ripgrep_bin-15.1.0/ripgrep/tests/data/sherlock.lz4 +0 -0
  166. ripgrep_bin-15.1.0/ripgrep/tests/data/sherlock.lzma +0 -0
  167. ripgrep_bin-15.1.0/ripgrep/tests/data/sherlock.xz +0 -0
  168. ripgrep_bin-15.1.0/ripgrep/tests/data/sherlock.zst +0 -0
  169. ripgrep_bin-15.1.0/ripgrep/tests/feature.rs +1174 -0
  170. ripgrep_bin-15.1.0/ripgrep/tests/hay.rs +17 -0
  171. ripgrep_bin-15.1.0/ripgrep/tests/json.rs +441 -0
  172. ripgrep_bin-15.1.0/ripgrep/tests/macros.rs +61 -0
  173. ripgrep_bin-15.1.0/ripgrep/tests/misc.rs +1142 -0
  174. ripgrep_bin-15.1.0/ripgrep/tests/multiline.rs +121 -0
  175. ripgrep_bin-15.1.0/ripgrep/tests/regression.rs +1719 -0
  176. ripgrep_bin-15.1.0/ripgrep/tests/tests.rs +22 -0
  177. ripgrep_bin-15.1.0/ripgrep/tests/util.rs +511 -0
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2015 Andrew Gallant
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,32 @@
1
+ Metadata-Version: 2.4
2
+ Name: ripgrep-bin
3
+ Version: 15.1.0
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Topic :: Terminals
6
+ Classifier: Topic :: Text Processing
7
+ Classifier: Topic :: Text Processing :: Filters
8
+ License-File: LICENSE-MIT
9
+ Summary: ripgrep is a line-oriented search tool that recursively searches the current
10
+ directory for a regex pattern while respecting gitignore rules. ripgrep has
11
+ first class support on Windows, macOS and Linux.
12
+ Keywords: regex,grep,egrep,search,pattern
13
+ Home-Page: https://github.com/BurntSushi/ripgrep
14
+ Author-email: dowon <ks2515@naver.com>
15
+ License: Unlicense OR MIT
16
+ Requires-Python: >=3.7
17
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
18
+ Project-URL: repository, https://github.com/Bing-su/pip-binary-factory
19
+ Project-URL: ripgrep, https://github.com/BurntSushi/ripgrep
20
+
21
+ # ripgrep-bin
22
+
23
+ https://github.com/BurntSushi/ripgrep
24
+
25
+ `ripgrep` is a line-oriented search tool that recursively searches the current directory for a regex pattern.
26
+
27
+ ## install
28
+
29
+ ```sh
30
+ pip install ripgrep-bin
31
+ ```
32
+
@@ -0,0 +1,11 @@
1
+ # ripgrep-bin
2
+
3
+ https://github.com/BurntSushi/ripgrep
4
+
5
+ `ripgrep` is a line-oriented search tool that recursively searches the current directory for a regex pattern.
6
+
7
+ ## install
8
+
9
+ ```sh
10
+ pip install ripgrep-bin
11
+ ```
@@ -0,0 +1,24 @@
1
+ This is free and unencumbered software released into the public domain.
2
+
3
+ Anyone is free to copy, modify, publish, use, compile, sell, or
4
+ distribute this software, either in source code form or as a compiled
5
+ binary, for any purpose, commercial or non-commercial, and by any
6
+ means.
7
+
8
+ In jurisdictions that recognize copyright laws, the author or authors
9
+ of this software dedicate any and all copyright interest in the
10
+ software to the public domain. We make this dedication for the benefit
11
+ of the public at large and to the detriment of our heirs and
12
+ successors. We intend this dedication to be an overt act of
13
+ relinquishment in perpetuity of all present and future rights to this
14
+ software under copyright law.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
19
+ IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
20
+ OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
21
+ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
22
+ OTHER DEALINGS IN THE SOFTWARE.
23
+
24
+ For more information, please refer to <http://unlicense.org/>
@@ -0,0 +1,54 @@
1
+ [project]
2
+ name = "ripgrep-bin"
3
+ readme = "README.md"
4
+ requires-python = ">=3.7"
5
+ authors = [{ name = "dowon", email = "ks2515@naver.com" }]
6
+ classifiers = [
7
+ "Programming Language :: Rust",
8
+ "Topic :: Terminals",
9
+ "Topic :: Text Processing",
10
+ "Topic :: Text Processing :: Filters"
11
+ ]
12
+ dependencies = []
13
+ dynamic = ["description", "keywords", "license", "version"]
14
+
15
+ [project.urls]
16
+ repository = "https://github.com/Bing-su/pip-binary-factory"
17
+ ripgrep = "https://github.com/BurntSushi/ripgrep"
18
+
19
+ [build-system]
20
+ requires = ["maturin>=1.13,<2.0"]
21
+ build-backend = "maturin"
22
+
23
+ [tool.maturin]
24
+ auditwheel = "repair"
25
+ bindings = "bin"
26
+ features = ["pcre2"]
27
+ include = [{ format = "sdist", path = "*LICENSE*" }]
28
+ manifest-path = "ripgrep/Cargo.toml"
29
+ profile = "release-lto"
30
+ strip = true
31
+
32
+ [tool.ruff.lint]
33
+ select = [
34
+ "A",
35
+ "B",
36
+ "C4",
37
+ "C90",
38
+ "E",
39
+ "EM",
40
+ "F",
41
+ "FA",
42
+ "I001",
43
+ "ISC",
44
+ "N",
45
+ "PIE",
46
+ "PT",
47
+ "RET",
48
+ "RUF",
49
+ "SIM",
50
+ "UP",
51
+ "W",
52
+ ]
53
+ ignore = ["B008", "B905", "E501"]
54
+ unfixable = ["F401"]
@@ -0,0 +1,21 @@
1
+ # On Windows MSVC, statically link the C runtime so that the resulting EXE does
2
+ # not depend on the vcruntime DLL.
3
+ #
4
+ # See: https://github.com/BurntSushi/ripgrep/pull/1613
5
+ [target.x86_64-pc-windows-msvc]
6
+ rustflags = ["-C", "target-feature=+crt-static"]
7
+ [target.i686-pc-windows-msvc]
8
+ rustflags = ["-C", "target-feature=+crt-static"]
9
+
10
+ # Do the same for MUSL targets. At the time of writing (2023-10-23), this is
11
+ # the default. But the plan is for the default to change to dynamic linking.
12
+ # The whole point of MUSL with respect to ripgrep is to create a fully
13
+ # statically linked executable.
14
+ #
15
+ # See: https://github.com/rust-lang/compiler-team/issues/422
16
+ # See: https://github.com/rust-lang/compiler-team/issues/422#issuecomment-812135847
17
+ [target.x86_64-unknown-linux-musl]
18
+ rustflags = [
19
+ "-C", "target-feature=+crt-static",
20
+ "-C", "link-self-contained=yes",
21
+ ]
@@ -0,0 +1,22 @@
1
+ .*.swp
2
+ tags
3
+ target
4
+ /grep/Cargo.lock
5
+ /globset/Cargo.lock
6
+ /ignore/Cargo.lock
7
+ /termcolor/Cargo.lock
8
+ /wincolor/Cargo.lock
9
+ /deployment
10
+ /.idea
11
+
12
+ # Snapcraft files
13
+ stage
14
+ prime
15
+ parts
16
+ *.snap
17
+ *.pyc
18
+ ripgrep*_source.tar.bz2
19
+
20
+ # Cargo timings
21
+ cargo-timing-*.html
22
+ cargo-timing.html
@@ -0,0 +1 @@
1
+ !/.github/