Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Some TOML syntax you may not be aware of:

    [dependencies.redis] git = ...
is the same as

    [dependencies] redis = { git = ... }
This will let you have just one [dependencies] block, which is a bit nicer looking. I've been changing examples to use it instead of that older style; they're equivalent if you prefer it though.


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

Search: