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§
- Template
Var - 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_
all_ benchmarks - Detects all benchmark functions in a crate by scanning src/lib.rs for
#[benchmark] - 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
- sanitize_
bundle_ id_ component - Sanitizes a string to be a valid iOS bundle identifier component
- to_
pascal_ case - Converts a string to PascalCase
- validate_
benchmark_ exists - Validates that a benchmark function exists in the crate source