From 168f07283a39a1d4f9c9d4656f46e31f5c3b77ec Mon Sep 17 00:00:00 2001 From: Yuya Nishihara Date: Thu, 14 Nov 2024 18:25:26 +0900 Subject: [PATCH] cargo: whitespace cleanup, sort dependencies --- Cargo.toml | 4 ++-- cli/Cargo.toml | 2 +- lib/Cargo.toml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 41616eebc..1e6e49c94 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,6 @@ digest = "0.10.7" dirs = "5.0.1" dunce = "1.0.5" either = "1.13.0" -sapling-renderdag = "0.1.0" futures = "0.3.31" git2 = { version = "0.19.0", features = [ # Do *not* disable this feature even if you'd like dynamic linking. Instead, @@ -93,6 +92,7 @@ regex = "1.11.1" rpassword = "7.3.1" rustix = { version = "0.38.40", features = ["fs"] } same-file = "1.0.6" +sapling-renderdag = "0.1.0" scm-record = "0.4.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0.132" @@ -140,7 +140,7 @@ implicit_clone = "warn" needless_for_each = "warn" semicolon_if_nothing_returned = "warn" uninlined_format_args = "warn" - + # Insta suggests compiling these packages in opt mode for faster testing. # See https://docs.rs/insta/latest/insta/#optional-faster-runs. [profile.dev.package] diff --git a/cli/Cargo.toml b/cli/Cargo.toml index 7bffd50c2..4ec287923 100644 --- a/cli/Cargo.toml +++ b/cli/Cargo.toml @@ -61,7 +61,6 @@ criterion = { workspace = true, optional = true } crossterm = { workspace = true } dirs = { workspace = true } dunce = { workspace = true } -sapling-renderdag = { workspace = true } futures = { workspace = true } git2 = { workspace = true } gix = { workspace = true } @@ -78,6 +77,7 @@ pollster = { workspace = true } rayon = { workspace = true } regex = { workspace = true } rpassword = { workspace = true } +sapling-renderdag = { workspace = true } scm-record = { workspace = true } serde = { workspace = true } slab = { workspace = true } diff --git a/lib/Cargo.toml b/lib/Cargo.toml index 246486aa1..5701e8933 100644 --- a/lib/Cargo.toml +++ b/lib/Cargo.toml @@ -86,11 +86,11 @@ winreg = { workspace = true } [dev-dependencies] assert_matches = { workspace = true } criterion = { workspace = true } -sapling-renderdag = { workspace = true } indoc = { workspace = true } insta = { workspace = true } num_cpus = { workspace = true } pretty_assertions = { workspace = true } +sapling-renderdag = { workspace = true } test-case = { workspace = true } testutils = { workspace = true } tokio = { workspace = true, features = ["full"] }