pksunkara / cargo-workspaces

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

Create command errors out probably in new versions of cargo #153

Closed sushruth closed 5 months ago

sushruth commented 5 months ago

This is how cargo output looks like to me in my workspace -

❯ cargo new --name foo --lib --edition 2021 lib/foo
    Creating library `foo` package
      Adding `foo` as member of workspace at `/home/sushruth/code/moarr`
note: see more `Cargo.toml` keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

This does not contain the word "Created" as checked in

https://github.com/pksunkara/cargo-workspaces/blob/ee077fae4efdff41b255ba5437f9bd2926a14b57/cargo-workspaces/src/create.rs#L180

This is breaking the create command. I am only speculating that it might be due to new versions. I have a PR out to potentially fix this too.