PageRenderTime 52ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/Cargo.toml

https://github.com/BurntSushi/ripgrep
TOML | 108 lines | 91 code | 12 blank | 5 comment | 3 complexity | 9ea97cd812201c74c9f79d473331db9f MD5 | raw file
Possible License(s): MIT, Unlicense
  1. [package]
  2. name = "ripgrep"
  3. version = "12.1.0" #:version
  4. authors = ["Andrew Gallant <jamslam@gmail.com>"]
  5. description = """
  6. ripgrep is a line-oriented search tool that recursively searches your current
  7. directory for a regex pattern while respecting your gitignore rules. ripgrep
  8. has first class support on Windows, macOS and Linux.
  9. """
  10. documentation = "https://github.com/BurntSushi/ripgrep"
  11. homepage = "https://github.com/BurntSushi/ripgrep"
  12. repository = "https://github.com/BurntSushi/ripgrep"
  13. readme = "README.md"
  14. keywords = ["regex", "grep", "egrep", "search", "pattern"]
  15. categories = ["command-line-utilities", "text-processing"]
  16. license = "Unlicense OR MIT"
  17. exclude = ["HomebrewFormula"]
  18. build = "build.rs"
  19. autotests = false
  20. edition = "2018"
  21. [[bin]]
  22. bench = false
  23. path = "crates/core/main.rs"
  24. name = "rg"
  25. [[test]]
  26. name = "integration"
  27. path = "tests/tests.rs"
  28. [workspace]
  29. members = [
  30. "crates/globset",
  31. "crates/grep",
  32. "crates/cli",
  33. "crates/matcher",
  34. "crates/pcre2",
  35. "crates/printer",
  36. "crates/regex",
  37. "crates/searcher",
  38. "crates/ignore",
  39. ]
  40. [dependencies]
  41. bstr = "0.2.12"
  42. grep = { version = "0.2.6", path = "crates/grep" }
  43. ignore = { version = "0.4.15", path = "crates/ignore" }
  44. lazy_static = "1.1.0"
  45. log = "0.4.5"
  46. num_cpus = "1.8.0"
  47. regex = "1.3.5"
  48. serde_json = "1.0.23"
  49. termcolor = "1.1.0"
  50. [dependencies.clap]
  51. version = "2.33.0"
  52. default-features = false
  53. features = ["suggestions"]
  54. [target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator]
  55. version = "0.3.0"
  56. [build-dependencies]
  57. lazy_static = "1.1.0"
  58. [build-dependencies.clap]
  59. version = "2.33.0"
  60. default-features = false
  61. features = ["suggestions"]
  62. [dev-dependencies]
  63. serde = "1.0.77"
  64. serde_derive = "1.0.77"
  65. walkdir = "2"
  66. [features]
  67. simd-accel = ["grep/simd-accel"]
  68. pcre2 = ["grep/pcre2"]
  69. [profile.release]
  70. debug = 1
  71. [package.metadata.deb]
  72. features = ["pcre2"]
  73. section = "utils"
  74. assets = [
  75. ["target/release/rg", "usr/bin/", "755"],
  76. ["COPYING", "usr/share/doc/ripgrep/", "644"],
  77. ["LICENSE-MIT", "usr/share/doc/ripgrep/", "644"],
  78. ["UNLICENSE", "usr/share/doc/ripgrep/", "644"],
  79. ["CHANGELOG.md", "usr/share/doc/ripgrep/CHANGELOG", "644"],
  80. ["README.md", "usr/share/doc/ripgrep/README", "644"],
  81. ["FAQ.md", "usr/share/doc/ripgrep/FAQ", "644"],
  82. # The man page is automatically generated by ripgrep's build process, so
  83. # this file isn't actually commited. Instead, to create a dpkg, either
  84. # create a deployment/deb directory and copy the man page to it, or use the
  85. # 'ci/build-deb' script.
  86. ["deployment/deb/rg.1", "usr/share/man/man1/rg.1", "644"],
  87. # Similarly for shell completions.
  88. ["deployment/deb/rg.bash", "usr/share/bash-completion/completions/rg", "644"],
  89. ["deployment/deb/rg.fish", "usr/share/fish/vendor_completions.d/rg.fish", "644"],
  90. ["deployment/deb/_rg", "usr/share/zsh/vendor-completions/", "644"],
  91. ]
  92. extended-description = """\
  93. ripgrep (rg) recursively searches your current directory for a regex pattern.
  94. By default, ripgrep will respect your .gitignore and automatically skip hidden
  95. files/directories and binary files.
  96. """