Update to 2021 edition (#3217)
..and also include the rust-version property in the taskchampion crate.
This commit is contained in:
committed by
GitHub
parent
b52248f146
commit
1380d79148
@@ -1,8 +1,7 @@
|
||||
[package]
|
||||
name = "xtask"
|
||||
version = "0.4.1"
|
||||
edition = "2018"
|
||||
# rust-version = "1.65" # Used for testing xtask MSRV functionality
|
||||
edition = "2021"
|
||||
|
||||
[dependencies]
|
||||
anyhow.workspace = true
|
||||
|
||||
@@ -22,6 +22,7 @@ const MSRV_PATH_REGEX: &[(&str, &str)] = &[
|
||||
"taskchampion/src/lib.rs",
|
||||
r#"Rust version [0-9.]* and higher"#,
|
||||
),
|
||||
("taskchampion/Cargo.toml", r#"^rust-version = "[0-9.]"#),
|
||||
];
|
||||
|
||||
pub fn main() -> anyhow::Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user