# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.72" name = "ripgrep" version = "14.1.1" authors = ["Andrew Gallant "] build = "build.rs" exclude = [ "HomebrewFormula", "/.github/", "/ci/", "/pkg/brew", "/benchsuite/", "/scripts/", ] autobins = false autoexamples = false autotests = false autobenches = false 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. """ homepage = "https://github.com/BurntSushi/ripgrep" documentation = "https://github.com/BurntSushi/ripgrep" readme = "README.md" keywords = [ "regex", "grep", "egrep", "search", "pattern", ] categories = [ "command-line-utilities", "text-processing", ] license = "Unlicense OR MIT" repository = "https://github.com/BurntSushi/ripgrep" [package.metadata.deb] 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", ], [ "deployment/deb/rg.1", "usr/share/man/man1/rg.1", "644", ], [ "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. """ features = ["pcre2"] section = "utils" [profile.deb] debug = 0 inherits = "release" [profile.release] debug = 1 [profile.release-lto] opt-level = 3 lto = "fat" codegen-units = 1 debug = 0 debug-assertions = false panic = "abort" overflow-checks = false incremental = false inherits = "release" strip = "symbols" [[bin]] name = "rg" path = "crates/core/main.rs" bench = false [[test]] name = "integration" path = "tests/tests.rs" [dependencies.anyhow] version = "1.0.75" [dependencies.bstr] version = "1.7.0" [dependencies.grep] version = "0.3.2" [dependencies.ignore] version = "0.4.23" [dependencies.lexopt] version = "0.3.0" [dependencies.log] version = "0.4.5" [dependencies.serde_json] version = "1.0.23" [dependencies.termcolor] version = "1.1.0" [dependencies.textwrap] version = "0.16.0" default-features = false [dev-dependencies.serde] version = "1.0.77" [dev-dependencies.serde_derive] version = "1.0.77" [dev-dependencies.walkdir] version = "2" [features] pcre2 = ["grep/pcre2"] [target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.jemallocator] version = "0.5.0"