Module codegen

Module codegen 

Source
Available on crate feature full only.
Expand description

Code generation and template management

This module provides functionality for generating mobile app projects from embedded templates. It handles template parameterization and file generation.

Structs§

TemplateVar
Template variable that can be replaced in template files

Functions§

android_project_exists
Checks if the Android project scaffolding exists at the given output directory
detect_default_function
Detects the first benchmark function in a crate by scanning src/lib.rs for #[benchmark]
ensure_android_project
Auto-generates Android project scaffolding from a crate name
ensure_android_project_with_options
Auto-generates Android project scaffolding with additional options
ensure_ios_project
Auto-generates iOS project scaffolding from a crate name
ensure_ios_project_with_options
Auto-generates iOS project scaffolding with additional options
generate_android_project
Generates Android project structure from templates
generate_ios_project
Generates iOS project structure from templates
generate_project
Generates a new mobile benchmark project from templates
ios_project_exists
Checks if the iOS project scaffolding exists at the given output directory
resolve_default_function
Resolves the default benchmark function for a project
to_pascal_case
Converts a string to PascalCase