pub fn generate_from_abis_with_config(
abi_paths: &[impl AsRef<Path>],
output_dir: impl AsRef<Path>,
config: &BuildConfig,
) -> AptosResult<()>Expand description
Generates Rust code from multiple ABI files with custom configuration.
ยงErrors
Returns an error if:
- Any ABI file cannot be read
- Any ABI JSON cannot be parsed
- Code generation fails for any module
- The output directory cannot be created
- Any output file cannot be written
- The
mod.rsfile cannot be written (if enabled)