git.delta.rocks / jrsonnet / refs/commits / 8058495d74b6

difftreelog

style add taplo config

Lach2025-04-27parent: #426fcb5.patch.diff
in: trunk

6 files changed

modifiedCargo.tomldiffbeforeafterboth
before · Cargo.toml
1[workspace]2members = ["crates/*", "cmds/*"]3resolver = "2"4package.version = "0.1.0"5package.edition = "2021"6package.rust-version = "1.82.0"78[workspace.dependencies]9nixlike = { path = "./crates/nixlike" }10better-command = { path = "./crates/better-command" }11fleet-shared = { path = "./crates/fleet-shared" }12nix-eval = { path = "./crates/nix-eval" }1314tokio = { version = "1.36.0", features = [15  "fs",16  "rt",17  "macros",18  "sync",19  "time",20  "rt-multi-thread",21] }22tokio-util = { version = "0.7.11", features = ["codec"] }23clap = { version = "4.5", features = ["derive", "env", "wrap_help", "unicode"] }24clap_complete = "4.5"25age = { version = "0.11", features = ["ssh"] }26anyhow = "1.0"27tracing = "0.1"28tracing-subscriber = { version = "0.3", features = ["fmt", "env-filter"] }29serde = { version = "1.0", features = ["derive"] }30serde_json = "1.0"31tempfile = "3.10"32nix = { version = "0.29.0", features = ["user", "fs"] }33thiserror = "2.0.3"
after · Cargo.toml
1[workspace]2members = ["crates/*", "cmds/*"]3resolver = "2"4package.version = "0.1.0"5package.edition = "2021"6package.rust-version = "1.82.0"78[workspace.dependencies]9better-command = { path = "./crates/better-command" }10fleet-shared = { path = "./crates/fleet-shared" }11nix-eval = { path = "./crates/nix-eval" }12nixlike = { path = "./crates/nixlike" }1314age = { version = "0.11", features = ["ssh"] }15anyhow = "1.0"16clap = { version = "4.5", features = ["derive", "env", "unicode", "wrap_help"] }17clap_complete = "4.5"18nix = { version = "0.29.0", features = ["fs", "user"] }19serde = { version = "1.0", features = ["derive"] }20serde_json = "1.0"21tempfile = "3.10"22thiserror = "2.0.3"23tokio = { version = "1.36.0", features = ["fs", "macros", "rt", "rt-multi-thread", "sync", "time"] }24tokio-util = { version = "0.7.11", features = ["codec"] }25tracing = "0.1"26tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
modifiedcrates/nix-eval/Cargo.tomldiffbeforeafterboth
--- a/crates/nix-eval/Cargo.toml
+++ b/crates/nix-eval/Cargo.toml
@@ -8,17 +8,18 @@
 [dependencies]
 anyhow.workspace = true
 better-command.workspace = true
-futures = "0.3.30"
-itertools = "0.13.0"
 nixlike.workspace = true
-r2d2 = "0.8.10"
-regex = "1.10.6"
 serde = { workspace = true, features = ["derive"] }
 serde_json.workspace = true
 thiserror.workspace = true
-tokio = { workspace = true, features = ["process", "io-util"] }
+tokio = { workspace = true, features = ["io-util", "process"] }
 tokio-util.workspace = true
 tracing.workspace = true
+
+futures = "0.3.30"
+itertools = "0.13.0"
+r2d2 = "0.8.10"
+regex = "1.10.6"
 unindent = "0.2.3"
 
 # [build-dependencies]
modifiedcrates/nix-native-eval/Cargo.tomldiffbeforeafterboth
--- a/crates/nix-native-eval/Cargo.toml
+++ b/crates/nix-native-eval/Cargo.toml
@@ -6,4 +6,5 @@
 
 [dependencies]
 anyhow.workspace = true
+
 nixrs = { git = "https://github.com/Anillc/nixrs", version = "0.1.0" }
modifiedcrates/nixlike/Cargo.tomldiffbeforeafterboth
--- a/crates/nixlike/Cargo.toml
+++ b/crates/nixlike/Cargo.toml
@@ -6,10 +6,11 @@
 
 [dependencies]
 thiserror.workspace = true
+
 alejandra = { git = "https://github.com/kamadorueda/alejandra" }
 linked-hash-map = "0.5.6"
 peg = "0.8.2"
-serde = "1.0.196"
-serde_json = "1.0.113"
 ron = "0.8.1"
+serde = "1.0.196"
 serde-transcode = "1.1.1"
+serde_json = "1.0.113"
modifiedcrates/nixlike/fuzz/Cargo.tomldiffbeforeafterboth
--- a/crates/nixlike/fuzz/Cargo.toml
+++ b/crates/nixlike/fuzz/Cargo.toml
@@ -11,9 +11,7 @@
 
 [dependencies]
 libfuzzer-sys = "0.4"
-
-[dependencies.nixlike]
-path = ".."
+nixlike.path = ".."
 
 # Prevent this from interfering with workspaces
 [workspace]
addedtaplo.tomldiffbeforeafterboth
--- /dev/null
+++ b/taplo.toml
@@ -0,0 +1,13 @@
+[formatting]
+inline_table_expand = false
+indent_string = "\t"
+array_auto_expand = false
+
+[[rule]]
+include = ["**/Cargo.toml"]
+keys = ['dependencies', 'workspace.dependencies']
+
+[rule.formatting]
+reorder_keys = true
+reorder_arrays = true
+column_width = 9999