add empty derive

This commit is contained in:
nora 2024-04-14 22:04:29 +02:00
parent eea39e1f16
commit 63bd32c3cd
3 changed files with 3 additions and 0 deletions

1
Cargo.lock generated
View file

@ -1083,6 +1083,7 @@ version = "0.1.0"
dependencies = [ dependencies = [
"eyre", "eyre",
"terustform", "terustform",
"terustform-macros",
"tokio", "tokio",
] ]

View file

@ -6,5 +6,6 @@ edition = "2021"
[dependencies] [dependencies]
eyre = "0.6.12" eyre = "0.6.12"
terustform = { path = "../terustform" } terustform = { path = "../terustform" }
terustform-macros = { path = "../terustform-macros" }
tokio = { version = "1.37.0", features = ["full"] } tokio = { version = "1.37.0", features = ["full"] }

View file

@ -29,6 +29,7 @@ impl Provider for ExampleProvider {
struct ExampleDataSource {} struct ExampleDataSource {}
#[derive(terustform_macros::DataSourceModel)]
struct _ExampleDataSourceModel { struct _ExampleDataSourceModel {
name: StringValue, name: StringValue,
} }