diff options
author | Fomalhaut Weisszwerg | 2023-11-27 12:24:57 +0000 |
---|---|---|
committer | GitHub | 2023-11-27 12:24:57 +0000 |
commit | b7f98d1d9930b15f07342f67d2560aecd4ebc401 (patch) | |
tree | 76735bafef2675f2441776a295c1aac813c48f50 /helix-term | |
parent | 3f9788daaa0669a81e218d18636f9abb285b6c15 (diff) |
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
Diffstat (limited to 'helix-term')
-rw-r--r-- | helix-term/Cargo.toml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml index 0c207ffd..a11b4ae5 100644 --- a/helix-term/Cargo.toml +++ b/helix-term/Cargo.toml @@ -3,14 +3,14 @@ name = "helix-term" version = "0.6.0" description = "A post-modern text editor." authors = ["Blaž Hrastnik <blaz@mxxn.io>"] -edition = "2021" -license = "MPL-2.0" +edition.workspace = true +license.workspace = true categories = ["editor", "command-line-utilities"] repository = "https://github.com/helix-editor/helix" homepage = "https://helix-editor.com" include = ["src/**/*", "README.md"] default-run = "hx" -rust-version = "1.70" +rust-version.workspace = true [features] default = ["git"] |