-
Notifications
You must be signed in to change notification settings - Fork 87
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
Add "unstable" indicator to pre-1.0 packages? #119
Comments
I don't think pre-1.0 version numbers are a useful metric in evaluating crate maturity/stability, so I don't think this is a good idea. |
Why do think it's not a useful metric? AFAIK, cargo follows semver, and major version 0 indicates that the public API is not stable. I think the Rust ecosystem as a whole would benefit from seeing more maintainers stabilizing their APIs, like the edited to fix typos. |
I do actually think there is something to this suggestion. But it's a tricky one to do in practice because it's not a hard rule. The suggestion, as it stands, would mean applying
Note that this isn't really true in the Cargo ecosystem. That's because Cargo layers additional semantics on |
I also agree that some indicator of stability/maturity would be useful (noting that they're not necessarily the same thing), and also some indication of maintenance status (how actively is the library being maintained). I also agree that version numbers are not a good measure of this. If they were then arguably a separate blessed.rs wouldn't be required. I think what would probably make sense here is to come up with a custom rating scale (not necessarily numeric) where each rating category has a clear description of it's meaning (so we can have "this is new and experimental", "this is mature and actively maintained", "this is abandoned", "this is mature and in maintenance mode", etc). I think it's potentially a lot of work to rate every crate on the crates list. But I do think this would valuable. |
Would you be open to a PR adding either a major version indicator or an "unstable" indicator to the packages?
Something like this, for example:
![Screenshot 2024-02-25 at 11 58 15](https://private-user-images.githubusercontent.com/8811904/307585189-1851d09a-8d8e-4e97-b24f-7bc0b5eda367.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkzNTg0MjEsIm5iZiI6MTczOTM1ODEyMSwicGF0aCI6Ii84ODExOTA0LzMwNzU4NTE4OS0xODUxZDA5YS04ZDhlLTRlOTctYjI0Zi03YmMwYjVlZGEzNjcucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTJUMTEwMjAxWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MjMxOGMzOWU0NjBkODgzMjJhM2QxNTRhODhlZGIwNzAwMGJkZDk0M2ZiMmQ5ZjZmZTFlZjdlNmZmMTNkZjcyMiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.K_Go2AyNJvyTfPnGAFFN15OaTLBNWI4IOdo8208XAoc)
It's a useful thing to know when comparing libraries "at a glance".
The text was updated successfully, but these errors were encountered: