pisserror
A golden replacement for thiserror.
Usage
You'll likely find pisserror to be pretty familiar. As with thiserror, it derives Error for any enum you give to it. Here's a sample of its current usage:
use Error;
use Error; // we don't mess with your prelude :D
Feature Requests and Problems
If there's something wrong or missing, please create a GitHub issue! Make sure to thoroughly describe your intentions.
Contributions
Contributions are welcome! Please create a PR and explain the changes you made.
There are a few ground rules, though:
- All contributions are bound by the license.
- Commits must be in Conventional Commits format. Feel free to interpret the rules a bit, though!
- Document and test your work.
Making a Release
There are only a few steps to releasing this crate.
- Generate the
README.mdfile usingcargo-rdme. - Change the version numbers in
/Cargo.tomland/macros/Cargo.toml.- Under the
dependencies.pisserror_macrossection, you must also change the version number to match the new release.
- Under the
- Run
cargo publish!