#codegen #smithy #html #code-generation #weld

build weld-codegen

Code generation for smithy models

30 releases

0.7.0 Feb 28, 2023
0.6.0 Nov 15, 2022
0.5.0 Aug 15, 2022
0.4.6 Jul 6, 2022
0.1.5 Jul 15, 2021

#62 in Development tools

Download history 702/week @ 2022-11-26 349/week @ 2022-12-03 644/week @ 2022-12-10 329/week @ 2022-12-17 361/week @ 2022-12-24 829/week @ 2022-12-31 564/week @ 2023-01-07 212/week @ 2023-01-14 453/week @ 2023-01-21 869/week @ 2023-01-28 744/week @ 2023-02-04 496/week @ 2023-02-11 972/week @ 2023-02-18 3427/week @ 2023-02-25 1279/week @ 2023-03-04 1046/week @ 2023-03-11

6,944 downloads per month
Used in 26 crates (24 directly)

Apache-2.0 and LGPL-3.0-or-later

360KB
8K SLoC

Code generation from Smithy IDL models

Code generation is implemented in Rust, and output languages currently include Rust and Html (for documentation). We are expecting to add more languages in the future.

The code generator can be invoked:

  • as a library
  • from build.rs file: to build project sources according to a plan in codegen.toml
  • from the wash cli

Documentation on how the code generator works, how to use it with wasmCloud, and how to extend it, can be found in the developer documentation.

Dependencies

~16–26MB
~513K SLoC