Skip to content

Commit f9c35ea

Browse files
authored
Merge pull request #323 from fox0/msrv
Minimum Supported Rust Version = 1.77.0
2 parents 45fb86f + 6182e18 commit f9c35ea

File tree

26 files changed

+26
-1
lines changed

26 files changed

+26
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ members = [
3131
repository = "https://github.com/rustcoreutils/posixutils-rs"
3232
license = "MIT"
3333
edition = "2021"
34+
rust-version = "1.80.0"
3435

3536
[workspace.dependencies]
3637
clap = { version = "4", default-features = false, features = ["std", "derive", "help", "usage", "error-context", "cargo"] }

awk/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.2.1"
44
repository.workspace = true
55
license.workspace = true
66
edition.workspace = true
7+
rust-version.workspace = true
78

89
[dependencies]
910
plib = { path = "../plib" }

calc/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version = "0.2.1"
44
repository.workspace = true
55
license.workspace = true
66
edition.workspace = true
7+
rust-version.workspace = true
78

89
[dependencies]
910
plib = { path = "../plib" }

clippy.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
msrv = "1.80.0"

datetime/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

dev/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

display/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

file/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

fs/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

ftw/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
libc.workspace = true

gettext-rs/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "gettext-rs"
33
version = "0.2.1"
44
edition.workspace = true
5+
rust-version.workspace = true
56

67
[lints]
78
workspace = true

i18n/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

m4/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ authors = ["Luke Frisken"]
66
repository.workspace = true
77
license.workspace = true
88
edition.workspace = true
9+
rust-version.workspace = true
910

1011
[dependencies]
1112
clap.workspace = true

m4/test-manager/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
name = "m4-test-manager"
33
version = "0.1.0"
44
edition.workspace = true
5+
rust-version.workspace = true
56

67
[dependencies]
78
clap.workspace = true

misc/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

pathnames/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

plib/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
cfg-if = "1.0"

process/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

sccs/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

screen/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

sys/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

text/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

text/tr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -663,7 +663,7 @@ fn parse_string1_or_string2(string1_or_string2: &str) -> Result<Vec<Operand>, St
663663
/// Returns `false` otherwise.
664664
///
665665
fn contains_single_range(string1_or_string2: &str) -> bool {
666-
static REGEX_ONCE_CELL: OnceLock<Regex> = OnceLock::<Regex>::new();
666+
static REGEX_ONCE_CELL: OnceLock<Regex> = OnceLock::new();
667667

668668
let regex = REGEX_ONCE_CELL.get_or_init(|| {
669669
// Regular expression for a range of characters or \octal

tree/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

users/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

xform/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ authors = ["Jeff Garzik"]
55
repository.workspace = true
66
license.workspace = true
77
edition.workspace = true
8+
rust-version.workspace = true
89

910
[dependencies]
1011
plib = { path = "../plib" }

0 commit comments

Comments
 (0)