Structure of tf-bindgen
tf-bindgen is a collection of multiple smaller crates building all the necessary features:
tf-coreUsed to implement basic traits and structs required by the generated code and used by the other crates (e.g.StackandScope).tf-codegenUsed to implement code generation tools to simplify usage oftf-bindgen.tf-schemaThe JSON schemas exposed by Terraform. Contains both JSON Provider Schema and JSON Configuration Schema.tf-cliUsed to implement Terraform CLI wrappers, which will take care of generating the JSON configuration and construction of the Terraform command.tf-bindingBundles the crates and implements the actual code generation.