mirror of
https://github.com/chmln/sd
synced 2024-11-13 23:17:07 +00:00
Misc Cargo.toml tweaks (#248)
* Move the `xtask` to edition 2021 too * Dont rely on feature unification for clap * Add `rust-version` to the `Cargo.toml`
This commit is contained in:
parent
b542702820
commit
d0fd7f6ac3
3 changed files with 14 additions and 6 deletions
14
Cargo.toml
14
Cargo.toml
|
@ -1,14 +1,21 @@
|
||||||
[workspace]
|
[workspace]
|
||||||
package.version = "0.7.6"
|
|
||||||
members = [
|
members = [
|
||||||
".",
|
".",
|
||||||
"xtask",
|
"xtask",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[workspace.dependencies.clap]
|
||||||
|
version = "4.4.3"
|
||||||
|
features = ["derive", "deprecated", "wrap_help"]
|
||||||
|
|
||||||
|
[workspace.package]
|
||||||
|
edition = "2021"
|
||||||
|
version = "0.7.6"
|
||||||
|
|
||||||
[package]
|
[package]
|
||||||
name = "sd"
|
name = "sd"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
authors = ["Gregory <gregory.mkv@gmail.com>"]
|
authors = ["Gregory <gregory.mkv@gmail.com>"]
|
||||||
description = "An intuitive find & replace CLI"
|
description = "An intuitive find & replace CLI"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
|
@ -17,6 +24,7 @@ license = "MIT"
|
||||||
homepage = "https://github.com/chmln/sd"
|
homepage = "https://github.com/chmln/sd"
|
||||||
repository = "https://github.com/chmln/sd.git"
|
repository = "https://github.com/chmln/sd.git"
|
||||||
categories = ["command-line-utilities", "text-processing", "development-tools"]
|
categories = ["command-line-utilities", "text-processing", "development-tools"]
|
||||||
|
rust-version = "1.70.0"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
regex = "1.9.5"
|
regex = "1.9.5"
|
||||||
|
@ -29,7 +37,7 @@ globwalk = "0.8.1"
|
||||||
ignore = "0.4.20"
|
ignore = "0.4.20"
|
||||||
ansi_term = "0.12.1"
|
ansi_term = "0.12.1"
|
||||||
is-terminal = "0.4.9"
|
is-terminal = "0.4.9"
|
||||||
clap = { version = "4.4.3", features = ["derive", "deprecated", "wrap_help"] }
|
clap.workspace = true
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
assert_cmd = "2.0.12"
|
assert_cmd = "2.0.12"
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
1. [ ] Regenerate static assets
|
1. [ ] Regenerate static assets
|
||||||
- `$ cargo xtask gen`
|
- `$ cargo xtask gen`
|
||||||
1. [ ] Update `rust-version` in `Cargo.toml`
|
1. [ ] Update `rust-version` in `Cargo.toml`
|
||||||
- `$ cargo msrv --min 1.40 -- cargo check`
|
- `$ cargo msrv --min 1.60 -- cargo check`
|
||||||
1. [ ] Bump `version` in `Cargo.toml`
|
1. [ ] Bump `version` in `Cargo.toml`
|
||||||
1. [ ] Update the `CHANGELOG.md`
|
1. [ ] Update the `CHANGELOG.md`
|
||||||
1. [ ] Merge changes through a PR to make sure that CI passes
|
1. [ ] Merge changes through a PR to make sure that CI passes
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
[package]
|
[package]
|
||||||
name = "xtask"
|
name = "xtask"
|
||||||
version.workspace = true
|
version.workspace = true
|
||||||
edition = "2021"
|
edition.workspace = true
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
clap = "4.4.3"
|
clap.workspace = true
|
||||||
clap_complete = "4.4.3"
|
clap_complete = "4.4.3"
|
||||||
clap_mangen = "0.2.14"
|
clap_mangen = "0.2.14"
|
||||||
roff = "0.2.1"
|
roff = "0.2.1"
|
||||||
|
|
Loading…
Reference in a new issue