From 0090a77dc1bb272005664381731ab4ba844d76c8 Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Thu, 4 Sep 2025 02:59:14 +0200 Subject: [PATCH] style: Sort crates by name --- Cargo.toml | 70 +++++++++++++++--------------- automation_cast/Cargo.toml | 2 - automation_devices/Cargo.toml | 22 +++++----- automation_lib/Cargo.toml | 16 +++---- google_home/google_home/Cargo.toml | 8 ++-- 5 files changed, 57 insertions(+), 61 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cd44185..2028765 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,34 +5,22 @@ edition = "2024" [workspace] members = [ - "automation_macro", "automation_cast", - "google_home/google_home", - "google_home/google_home_macro", "automation_devices", "automation_lib", + "automation_macro", + "google_home/google_home", + "google_home/google_home_macro", ] [workspace.dependencies] -mlua = { version = "0.11.3", features = [ - "lua54", - "vendored", - "macros", - "serialize", - "async", - "send", -] } -automation_macro = { path = "./automation_macro" } -automation_cast = { path = "./automation_cast" } -automation_lib = { path = "./automation_lib" } -automation_devices = { path = "./automation_devices" } -google_home = { path = "./google_home/google_home" } -google_home_macro = { path = "./google_home/google_home_macro" } -tokio = { version = "1", features = ["rt-multi-thread"] } -rumqttc = "0.24.0" -tracing = "0.1.41" +air_filter_types = { git = "https://git.huizinga.dev/Dreaded_X/airfilter", tag = "v0.4.4" } anyhow = "1.0.99" async-trait = "0.1.89" +automation_cast = { path = "./automation_cast" } +automation_devices = { path = "./automation_devices" } +automation_lib = { path = "./automation_lib" } +automation_macro = { path = "./automation_macro" } axum = "0.8.4" bytes = "1.10.1" dotenvy = "0.15.7" @@ -42,45 +30,57 @@ eui48 = { version = "1.1.0", features = [ "serde", ], default-features = false } futures = "0.3.31" +google_home = { path = "./google_home/google_home" } +google_home_macro = { path = "./google_home/google_home_macro" } hostname = "0.4.1" indexmap = { version = "2.11.0", features = ["serde"] } itertools = "0.14.0" json_value_merge = "2.0.1" +mlua = { version = "0.11.3", features = [ + "lua54", + "vendored", + "macros", + "serialize", + "async", + "send", +] } proc-macro2 = "1.0.101" quote = "1.0.40" reqwest = { version = "0.12.23", features = [ "json", "rustls-tls", ], default-features = false } # Use rustls, since the other packages also use rustls +rumqttc = "0.24.0" serde = { version = "1.0.219", features = ["derive"] } serde_json = "1.0.143" serde_repr = "0.1.20" syn = { version = "2.0.106", features = ["extra-traits", "full"] } thiserror = "2.0.16" +tokio = { version = "1", features = ["rt-multi-thread"] } tokio-cron-scheduler = "0.14.0" +tracing = "0.1.41" tracing-subscriber = "0.3.20" uuid = "1.18.1" wakey = "0.3.0" -air_filter_types = { git = "https://git.huizinga.dev/Dreaded_X/airfilter", tag = "v0.4.4" } [dependencies] -async-trait = { workspace = true } -automation_lib = { workspace = true } -automation_devices = { workspace = true } -google_home = { workspace = true } -mlua = { workspace = true } -tokio = { workspace = true } -hostname = { workspace = true } -rumqttc = { workspace = true } -axum = { workspace = true } -tracing = { workspace = true } anyhow = { workspace = true } +async-trait = { workspace = true } +automation_devices = { workspace = true } +automation_lib = { workspace = true } +axum = { workspace = true } dotenvy = { workspace = true } -tracing-subscriber = { workspace = true } -serde = { workspace = true } -thiserror = { workspace = true } -serde_json = { workspace = true } +google_home = { workspace = true } +hostname = { workspace = true } +mlua = { workspace = true } reqwest = { workspace = true } +rumqttc = { workspace = true } +serde = { workspace = true } +serde_json = { workspace = true } +thiserror = { workspace = true } +tokio = { workspace = true } +tracing = { workspace = true } +tracing-subscriber = { workspace = true } [patch.crates-io] wakey = { git = "https://git.huizinga.dev/Dreaded_X/wakey" } diff --git a/automation_cast/Cargo.toml b/automation_cast/Cargo.toml index 98ee0a8..d8af391 100644 --- a/automation_cast/Cargo.toml +++ b/automation_cast/Cargo.toml @@ -3,6 +3,4 @@ name = "automation_cast" version = "0.1.0" edition = "2024" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] diff --git a/automation_devices/Cargo.toml b/automation_devices/Cargo.toml index d50f3e7..0012ce0 100644 --- a/automation_devices/Cargo.toml +++ b/automation_devices/Cargo.toml @@ -4,22 +4,22 @@ version = "0.1.0" edition = "2024" [dependencies] +air_filter_types = { workspace = true } +anyhow = { workspace = true } +async-trait = { workspace = true } automation_lib = { workspace = true } automation_macro = { workspace = true } +bytes = { workspace = true } +dyn-clone = { workspace = true } +eui48 = { workspace = true } google_home = { workspace = true } mlua = { workspace = true } -async-trait = { workspace = true } -dyn-clone = { workspace = true } +reqwest = { workspace = true } rumqttc = { workspace = true } -tokio = { workspace = true } -serde_repr = { workspace = true } -tracing = { workspace = true } -serde_json = { workspace = true } serde = { workspace = true } -reqwest = { workspace = true } # Use rustls, since the other packages also use rustls -anyhow = { workspace = true } -bytes = { workspace = true } +serde_json = { workspace = true } +serde_repr = { workspace = true } thiserror = { workspace = true } -eui48 = { workspace = true } +tokio = { workspace = true } +tracing = { workspace = true } wakey = { workspace = true } -air_filter_types = { workspace = true } diff --git a/automation_lib/Cargo.toml b/automation_lib/Cargo.toml index a2aca78..e493005 100644 --- a/automation_lib/Cargo.toml +++ b/automation_lib/Cargo.toml @@ -4,19 +4,19 @@ version = "0.1.0" edition = "2024" [dependencies] +async-trait = { workspace = true } automation_cast = { workspace = true } +bytes = { workspace = true } +dyn-clone = { workspace = true } +futures = { workspace = true } google_home = { workspace = true } +indexmap = { workspace = true } +mlua = { workspace = true } rumqttc = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } -tokio = { workspace = true } -tracing = { workspace = true } -bytes = { workspace = true } -async-trait = { workspace = true } -futures = { workspace = true } thiserror = { workspace = true } -indexmap = { workspace = true } +tokio = { workspace = true } tokio-cron-scheduler = { workspace = true } -mlua = { workspace = true } +tracing = { workspace = true } uuid = { workspace = true } -dyn-clone = { workspace = true } diff --git a/google_home/google_home/Cargo.toml b/google_home/google_home/Cargo.toml index 0791c55..449a6d0 100644 --- a/google_home/google_home/Cargo.toml +++ b/google_home/google_home/Cargo.toml @@ -3,15 +3,13 @@ name = "google_home" version = "0.1.0" edition = "2024" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html - [dependencies] +async-trait = { workspace = true } automation_cast = { workspace = true } +futures = { workspace = true } google_home_macro = { workspace = true } +json_value_merge = { workspace = true } serde = { workspace = true } serde_json = { workspace = true } thiserror = { workspace = true } tokio = { workspace = true } -async-trait = { workspace = true } -futures = { workspace = true } -json_value_merge = { workspace = true }