Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Version 0.2.0 (2023-04-10)

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Apr 16:05
· 208 commits to main since this release

Release Notes

This version reworks the design of the primary interface:

  • get_project(s) is now called get_workspace(s) to be more precise
  • get_workspaces no longer picks the "best" project for you, and instead returns results for all of them
  • to help you make sense of those results, they are now wrapped in a WorkspaceSearch enum that can either be:
    • "Found": we found and parsed the workspace, here it is
    • "Missing": we found no evidence of a workspace (no Cargo.toml)
    • "Broken": we found a manifest but failed to make sense of it (parse error, missing/weird values, etc.)
  • it now takes an optional "root" argument that specifies a root dir that we want to constrain the search to.
    most users can set this to None to just ignore the feature.
    • this isn't perfectly well-defined yet when a manifest is found under the root dir, but the root of the workspace
      is outside the root dir. this is fine for the intended purpose of clamping to a git checkout which presumably is
      completely self-contained as far as workspaces are concerned.
  • there is now a CLI app version of axoproject with json output
  • we now detect cstaticlibs and cdylibs in addition to binaries (in separate fields so if you don't care about them nothing has changed)

In addition the internals have been significantly reworked into separate libraries like axoasset and axocli so more of our tools can share logic.

Install axoproject 0.2.0

Install prebuilt binaries via shell script

# WARNING: this installer is experimental
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/axoproject/releases/download/v0.2.0/axoproject-v0.2.0-installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm https://github.com/axodotdev/axoproject/releases/download/v0.2.0/axoproject-v0.2.0-installer.ps1 | iex

Download axoproject 0.2.0

target kind download
aarch64-apple-darwin tarball axoproject-v0.2.0-aarch64-apple-darwin.tar.xz
x86_64-apple-darwin tarball axoproject-v0.2.0-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball axoproject-v0.2.0-x86_64-pc-windows-msvc.zip
x86_64-unknown-linux-gnu tarball axoproject-v0.2.0-x86_64-unknown-linux-gnu.tar.xz