daml-codegen 0.2.2

Daml GRPC Ledger API Code Generator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/// Render full or intermediate annotated Rust types.
#[derive(Debug)]
pub enum RenderMethod {
    /// Render Rust types fully decomposed.
    Full,
    /// Render Rust types annotated with attributes such as `[DamlData]`.
    Intermediate,
}

/// Render each module as a separate file or combined in a single file.
#[derive(Debug)]
pub enum ModuleOutputMode {
    /// Render all Daml modules in a single Rust src file.
    Combined,
    /// Render each Daml module in a separate Rust src files.
    Separate,
}