Skip to content
Myr

Cargo.toml

This file

Path

Cargo.toml

126 lines · 3.5 KiB · TOML

Last changed by

index: add some initial indexing scaffoldingAndrew Gallantbefore adoption8372866

History of this file

Take it

The walk stopped after 200 commits: lines older than 5f5da48 point at it.

globset: support nested alternatesLuke Sandbergbefore adoption5f5da48

lines 1–2why, one step back
1[package]
2name = "ripgrep"

15.2.0Andrew Gallantbefore adoptione89fff8

line 3why, one step back
3version = "15.2.0" #:version

globset: support nested alternatesLuke Sandbergbefore adoption5f5da48

lines 4–26why, one step back
4authors = ["Andrew Gallant <jamslam@gmail.com>"]
5description = """6ripgrep is a line-oriented search tool that recursively searches the current7directory for a regex pattern while respecting gitignore rules. ripgrep has8first class support on Windows, macOS and Linux.9"""10documentation = "https://github.com/BurntSushi/ripgrep"11homepage = "https://github.com/BurntSushi/ripgrep"12repository = "https://github.com/BurntSushi/ripgrep"13keywords = ["regex", "grep", "egrep", "search", "pattern"]14categories = ["command-line-utilities", "text-processing"]15license = "Unlicense OR MIT"16exclude = [17 "HomebrewFormula",18 "/.github/",19 "/ci/",20 "/pkg/brew",21 "/benchsuite/",22 "/scripts/",23 "/crates/fuzz",24]25build = "build.rs"26autotests = false

cargo: set `rust-version` on all cratesChris Brownbefore adoptiona9dc222

lines 27–28why, one step back
27edition.workspace = true
28rust-version.workspace = true

globset: support nested alternatesLuke Sandbergbefore adoption5f5da48

lines 29–43why, one step back
29
30[[bin]]31bench = false32path = "crates/core/main.rs"33name = "rg"3435[[test]]36name = "integration"37path = "tests/tests.rs"3839[workspace]40members = [41 "crates/globset",42 "crates/grep",43 "crates/cli",

index: add grep-index crateAndrew Gallantbefore adoptionbe739c7

line 44why, one step back
44 "crates/index",

globset: support nested alternatesLuke Sandbergbefore adoption5f5da48

lines 45–51why, one step back
45 "crates/matcher",
46 "crates/pcre2",47 "crates/printer",48 "crates/regex",49 "crates/searcher",50 "crates/ignore",51]

cargo: set `rust-version` on all cratesChris Brownbefore adoptiona9dc222

lines 52–55why, one step back
52
53[workspace.package]54edition = "2024"55rust-version = "1.96"

globset: support nested alternatesLuke Sandbergbefore adoption5f5da48

lines 56–59why, one step back
56
57[dependencies]58anyhow = "1.0.75"59bstr = "1.7.0"

deps: bump to grep 0.4.1Andrew Gallantbefore adoptiona63671e

line 60why, one step back
60grep = { version = "0.4.1", path = "crates/grep" }

index: add some initial indexing scaffoldingAndrew Gallantbefore adoption8372866

line 61why, one step back
61grep-index = { version = "0.0.1", path = "crates/index", optional = true }

deps: bump ignore versionAndrew Gallantbefore adoptiond798261

line 62why, one step back
62ignore = { version = "0.4.29", path = "crates/ignore" }

globset: support nested alternatesLuke Sandbergbefore adoption5f5da48

lines 63–65why, one step back
63lexopt = "0.3.0"
64log = "0.4.5"65serde_json = "1.0.23"

deps: upgrade the lower bound for termcolor from 1.1.0 to 1.4.0Alexander Kjällbefore adoption3b62573

line 66why, one step back
66termcolor = "1.4.0"

globset: support nested alternatesLuke Sandbergbefore adoption5f5da48

lines 67–69why, one step back
67textwrap = { version = "0.16.0", default-features = false }
6869[target.'cfg(all(target_env = "musl", target_pointer_width = "64"))'.dependencies.tikv-jemallocator]

deps: bump to tikv-jemallocator 0.7.0Andrew Gallantbefore adoptiond5b85d4

line 70why, one step back
70version = "0.7.0"

globset: support nested alternatesLuke Sandbergbefore adoption5f5da48

lines 71–78why, one step back
71
72[dev-dependencies]73serde = "1.0.77"74serde_derive = "1.0.77"75walkdir = "2"7677[features]78pcre2 = ["grep/pcre2"]

cargo: add new build-time `unstable-index` featureAndrew Gallantbefore adoptiond958105

lines 79–80why, one step back
79# This provides opt-in support for indexing. This is currently in active
80# development and may have very serious bugs. Use at your own risk.

index: add some initial indexing scaffoldingAndrew Gallantbefore adoption8372866

line 81why, one step back
81unstable-index = ["dep:grep-index"]

globset: support nested alternatesLuke Sandbergbefore adoption5f5da48

lines 82–98why, one step back
82
83[profile.release]84debug = 18586[profile.release-lto]87inherits = "release"88opt-level = 389debug = "none"90strip = "symbols"91debug-assertions = false92overflow-checks = false93lto = "fat"94panic = "abort"95incremental = false96codegen-units = 19798[profile.deb]

release: finally switch to LTO for release binariesAndrew Gallantbefore adoption4c95373

line 99why, one step back
99inherits = "release-lto"

globset: support nested alternatesLuke Sandbergbefore adoption5f5da48

lines 100–126why, one step back
100
101[package.metadata.deb]102features = ["pcre2"]103section = "utils"104assets = [105 ["target/release/rg", "usr/bin/", "755"],106 ["COPYING", "usr/share/doc/ripgrep/", "644"],107 ["LICENSE-MIT", "usr/share/doc/ripgrep/", "644"],108 ["UNLICENSE", "usr/share/doc/ripgrep/", "644"],109 ["CHANGELOG.md", "usr/share/doc/ripgrep/CHANGELOG", "644"],110 ["README.md", "usr/share/doc/ripgrep/README", "644"],111 ["FAQ.md", "usr/share/doc/ripgrep/FAQ", "644"],112 # The man page is automatically generated by ripgrep's build process, so113 # this file isn't actually committed. Instead, to create a dpkg, either114 # create a deployment/deb directory and copy the man page to it, or use the115 # 'ci/build-deb' script.116 ["deployment/deb/rg.1", "usr/share/man/man1/rg.1", "644"],117 # Similarly for shell completions.118 ["deployment/deb/rg.bash", "usr/share/bash-completion/completions/rg", "644"],119 ["deployment/deb/rg.fish", "usr/share/fish/vendor_completions.d/rg.fish", "644"],120 ["deployment/deb/_rg", "usr/share/zsh/vendor-completions/", "644"],121]122extended-description = """\123ripgrep (rg) recursively searches your current directory for a regex pattern.124By default, ripgrep will respect your .gitignore and automatically skip hidden125files/directories and binary files.126"""