mirror of
https://github.com/Noratrieb/terustform.git
synced 2026-01-14 16:35:11 +01:00
add empty derive
This commit is contained in:
parent
eea39e1f16
commit
63bd32c3cd
3 changed files with 3 additions and 0 deletions
1
Cargo.lock
generated
1
Cargo.lock
generated
|
|
@ -1083,6 +1083,7 @@ version = "0.1.0"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"eyre",
|
"eyre",
|
||||||
"terustform",
|
"terustform",
|
||||||
|
"terustform-macros",
|
||||||
"tokio",
|
"tokio",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"] }
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@ impl Provider for ExampleProvider {
|
||||||
|
|
||||||
struct ExampleDataSource {}
|
struct ExampleDataSource {}
|
||||||
|
|
||||||
|
#[derive(terustform_macros::DataSourceModel)]
|
||||||
struct _ExampleDataSourceModel {
|
struct _ExampleDataSourceModel {
|
||||||
name: StringValue,
|
name: StringValue,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue