mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Update to 2021 edition (#3217)
..and also include the rust-version property in the taskchampion crate.
This commit is contained in:
parent
b52248f146
commit
1380d79148
7 changed files with 9 additions and 6 deletions
|
@ -8,6 +8,8 @@ members = [
|
||||||
"taskchampion/xtask",
|
"taskchampion/xtask",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
resolver = "2"
|
||||||
|
|
||||||
# src/tc/rust is just part of the TW build and not a public crate
|
# src/tc/rust is just part of the TW build and not a public crate
|
||||||
exclude = [ "src/tc/rust" ]
|
exclude = [ "src/tc/rust" ]
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
name = "integration-tests"
|
name = "integration-tests"
|
||||||
version = "0.4.1"
|
version = "0.4.1"
|
||||||
authors = ["Dustin J. Mitchell <dustin@mozilla.com>"]
|
authors = ["Dustin J. Mitchell <dustin@mozilla.com>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "taskchampion-lib"
|
name = "taskchampion-lib"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libc.workspace = true
|
libc.workspace = true
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
name = "taskchampion-sync-server"
|
name = "taskchampion-sync-server"
|
||||||
version = "0.4.1"
|
version = "0.4.1"
|
||||||
authors = ["Dustin J. Mitchell <dustin@mozilla.com>"]
|
authors = ["Dustin J. Mitchell <dustin@mozilla.com>"]
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
|
@ -8,7 +8,8 @@ documentation = "https://docs.rs/crate/taskchampion"
|
||||||
repository = "https://github.com/GothenburgBitFactory/taskwarrior"
|
repository = "https://github.com/GothenburgBitFactory/taskwarrior"
|
||||||
readme = "../README.md"
|
readme = "../README.md"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
|
rust-version = "1.65"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["server-sync" ]
|
default = ["server-sync" ]
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
name = "xtask"
|
name = "xtask"
|
||||||
version = "0.4.1"
|
version = "0.4.1"
|
||||||
edition = "2018"
|
edition = "2021"
|
||||||
# rust-version = "1.65" # Used for testing xtask MSRV functionality
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
anyhow.workspace = true
|
anyhow.workspace = true
|
||||||
|
|
|
@ -22,6 +22,7 @@ const MSRV_PATH_REGEX: &[(&str, &str)] = &[
|
||||||
"taskchampion/src/lib.rs",
|
"taskchampion/src/lib.rs",
|
||||||
r#"Rust version [0-9.]* and higher"#,
|
r#"Rust version [0-9.]* and higher"#,
|
||||||
),
|
),
|
||||||
|
("taskchampion/Cargo.toml", r#"^rust-version = "[0-9.]"#),
|
||||||
];
|
];
|
||||||
|
|
||||||
pub fn main() -> anyhow::Result<()> {
|
pub fn main() -> anyhow::Result<()> {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue