Crate axoproject
source ·Expand description
Shared code for gathering up information about a workspace, used by various axo.dev tools like cargo-dist and oranda.
The main entry point is get_workspaces.
Modules§
- Support for interpretting changelogs
- Errors!
- Support for generic projects with cargo-dist build instructions
- Information about various supported platforms
- Support for Cargo-based Rust projects
Structs§
- Various files we might want to auto-include
- Represents a GitHub repository that we can query things about.
- An “opaque” identifier for a package.
- An id for a
PackageInfoentry in aWorkspaceInfo. - Computed info about a package
- Info on the current workspace
- Information about various kinds of workspaces
Enums§
- A Version abstracted over project type
- Kind of workspace
- Result of searching for a particular kind of workspace
Functions§
- Find auto-includeable files in a dir
- Find a file with the given name, starting at the given dir and walking up to ancestor dirs, optionally clamped to a given ancestor dir
- Tries to find information about the workspace at start_dir, walking up ancestors as necessary until we reach clamp_to_dir (or run out of ancestors).
- Merge AutoIncluded files into PackageInfo, preferring already existing values over the AutoIncludes. The expected way to use this is: