From b7f98d1d9930b15f07342f67d2560aecd4ebc401 Mon Sep 17 00:00:00 2001 From: Fomalhaut Weisszwerg Date: Mon, 27 Nov 2023 21:24:57 +0900 Subject: set Cargo feature resolver to v2 (#8917) * fix: version of Cargo feature resolver. This commit solve the ambiguity to determin the version of resolver. To get more detail, see the following two documents: - https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions - https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html * unified: Rust edition in all workspaces. Now, the Rust 2021 is available in all workspaces. * fined up: Cargo.toml by using workspace inheritance. To get more detail of the `workspace.package` table, see a following document: - https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table--- helix-vcs/Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'helix-vcs/Cargo.toml') diff --git a/helix-vcs/Cargo.toml b/helix-vcs/Cargo.toml index edb6291c..1152cf9a 100644 --- a/helix-vcs/Cargo.toml +++ b/helix-vcs/Cargo.toml @@ -2,8 +2,9 @@ name = "helix-vcs" version = "0.6.0" authors = ["Blaž Hrastnik "] -edition = "2021" -license = "MPL-2.0" +edition.workspace = true +license.workspace = true +rust-version.workspace = true categories = ["editor"] repository = "https://github.com/helix-editor/helix" homepage = "https://helix-editor.com" -- cgit v1.2.3-70-g09d2