Skip to content

Conversation

haecker-felix
Copy link
Collaborator

Right now it "just" moves most of the logic from pixi to a separate pixi-api crate, so it can be consumed by different modules / binaries (eg. cli, integration tests, gui, ...).

I'm not 100% sure yet if this approach will lead to something useful.

TODO:

  • Check in detail what should stay in pixi and what should get moved to pixi-api
  • Create a "proper" API (maybe code from the rust integration tests can be reused here, eg PixiControl and the builder patterns)
  • Update pixi Cargo.toml - probably has a dozen of no longer needed dependencies now

@haecker-felix haecker-felix marked this pull request as draft July 30, 2025 06:54
@haecker-felix haecker-felix changed the title WIP: Add new pixi-api crate for an unified pixi api feat: Add new pixi-api crate for an unified pixi api (WIP) Jul 30, 2025
@Hofer-Julian
Copy link
Contributor

For the unneeded dependencies, you can use https://github.com/bnjbvr/cargo-machete

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants