Hacker News new | past | comments | ask | show | jobs | submit login

> Use Cargo.toml instead of package.json. You’ll want to add them manually (instead of using a command like yarn add)

The cargo-edit tool gives you yarn-like commands to edit your packages. The main command, "cargo add", will be integrated into mainline cargo next update (I think).

https://github.com/killercup/cargo-edit




Oh this is good to know, thanks!




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: