From 00cd331a4d30406b785cb3855fc64ef1b9353ffa Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 26 Jun 2023 00:47:57 +0530 Subject: [PATCH] chore: reformat TOML files with Taplo --- Cargo.toml | 14 +++++++++++--- rust-toolchain.toml | 4 ++-- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 249edca..e627fd9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,10 @@ [package] name = "gitice" version = "2.0.2" -authors = ["Harsh Shandilya ", "Amogh Lele "] +authors = [ + "Harsh Shandilya ", + "Amogh Lele ", +] edition = "2021" description = "Freeze your local git repositories for easy restoration" repository = "https://github.com/msfjarvis/gitice" @@ -15,7 +18,7 @@ include = ["src/**/*", "LICENSE-*", "README.md"] [dependencies] anyhow = "1.0.71" -clap = { version = "4.3.8", features = [ "color", "deprecated", "derive" ] } +clap = { version = "4.3.8", features = ["color", "deprecated", "derive"] } gix = "0.46.0" serde = { version = "1.0.164", default-features = false } serde_derive = "1.0.164" @@ -43,4 +46,9 @@ ci = ["github"] # The installers to generate for each app installers = ["shell", "powershell"] # Target platforms to build apps for (Rust target-triple syntax) -targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "aarch64-apple-darwin"] +targets = [ + "x86_64-unknown-linux-gnu", + "x86_64-apple-darwin", + "x86_64-pc-windows-msvc", + "aarch64-apple-darwin", +] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 455ac0e..5f8804e 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,5 +1,5 @@ [toolchain] channel = "nightly-2023-06-10" -components = [ "clippy", "rustfmt", "rust-src" ] -targets = [ "x86_64-unknown-linux-gnu" ] +components = ["clippy", "rustfmt", "rust-src"] +targets = ["x86_64-unknown-linux-gnu"] profile = "minimal"