1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00
ripgrep/Cargo.toml

108 lines
3.0 KiB
TOML
Raw Normal View History

2016-02-27 18:07:26 +02:00
[package]
2016-09-08 22:15:44 +02:00
name = "ripgrep"
2020-05-29 15:26:47 +02:00
version = "12.1.1" #:version
2016-02-27 18:07:26 +02:00
authors = ["Andrew Gallant <jamslam@gmail.com>"]
description = """
ripgrep is a line-oriented search tool that recursively searches the current
directory for a regex pattern while respecting gitignore rules. ripgrep has
first class support on Windows, macOS and Linux.
2016-02-27 18:07:26 +02:00
"""
2016-09-08 22:15:44 +02:00
documentation = "https://github.com/BurntSushi/ripgrep"
homepage = "https://github.com/BurntSushi/ripgrep"
repository = "https://github.com/BurntSushi/ripgrep"
2016-02-27 18:07:26 +02:00
keywords = ["regex", "grep", "egrep", "search", "pattern"]
2017-01-21 18:31:09 +02:00
categories = ["command-line-utilities", "text-processing"]
license = "Unlicense OR MIT"
exclude = ["HomebrewFormula"]
build = "build.rs"
autotests = false
edition = "2018"
2016-02-27 18:07:26 +02:00
2016-08-26 03:44:37 +02:00
[[bin]]
bench = false
path = "crates/core/main.rs"
2016-09-08 22:15:44 +02:00
name = "rg"
2016-08-26 03:44:37 +02:00
2016-09-10 04:58:30 +02:00
[[test]]
name = "integration"
path = "tests/tests.rs"
2017-12-19 01:04:49 +02:00
[workspace]
members = [
"crates/globset",
"crates/grep",
"crates/cli",
"crates/matcher",
"crates/pcre2",
"crates/printer",
"crates/regex",
"crates/searcher",
"crates/ignore",
]
2017-12-19 01:04:49 +02:00
2016-02-27 18:07:26 +02:00
[dependencies]
2020-03-16 03:38:59 +02:00
bstr = "0.2.12"
grep = { version = "0.2.7", path = "crates/grep" }
2021-06-12 14:01:13 +02:00
ignore = { version = "0.4.18", path = "crates/ignore" }
lazy_static = "1.1.0"
log = "0.4.5"
num_cpus = "1.8.0"
2020-03-16 03:38:59 +02:00
regex = "1.3.5"
serde_json = "1.0.23"
2020-03-16 03:38:59 +02:00
termcolor = "1.1.0"
2016-08-26 03:44:37 +02:00
[dependencies.clap]
2020-03-16 03:38:59 +02:00
version = "2.33.0"
default-features = false
features = ["suggestions"]
[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator]
version = "0.3.0"
[build-dependencies]
lazy_static = "1.1.0"
[build-dependencies.clap]
2020-03-16 03:38:59 +02:00
version = "2.33.0"
default-features = false
features = ["suggestions"]
[dev-dependencies]
serde = "1.0.77"
serde_derive = "1.0.77"
walkdir = "2"
[features]
simd-accel = ["grep/simd-accel"]
pcre2 = ["grep/pcre2"]
2016-02-27 18:07:26 +02:00
[profile.release]
debug = 1
[package.metadata.deb]
features = ["pcre2"]
section = "utils"
assets = [
["target/release/rg", "usr/bin/", "755"],
["COPYING", "usr/share/doc/ripgrep/", "644"],
["LICENSE-MIT", "usr/share/doc/ripgrep/", "644"],
["UNLICENSE", "usr/share/doc/ripgrep/", "644"],
["CHANGELOG.md", "usr/share/doc/ripgrep/CHANGELOG", "644"],
["README.md", "usr/share/doc/ripgrep/README", "644"],
["FAQ.md", "usr/share/doc/ripgrep/FAQ", "644"],
# The man page is automatically generated by ripgrep's build process, so
# this file isn't actually committed. Instead, to create a dpkg, either
# create a deployment/deb directory and copy the man page to it, or use the
2020-03-16 02:43:13 +02:00
# 'ci/build-deb' script.
["deployment/deb/rg.1", "usr/share/man/man1/rg.1", "644"],
# Similarly for shell completions.
["deployment/deb/rg.bash", "usr/share/bash-completion/completions/rg", "644"],
["deployment/deb/rg.fish", "usr/share/fish/vendor_completions.d/rg.fish", "644"],
["deployment/deb/_rg", "usr/share/zsh/vendor-completions/", "644"],
]
extended-description = """\
ripgrep (rg) recursively searches your current directory for a regex pattern.
By default, ripgrep will respect your .gitignore and automatically skip hidden
files/directories and binary files.
"""