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
Provenance
- Commit
a9dc222- Tree
411a3ea- Author
Chris Brown <albatrossaionline@gmail.com>- Committer
GitHub <noreply@github.com>- Parent
be739c7
10 files changed+24 added−11 removed
modified:crates/cli/Cargo.toml+2 added-1 removed
9 unmodified lines10111213141415161718198 unmodified lines9 unmodified linesrepository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/cli"readme = "README.md"keywords = ["regex", "grep", "cli", "utility", "util"]license = "Unlicense OR MIT"edition = "2024"edition.workspace = truerust-version.workspace = true
[dependencies]bstr = { version = "1.6.2", features = ["std"] }globset = { version = "0.4.18", path = "../globset" }8 unmodified linesmodified:crates/globset/Cargo.toml+2 added-1 removed
11 unmodified lines121314151616171819202129 unmodified lines11 unmodified linesrepository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/globset"readme = "README.md"keywords = ["regex", "glob", "multiple", "set", "pattern"]license = "Unlicense OR MIT"edition = "2024"edition.workspace = truerust-version = "1.88"
[lib]name = "globset"bench = false29 unmodified linesmodified:crates/grep/Cargo.toml+2 added-1 removed
9 unmodified lines101112131414151617181915 unmodified lines9 unmodified linesrepository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/grep"readme = "README.md"keywords = ["regex", "grep", "egrep", "search", "pattern"]license = "Unlicense OR MIT"edition = "2024"edition.workspace = truerust-version.workspace = true
[dependencies]grep-cli = { version = "0.1.12", path = "../cli" }grep-matcher = { version = "0.1.8", path = "../matcher" }15 unmodified linesmodified:crates/ignore/Cargo.toml+2 added-1 removed
10 unmodified lines111213141515161718192025 unmodified lines10 unmodified linesrepository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/ignore"readme = "README.md"keywords = ["glob", "ignore", "gitignore", "pattern", "file"]license = "Unlicense OR MIT"edition = "2024"edition.workspace = truerust-version = "1.88"
[lib]name = "ignore"bench = false25 unmodified linesmodified:crates/matcher/Cargo.toml+2 added-1 removed
10 unmodified lines11121314151516171819206 unmodified lines10 unmodified linesreadme = "README.md"keywords = ["regex", "pattern", "trait"]license = "Unlicense OR MIT"autotests = falseedition = "2024"edition.workspace = truerust-version.workspace = true
[dependencies]memchr = "2.6.3"
6 unmodified linesmodified:crates/pcre2/Cargo.toml+2 added-1 removed
9 unmodified lines10 repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/pcre2"11 readme = "README.md"12 keywords = ["regex", "grep", "pcre", "backreference", "look"]13 license = "Unlicense OR MIT"14-edition = "2024"14+edition.workspace = true15+rust-version.workspace = true16 17 [dependencies]18 grep-matcher = { version = "0.1.8", path = "../matcher" }19 log = "0.4.20"1 unmodified linemodified:crates/printer/Cargo.toml+2 added-1 removed
10 unmodified lines11 repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/printer"12 readme = "README.md"13 keywords = ["grep", "pattern", "print", "printer", "sink"]14 license = "Unlicense OR MIT"15-edition = "2024"15+edition.workspace = true16+rust-version.workspace = true17 18 [features]19 default = ["serde"]20 serde = ["dep:serde", "dep:serde_json"]24 unmodified linesmodified:crates/regex/Cargo.toml+2 added-1 removed
9 unmodified lines10 repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/regex"11 readme = "README.md"12 keywords = ["regex", "grep", "search", "pattern", "line"]13 license = "Unlicense OR MIT"14-edition = "2024"14+edition.workspace = true15+rust-version.workspace = true16 17 [dependencies]18 bstr = "1.6.2"19 grep-matcher = { version = "0.1.8", path = "../matcher" }3 unmodified linesmodified:crates/searcher/Cargo.toml+2 added-1 removed
9 unmodified lines10 repository = "https://github.com/BurntSushi/ripgrep/tree/master/crates/searcher"11 readme = "README.md"12 keywords = ["regex", "grep", "egrep", "search", "pattern"]13 license = "Unlicense OR MIT"14-edition = "2024"14+edition.workspace = true15+rust-version.workspace = true16 17 [dependencies]18 bstr = { version = "1.6.2", default-features = false, features = ["std"] }19 encoding_rs = "0.8.33"14 unmodified linesmodified:Cargo.toml+6 added-2 removed
22 unmodified lines23 "/crates/fuzz",24 ]25 build = "build.rs"26 autotests = false27-edition = "2024"28-rust-version = "1.96"27+edition.workspace = true28+rust-version.workspace = true29 30 [[bin]]31 bench = false32 path = "crates/core/main.rs"16 unmodified lines49 "crates/searcher",50 "crates/ignore",51 ]52 53+[workspace.package]54+edition = "2024"55+rust-version = "1.96"56+57 [dependencies]58 anyhow = "1.0.75"59 bstr = "1.7.0"60 grep = { version = "0.4.1", path = "crates/grep" }65 unmodified lines