Closed nodakai closed 8 years ago
I think I solved this bug, but I'm starting to contribute to the project I'm not sure I'm breaking anything (I changed a little the API).
I think the problem is the user might not notice they need to add --limit N
at all.
Can be interesting to include a text at the end like "and X more (use --limit parameter to see more crates)"
What do you think about it @alexcrichton ?
We may even want to just decode the pagination information and that way we could auto-show the message and even indicate how many more are there.
I have added it (Could be a better option for the texts, suggestions are welcome :smile: )
I think this issue is fixed with the last merged PR
Thanks @jespino!
cargo search
is hard-coded to truncate the result at the first 10 crates, without providing any ways to access to the rest of the matches.And even worse, it doesn't say the search result was truncated. For example, the following output is really deceiving:
It's as if the
time
crate (https://crates.io/crates/time) doesn't exist at all.Compare it with:
(emphasis mine)