Skip to content

Auto-add dependencies #829

Open
Open
@sonnyp

Description

@sonnyp

In Rust projects, since we have cargo, it's possible to install dependencies and use them from Workbench.
it's very easy.

Start a project, close the window, Workbench will ask you to save it.

go in that folder and run

cargo add barecode

Reopen the project with Workbench and you'll be able to use that crate.


However as you can see the experience to add crates isn't ideal. One potential solution, instead of building a UI - is to automatically download/build dependencies by analyzing imports.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions