bugsalot
This crate provides macros and methods for bug wrangling. Specifically, I want all the advantages of crashing (bug
reports, ease of debugging, etc.) with none of the drawbacks (lost progress, pissed off gamers, etc). Rust's error
handling mechanisms (Try, ?, Results, etc.) are great, but leave something to be desired when it comes to actual
bugs. Similarly, Rust's panic!, .unwrap(), .expect(), etc. are decent when it comes to giving context for bugs,
but less great for writing stable software. This crate will attempt to bridge the gap.
| Branch | Badges | Notes |
|---|---|---|
| publish | Stable/published version | |
| master | "Completed" stuff that hasn't been published. | |
| wip/* | "Work In Progress" - incomplete, use at your own risk. | |
| dead/* | Abandoned threads of work |
Platforms
| Platform | Breakpoints | Debugger | CI | Stable | Beta | Nightly |
|---|---|---|---|---|---|---|
| Windows | ||||||
| Android | ||||||
| Linux | ||||||
| (Release) | ||||||
| FreeBSD | ||||||
| NetBSD | ||||||
| OS X | ||||||
| iOS | ||||||
| WASM |
Quick Start
Add one of the following bugsalot dependencies to your Cargo.toml:
[]
= "0.2" # Or...
= { = "0.2", = ["wasm-bindgen"] } # If using: wasm-pack
= { = "0.2", = ["stdweb"] } # If using: cargo web build
Write your code (see examples and documentation for more code):
use *;
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.