Module workspace

Module workspace 

Source
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 cadmus binary crate from its Cargo.toml.
root
Returns the absolute path to the Cargo workspace root.