helsing-ai / buffrs

Modern protobuf package management
https://crates.io/crates/buffrs
Apache License 2.0
213 stars 12 forks source link

Enable users to add the latest version of a dependency through `buffrs add` #223

Closed mara-schulke closed 4 months ago

mara-schulke commented 8 months ago

It would be greatly improving the user experience to be able to add a dependency using latest instead of a fixed version string and having buffrs figure out what the latest version is!

e.g. buffrs add --registry <registry> some-repo/some-package@latest

tomkarw commented 8 months ago

How about the syntax being just skipping the version:

buffrs add --registry <registry> some-repo/some-package

Like cargo add <some-package> for example.