get_vrl_commit_sha

Function get_vrl_commit_sha 

Source
fn get_vrl_commit_sha(repo_root: &Path) -> Result<String>
Expand description

Parse Cargo.lock to find a git ref for the vrl package.

Returns the commit SHA for git-sourced dependencies, or a version tag (e.g. v0.31.0) for registry-sourced dependencies.