Crate axoproject

Source
Expand description

Shared code for gathering up information about a workspace, used by various axo.dev tools like dist and oranda.

The main entry point is WorkspaceGraph::find.

Modules§

changelog
Support for interpreting changelogs
errors
Errors!
generic
Support for generic projects with dist build instructions
javascript
Support for npm-based JavaScript projects
local_repo
Details for git repository
rust
Support for Cargo-based Rust projects

Structs§

AutoIncludes
Various files we might want to auto-include
GithubRepo
Represents a GitHub repository that we can query things about.
PackageId
An “opaque” identifier for a package.
PackageIdx
An id for a PackageInfo entry in a WorkspaceInfo or WorkspaceGraph.
PackageInfo
Computed info about a package
RepositoryUrl
A URL to a repository, with some normalization applied
WorkspaceGraph
Workspaces
WorkspaceIdx
An id for a WorkspaceInfo entry in a WorkspaceGraph.
WorkspaceInfo
Info on the current workspace
WorkspaceStructure
Raw type of a WorkspaceSearch, should be processed by WorkspaceGraph

Enums§

Version
A Version abstracted over project type
WorkspaceKind
Kind of workspace
WorkspaceSearch
Result of searching for a particular kind of workspace

Functions§

find_auto_includes
Find auto-includeable files in a dir
find_file
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
merge_auto_includes
Merge AutoIncluded files into PackageInfo, preferring already existing values over the AutoIncludes. The expected way to use this is:

Type Aliases§

SortedMap
A sorted map impl