* add testing for wasm
utilize wasm-bindgen-test as a developer dependency in order to
actively run wasm tests. wasm currently doesn't have support for
running doctests (and reportedly won't "anytime soon"), and in
order to actually run the tests we need a wasm environment.
the easiest of these to setup & use is wasm-pack which is primarly
built for nodejs. however, if it works in nodejs it should ideally
work in other wasm environments that are similar.
as such a wasm-pack (which utilizies wasm-bindgen) as a developer
dependency has been added that creates a simple error message,
and validates it contains the text of the error (and sections)
sans any formatting. this is meant to validate a base level
of functionality as time goes on.
* fix format
* only add dev-dependency for wasm32
* fix clippy warning
Co-authored-by: Jane Lusby <jlusby@yaah.dev>
* port color-eyre to new eyre with global hook
* add a singular hook configuration
* add panic handler to globally installed hook
* getting near the end
* remove unused module
* temp: working on capture consistency
* walk back changes that make porting to new release harder
* merge main into hooked
* switch to github color-spantrace and copy from htmlgit status
* move spantrace capture default mode into hook
* rename and reorg section stuff
* switch to released deps
* copy changes from lib.rs to readme
* update snippets and revert to images for readme
* remove extremely fragile format tests
* Switch report handler to a global hook
* more cleanup
* remove default from example
* remove broken support for no_std
* back out the unneeded nostd check
* remove one stackframe when capturing a Handler
* update docs and prep for release
* port lib.rs docs updates to readme
* fix type inference issue in eyre macro autoderef behavior
* use the upstream example
* update testcase compile err output
* remove cruft
* bump version for breaking change
* Update testing
* dont bother testing no_std yet ...
* bump version for new release with fixed indenter
* add documentation about custom context crates