generate_project

Function generate_project 

Source
pub fn generate_project(config: &InitConfig) -> Result<PathBuf, BenchError>
Expand description

Generates a new mobile benchmark project from templates

Creates the necessary directory structure and files for benchmarking on mobile platforms. This includes:

  • A bench-mobile/ crate for FFI bindings
  • Platform-specific app projects (Android and/or iOS)
  • Configuration files

§Arguments

  • config - Configuration for project initialization

§Returns

  • Ok(PathBuf) - Path to the generated project root
  • Err(BenchError) - If generation fails