daml_codegen/generator/
generator_options.rs

1/// Render full or intermediate annotated Rust types.
2#[derive(Debug)]
3pub enum RenderMethod {
4    /// Render Rust types fully decomposed.
5    Full,
6    /// Render Rust types annotated with attributes such as `[DamlData]`.
7    Intermediate,
8}
9
10/// Render each module as a separate file or combined in a single file.
11#[derive(Debug)]
12pub enum ModuleOutputMode {
13    /// Render all Daml modules in a single Rust src file.
14    Combined,
15    /// Render each Daml module in a separate Rust src files.
16    Separate,
17}