pub fn detect_workspace_root() -> Result<PathBuf>
Attempt to find the workspace root, or just the crate directory itself if running in a non-workspace