Skip to content
Myr

cargo: set `rust-version` on all crates

Before adoption: this commit came in with the history the project adopted, so no landing records it.

For the most part, we inherit from the main ripgrep `Cargo.toml`. But we're a little more conservative with `globset` and `ignore`.

authored by Chris Brown · committed by GitHub · parent be739c7 · Browse files · 10 files+24 added−11 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

10 files+24 added−11 removed

  • other:+24 added−11 removed

10 files+24 added−11 removed

modified:crates/cli/Cargo.toml+2 added-1 removed
modified:crates/globset/Cargo.toml+2 added-1 removed
modified:crates/grep/Cargo.toml+2 added-1 removed
modified:crates/ignore/Cargo.toml+2 added-1 removed
modified:crates/matcher/Cargo.toml+2 added-1 removed
modified:crates/pcre2/Cargo.toml+2 added-1 removed
9 unmodified lines
10repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/pcre2"11readme = "README.md"12keywords = ["regex", "grep", "pcre", "backreference", "look"]13license = "Unlicense OR MIT"14edition = "2024"14edition.workspace = true15rust-version.workspace = true1617[dependencies]18grep-matcher = { version = "0.1.8", path = "../matcher" }19log = "0.4.20"
1 unmodified line
modified:crates/printer/Cargo.toml+2 added-1 removed
10 unmodified lines
11repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/printer"12readme = "README.md"13keywords = ["grep", "pattern", "print", "printer", "sink"]14license = "Unlicense OR MIT"15edition = "2024"15edition.workspace = true16rust-version.workspace = true1718[features]19default = ["serde"]20serde = ["dep:serde", "dep:serde_json"]
24 unmodified lines
modified:crates/regex/Cargo.toml+2 added-1 removed
9 unmodified lines
10repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/regex"11readme = "README.md"12keywords = ["regex", "grep", "search", "pattern", "line"]13license = "Unlicense OR MIT"14edition = "2024"14edition.workspace = true15rust-version.workspace = true1617[dependencies]18bstr = "1.6.2"19grep-matcher = { version = "0.1.8", path = "../matcher" }
3 unmodified lines
modified:crates/searcher/Cargo.toml+2 added-1 removed
9 unmodified lines
10repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/searcher"11readme = "README.md"12keywords = ["regex", "grep", "egrep", "search", "pattern"]13license = "Unlicense OR MIT"14edition = "2024"14edition.workspace = true15rust-version.workspace = true1617[dependencies]18bstr = { version = "1.6.2", default-features = false, features = ["std"] }19encoding_rs = "0.8.33"
14 unmodified lines
modified:Cargo.toml+6 added-2 removed
22 unmodified lines
23 "/crates/fuzz",24]25build = "build.rs"26autotests = false27edition = "2024"28rust-version = "1.96"27edition.workspace = true28rust-version.workspace = true2930[[bin]]31bench = false32path = "crates/core/main.rs"
16 unmodified lines
49 "crates/searcher",50 "crates/ignore",51]5253[workspace.package]54edition = "2024"55rust-version = "1.96"5657[dependencies]58anyhow = "1.0.75"59bstr = "1.7.0"60grep = { version = "0.4.1", path = "crates/grep" }
65 unmodified lines