pub fn generate_source_code(idl: Idl) -> String
Expand description

Generates program_client’s lib.rs from Idl created from Anchor programs.

Note: See the crate’s tests for output example.