From bb18cfdcee91da6fddc5feaf07a88cc9b6123f8c Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Tue, 27 Dec 2022 22:34:40 +0100 Subject: [PATCH] Use workspaces --- Cargo.toml | 6 +- google-home/.gitignore | 1 - google-home/Cargo.lock | 131 ----------------------------------------- impl_cast/.gitignore | 1 - impl_cast/Cargo.lock | 16 ----- 5 files changed, 5 insertions(+), 150 deletions(-) delete mode 100644 google-home/.gitignore delete mode 100644 google-home/Cargo.lock delete mode 100644 impl_cast/.gitignore delete mode 100644 impl_cast/Cargo.lock diff --git a/Cargo.toml b/Cargo.toml index ef138ce..b29d686 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,11 @@ name = "automation" version = "0.1.0" edition = "2021" -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[workspace] +members = [ + "impl_cast", + "google-home" +] [dependencies] rumqttc = "0.18" diff --git a/google-home/.gitignore b/google-home/.gitignore deleted file mode 100644 index ea8c4bf..0000000 --- a/google-home/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/target diff --git a/google-home/Cargo.lock b/google-home/Cargo.lock deleted file mode 100644 index f4d297e..0000000 --- a/google-home/Cargo.lock +++ /dev/null @@ -1,131 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "anyhow" -version = "1.0.66" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "216261ddc8289130e551ddcd5ce8a064710c0d064a4d2895c67151c92b5443f6" - -[[package]] -name = "google-home" -version = "0.1.0" -dependencies = [ - "anyhow", - "impl_cast", - "serde", - "serde_json", - "thiserror", -] - -[[package]] -name = "impl_cast" -version = "0.1.0" -dependencies = [ - "paste", -] - -[[package]] -name = "itoa" -version = "1.0.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4217ad341ebadf8d8e724e264f13e593e0648f5b3e94b3896a5df283be015ecc" - -[[package]] -name = "paste" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf1c2c742266c2f1041c914ba65355a83ae8747b05f208319784083583494b4b" - -[[package]] -name = "proc-macro2" -version = "1.0.47" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" -dependencies = [ - "unicode-ident", -] - -[[package]] -name = "quote" -version = "1.0.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" -dependencies = [ - "proc-macro2", -] - -[[package]] -name = "ryu" -version = "1.0.11" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4501abdff3ae82a1c1b477a17252eb69cee9e66eb915c1abaa4f44d873df9f09" - -[[package]] -name = "serde" -version = "1.0.149" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "256b9932320c590e707b94576e3cc1f7c9024d0ee6612dfbcf1cb106cbe8e055" -dependencies = [ - "serde_derive", -] - -[[package]] -name = "serde_derive" -version = "1.0.149" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4eae9b04cbffdfd550eb462ed33bc6a1b68c935127d008b27444d08380f94e4" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "serde_json" -version = "1.0.89" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "020ff22c755c2ed3f8cf162dbb41a7268d934702f3ed3631656ea597e08fc3db" -dependencies = [ - "itoa", - "ryu", - "serde", -] - -[[package]] -name = "syn" -version = "1.0.105" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b9b43d45702de4c839cb9b51d9f529c5dd26a4aff255b42b1ebc03e88ee908" -dependencies = [ - "proc-macro2", - "quote", - "unicode-ident", -] - -[[package]] -name = "thiserror" -version = "1.0.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "10deb33631e3c9018b9baf9dcbbc4f737320d2b576bac10f6aefa048fa407e3e" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.37" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "982d17546b47146b28f7c22e3d08465f6b8903d0ea13c1660d9d84a6e7adcdbb" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - -[[package]] -name = "unicode-ident" -version = "1.0.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" diff --git a/impl_cast/.gitignore b/impl_cast/.gitignore deleted file mode 100644 index ea8c4bf..0000000 --- a/impl_cast/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/target diff --git a/impl_cast/Cargo.lock b/impl_cast/Cargo.lock deleted file mode 100644 index 457b9db..0000000 --- a/impl_cast/Cargo.lock +++ /dev/null @@ -1,16 +0,0 @@ -# This file is automatically @generated by Cargo. -# It is not intended for manual editing. -version = 3 - -[[package]] -name = "impl_cast" -version = "0.1.0" -dependencies = [ - "paste", -] - -[[package]] -name = "paste" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf1c2c742266c2f1041c914ba65355a83ae8747b05f208319784083583494b4b"