pksunkara / cargo-workspaces

A tool for managing cargo workspaces and their crates, inspired by lerna
MIT License
483 stars 46 forks source link

Allow for an existing cargo manifest in init #171

Closed herabit closed 2 months ago

herabit commented 2 months ago

I often find myself using this crate but annoyed that the init command does not work on existing manifests.

The changes made relate to how the Document for the init command is constructed.

Since I haven't had the chance to figure out how the testing facilities work, this pull request is not tested with it. It seems to work on my system, however, yeah further verification is likely, needed.

Considering the changes are rather small, I'm sure this is trivial to do.