Skip to content

Show badges or other info for crates that are known to build on stable or nightly #168

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

Closed
bluss opened this issue Jul 14, 2015 · 5 comments
Labels
C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works

Comments

@bluss
Copy link
Member

bluss commented Jul 14, 2015

We have this information via crater runs -- we know which crates build on stable, still build on nightly, and which crates build on neither, it would be nice to expose this information.

Especially good to badge crates that support the stable channel, but it's also nice to have an objective indicator for "dead" crates.

@rw
Copy link

rw commented Nov 19, 2015

+1

@bitshifter
Copy link

+1

A workmate tried diving into Rust and his first experience was trying to find a supporting library for the small application he tried to write, but the library didn't compile and his Rust experiment stopped there. I think it would have helped to warn the user if something isn't building on stable (or just not show it by default).

If the information is available it might also pay to specify which versions of stable a package builds on.

@retep998
Copy link
Member

retep998 commented Dec 4, 2016

It would also be incredibly useful if crater could test other platforms, especially Windows, and display which platforms a given crate actually supports.

@carols10cents carols10cents added C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works A-badges labels Dec 15, 2016
@jan-hudec
Copy link

Most crates have TravisCI and/or AppVeyor badges in their README.mds and perhaps we could look at the targets and check for the set of platforms the crate was built on.

Advantages:

  • It would not need much resources.
  • It would show those platforms the author considers supported.

Disadvantages:

  • It would not cover the case when the crate started failing on newer compiler version, though that should be rather rare—the compiler is quite good with backward compatibility.
  • There is no standard for the configuration names, so we could either just rely on everybody basing their configuration on rust-everywhere anyway and look for TARGET=, or we'd have to parse the build logs for --target option to cargo and, absent that, logs from rustup setting the default target.

@Turbo87
Copy link
Member

Turbo87 commented Oct 13, 2020

Since this is a relatively complex feature request, the crates.io team is currently quite busy, and there has been relatively little movement on this issue in the past I'll go ahead and close this request for now. If someone can come up with a plan (and ideally PRs) on how to implement this we can always reopen.

@Turbo87 Turbo87 closed this as completed Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement ✨ Category: Adding new behavior or a change to the way an existing feature works
Projects
None yet
Development

No branches or pull requests

7 participants