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

> A good (trivial) example was a great command parsing library just doesn’t exist yet.

There is a Docopt implementation in Rust[1], which is used by Cargo. It tracks master and is regularly updated.

Interestingly, I've found people either love or hate Docopt, so maybe you knew about it but don't like it. :P

/shameless plug

[1] - https://github.com/docopt/docopt.rs



I've had a really good experience using that library in Rust. It just works without much code or hassle.


Yeah, that whole part got the me the wrong way. Docopt is as far as I know the best. Also rust comes with a simpler getopt.

It is broken now, but with the collection reform landing, what isn't broken.


It was only broken because I merged a PR that updated it to Rust master before the nightly was updated on Travis. :-)

It's passing now that Travis updated to the new nightly.

(But yup, it was collection reform.)




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

Search: