chore(rust): migrate to edition 2021

This commit applies 'cargo fix --edition' to safely migrate the project
to Edition 2021 of Rust.

A rustfmt.toml has also be added to enforce the flattening of use
statements when running 'cargo fmt'.
This commit is contained in:
LGUG2Z
2021-10-21 12:08:06 -07:00
parent d3cb9e07f7
commit 7070878f4a
7 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -6,7 +6,7 @@ description = "The command-line interface for Komorebi, a tiling window manager
categories = ["cli", "tiling-window-manager", "windows"]
repository = "https://github.com/LGUG2Z/komorebi"
license = "MIT"
edition = "2018"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html