pulumi_wasm_rust

Macro include_provider

Source
macro_rules! include_provider {
    ($file:expr) => { ... };
}
Expand description

Load specific generated provider

build.rs:

use std::error::Error;
fn main() -> Result<(), Box<dyn Error>> {
    pulumi_wasm_build::generate("random", "4.15.0")?;
    Ok(())
}

lib.rs

include_provider!("random");