pub fn ensure_android_project(
output_dir: &Path,
crate_name: &str,
) -> Result<(), BenchError>Available on crate feature
full only.Expand description
Auto-generates Android project scaffolding from a crate name
This is a convenience function that derives template variables from the crate name and generates the Android project structure. It auto-detects the default benchmark function from the crate’s source code.
§Arguments
output_dir- Directory to write theandroid/project intocrate_name- Name of the benchmark crate (e.g., “bench-mobile”)