* update changelog for new release
* update gitignore so cargo release likes me again
* (cargo-release) version 0.5.7
* (cargo-release) start next development iteration 0.5.8-alpha.0
* try using matrix for feature combinations
* Add feature more gates for capture-spantrace
When only the `issue-url` features is enabled, with the default
features being disabled, the crate fails to build
```
$ cargo build --no-default-features --features issue-url
Compiling color-eyre v0.5.7-alpha.0 (/Users/paul/dev/color-eyre)
error[E0432]: unresolved import `tracing_error`
--> src/section/github.rs:5:5
|
5 | use tracing_error::SpanTrace;
| ^^^^^^^^^^^^^ use of undeclared type or module `tracing_error`
error[E0282]: type annotations needed
--> src/section/github.rs:28:25
|
28 | span_trace: None,
| ^^^^ cannot infer type for type parameter `T` declared on the enum `Option`
error: aborting due to 2 previous errors
```
This commit add feature gates for capture-spantrace to the github
issue module, so that the issue-url feature can be used standalone.
* ignore broken doctest and add new ci configs
* make the ci configs differentiable
Co-authored-by: Jane Lusby <jlusby@yaah.dev>
* 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>