-
Notifications
You must be signed in to change notification settings - Fork 7
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
What's keeping this from being 1.0 right now? #2
Comments
Nothing is really preventing this from being 1.0 apart from some wider usage to see if there are any deficiencies with the current API. In what context are you using it? :) |
I know a guy who uses it on switch to write driver type code. File system parsing sort of stuff. |
Does it currently prevent anybody from using this crate because it's not 1.0 yet? Updating the version number for no reason would mean that everybody has to update their |
|
I never really got this obsession with numbers people seem to have. There's enough crap out there that is versioned 1.0 or even higher, and enough great stuff that has lower version numbers. In the end you always have to look at the dependency yourself, everybody has a different understand of what "1.0-quality" means. When I do the next update I'll update the version to 1.0.
And then you potentially have multiple versions in your dependency tree, which seems more ugly than cosmetics about version numbers. |
Having multiple version in the deptree doesn't really seem that ugly? The semver trick can (and should) be used to avoid type fragmentation this might cause. 1.0.0 is mostly a stability promise. Semver defines 1.0.0 as the first release of the public API. https://semver.org/#spec-item-5. Before this version, all bets are up and breaking changes are allowed. The idea is that, after 1.0.0, the public API is stable and breaking changes are very unlikely to happen. This isn't something I'm making up, it's in the semver spec, and is the primary motivator behind the big push to 1.0.0 that the Rust Team championed. Of course, there is a bunch of shit crates out there that are published 1.x. That's besides the point though. It's a way of communicating the author's intention, not a way to verify a crate's quality :). |
Just found this crate, does exactly what I needed, API matched very well the usages 👍 thank you |
Currently my main worry is that the |
Ah, I didn't notice the Vec cast (or maybe it wasn't there 1.5 years ago). Yeah that is unsound. |
I guess let's get rid of it then and release everything else as 1.0. Too bad, it's quite useful. |
Bytemuck has a vec cast that checks alignment, which is sound. |
This here also checks alignment, that's not the problem. The problem is this, coming from
This means that you can't drop a Casting |
yeah just make the alignment check only allow equal alignment ;P |
That seems not very useful :) Sure, you can go from |
See #15 |
This API is the exact API that I was imagining when I went to look for a crate like this. More generic even, which is cool.
The version is only at 0.2, but it's been sitting there for half a year it looks like. Is there something holding it back from being 1.0 or could it be version bumped?
The text was updated successfully, but these errors were encountered: