This crate is a pile of random helpers, macros, extension traits... that I didn't care to write a separate crate for.
Probably nothing to do with rand
crate.
While I will follow semver, I'm not going to try hard avoiding breaking changes. This crate is forever unstable.
Using this crate in production is most likely a bad idea. But feel free to copy anything you find here. Or even better, polish it and create a separate crate. Please notify me if you do so.
I may occasionally take things out of here into separate crates. If I do so or I learn of someone else who did it, I will try to find some time to deprecate the equivalent in this crate and remove it later.
Error
types.Result
Result
(as opposed to Option
- nicer error messages)Unsound code will be fixed in patch versions even if it changes the API. It's better to break your compilation than to leave your code vulnerable. (You aren't using it in production anyway, RIGHT?!)
What's available in Debian stable (currently 1.41). Features requiring newer version may be introduced in the future.
Feel free to file PRs for fixes, improvements and new shit! While this is not meant as high-quality crate, I have some minimal requirements:
len()
method)WTFPL
But if you're a government agent, employee, or contractor, then I don't like you. (Of course, I mean mandatory government, I like voluntary fake governments.)