Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to talk about relevant crates #158

Open
wookietreiber opened this issue Aug 20, 2022 · 1 comment
Open

how to talk about relevant crates #158

wookietreiber opened this issue Aug 20, 2022 · 1 comment

Comments

@wookietreiber
Copy link

from: #157 (comment)

So far, we only list out crates we directly use. We might want to give more thought to how we would want t talk about relevant crates more generally.

Choices

I can see three main choices:

  1. Delegate: Don't talk about crates at all and link to other resouces.

  2. List: Just list crates without discussion of differences between crates of the same domain.

    • (Domain as in e.g. pretty-printing table crates, or argument parser crates.)
    • Con: competition with awesome-rust et al. lists / duplicated effort. (but these other lists could be assimilated/consolidated here)
    • Pro: You'd have everything in one place, i.e. if you'd wanna know/learn about CLI in Rust, this book would always be the go to resource. (which it isn't at the moment because the useful crates section is neither exhaustive nor does it discuss crates in the same domain)
  3. Discuss: List and discuss the relevant crates in their respective domain.

    • Let awesome-rust et al. be the short list version. Extend on a simple listing by discussing differences between crates in the same domain, e.g. when would I use clap over any of the other argument parsing libs out there and when would I use any of the other libs.
    • This could be organized in sub sections of Useful crates, i.e. keep the main Useful crates page as is, and add a subsection for each domain.
@epage
Copy link
Contributor

epage commented Aug 25, 2022

Thanks for that write up! Thats a good way of framing the options!

Today, we take the following two approaches

  • List crates used in the book
  • Delegate crates to lib.rs

Another resource we can delegate to that has some level of "discuss" in it is https://github.com/rosetta-rs

https://rust-cli-recommendations.sunshowers.io/index.html (which I hope to integrate some day) does a mixture of endorse specific crates while sometimes discussing trade offs of alternatives.

Personally, I would lean towards delegating to rosetta and awesome rust. Creating yet another list means its yet another thing to risk going stale as people will most likely see the book as a starting resource and not a reference, so it won't be forefront to add or modify the list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants