Added macro to generate cast traits and impls automatically

This commit is contained in:
2022-12-14 05:49:51 +01:00
parent fd1540b63d
commit 4de0b31ec8
3 changed files with 34 additions and 31 deletions

7
Cargo.lock generated
View File

@@ -29,6 +29,7 @@ version = "0.1.0"
dependencies = [
"dotenv",
"google-home",
"paste",
"rumqttc",
"serde",
"serde_json",
@@ -492,6 +493,12 @@ version = "0.1.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf"
[[package]]
name = "paste"
version = "1.0.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cf1c2c742266c2f1041c914ba65355a83ae8747b05f208319784083583494b4b"
[[package]]
name = "pin-project"
version = "1.0.12"