pub fn resolve_default_function(
project_root: &Path,
crate_name: &str,
crate_dir: Option<&Path>,
) -> StringAvailable on crate feature
full only.Expand description
Resolves the default benchmark function for a project
This function attempts to auto-detect benchmark functions from the crate’s source. If no benchmarks are found, it falls back to a sensible default based on the crate name.
§Arguments
project_root- Root directory of the projectcrate_name- Name of the benchmark cratecrate_dir- Optional explicit crate directory (if None, will search standard locations)
§Returns
The default function name in format crate_name::function_name