pub fn generate_project(config: &InitConfig) -> Result<PathBuf, BenchError>Available on crate feature
full only.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 rootErr(BenchError)- If generation fails