Crate of the Week

Thanks!

I've already accepted the task. I think I'll just file an issue against TWIR with the content, and @nasa42 can insert it into the text.

Unless another strong contender emerges until Sunday, I'm going to write about serde first, it seems.

I really like this idea but personally I'd rather see smaller lesser known crates which many may find useful. Even though I love crates like serde, I'd be surprised if a large number of Rustaceans didn't know about it. Also it would take quite a few weeks to move past all the big ones in the same class as serde.

I mean, the whole idea is crate discovery after all :wink:

As for ideas....I dont know, I'd suggest something like ansi_term.

7 Likes

I'd rather see smaller lesser known crates which many may find useful.

That was the idea. However, the goal is to provide value to the community, and I am with those who think advertising serde will very much do so, given that serialization is something a lot of programs can use. I also think ansi_term is a fairly specific crate restricted to applications that require colored terminal output. Advertising it will also provide value to the community, but only to the fraction of it that has this specific use case.

Still, your suggestion also provided value to at least 19 people, who have clicked your link. :smile:

I like the fact that This Week in Rust just picks every single blog post, library, etc. that is posted to the forum or to reddit without any filter.

On the contrary I'm a bit reluctant to this idea of choosing a crate that is more or less "officially endorsed".

I liked the "30 days of Rust" serie because it's the author's opinion. But TWiR is more or less the official newsletter of Rust, so I expect something more objective.

2 Likes

Rustlang's twitter also mentions a lot of blog posts and crates, maybe not all of them.

It doesn't have to be an endorsement, just any slightly interesting crate.

It seems the whole idea was inspired by a microcrate, and I think it's a great idea to feature minuscle stuff. Maybe for example the unreachable crate to give another suggestion.

Thanks for your reply; I see that we should be careful not to give the Crate of the Week a too official taste. On the other hand, the "quote of the week" also wasn't always official. Perhaps we should put the COTW directly before the QOTW.

Also @nasa42 can write some introductory text about how this is just a random selection, and means no endorsement from his employer or the Rust team, that the stated opinions are merely mine, yadda yadda yadda... :smile:

1 Like

Love this idea! I'd like to nominate clap :smile:

17 Likes

New week new luck. I'm welcoming nominations for next week's COTW. :smile:

I'm a fan of the quickcheck crate, so this is my vote for this week.

6 Likes

In the same range as serde, there's capnproto-rust which comes with the following crates:

  • capnp
  • capnpc
  • capnp-rpc
5 Likes

I'd like to nominate sprocketnes because... well, it's a NES emulator! I think it needs more love and is too hard to discover for new Rustaceans.

(sadly, the current master doesn't compile. @steveklabnik's PR should, though!)

2 Likes

Ok, so we have quickcheck, capnproto-rust, and sprocketnes.

I'd like to have some more nominations here, so hopefully bumping this will motivate people to join.

1 Like

pcwalton's IPC channel library, ipc-channel.

3 Likes

Nice idea! I have some suggestions:

  • droundy/onionsalt
  • pnkfelix/tango
  • ticki/soundex-rs
  • mystor/slag
  • kbknapp/cargo-count

Please only one suggestion! People vote by :heart:ing the nominations, so if you nominate five crates, I'll have to either pick one or write about all of them! :sweat_smile:

I'm going to say kbknapp's Clap crate - I have never, in any language I have ever worked in, had an argument parsing library that was so completely painless.

I've found it especially nice for mocking up the skeleton of a tool where all roads lead to panic!(), then splitting it up further and further, pushing the panic!()s down the branching logic of what to actually do, until a whole utility has appeared from nowhere.

30 Likes

This is so perfect, I think we should quote it directly. Are you OK with that?

I'd be honored!

I know this question probably shouldn't be here, but I wonder why people are so enthusiast about clap. As the rust community has a port of docopt for rust, it make me wonder how clap compares to docopt-rs.
Has anyone tried and could give some feedback in terms of usage convenience / drawbacks / advantages?

Sorry again for the off-topic question.

2 Likes

Sorry, I haven't tried either, so I'm not qualified to say anything enlightening on the topic. All I can say is from a cursory glance at the README, clap appears a little more full-featured than docopt.

With that said, nominations for next week's Crate of the Day are opened! I'm curious what you folks will come up with.