Expand description
Workspace root resolution and metadata helpers.
The xtask binary can be invoked from any directory inside the Cargo workspace. All tasks need the workspace root so they can locate source files, thirdparty directories, and build outputs.
Functionsยง
- current_
version - Returns the version of the
cadmusbinary crate from itsCargo.toml. - root
- Returns the absolute path to the Cargo workspace root.