* Added convertion to pyo3::PyErr gated behind feature flag
* Added test_pyo3
* fix ci to not test unsupportable feature msrv
* fix rustfmt
Co-authored-by: Jane Lusby <jlusby@yaah.dev>
This change adds `track_caller` annotations to `context.rs` on various trait helper methods (`wrap_err`) that were missing it. It also adds tests for these APIs to ensure that the location captured is in the file that created the error.
* Add color scheme backwards compatibility test
* Rewrote test case for color schemes
* implementation
* Add missing test data
* Update src/config.rs
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
* Update src/config.rs
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
* Update src/config.rs
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
* Implement suggestions
* bump versions and update control copy of test output
* move THEME setting into core method
* update theme install and propagation to avoid a once-cell
* disable spantrace theme-ing with feature
* fix panic theme test to include a spantrace in the panic itself
* fix inconsistent theme propagation
* disable panic test for different feature configs
* cleanup logs
* try copying control from raw github test logs
* add rust-src for test consistency
* update test outputs
* just dont bother testing source resolution
* format unknown files consistently with known ones
* test format for multiple feature combinations
* store data for alternate theme configurations
* fix dependency coloration when missing hash suffix
* update changelog
* depend on as of yet unreleased owo-colors version
* (cargo-release) version 0.5.10
Co-authored-by: d4h0 <d4h0@obyz.de>
Co-authored-by: Jane Lusby <jlusby@yaah.dev>
Co-authored-by: Jane Lusby <jlusby42@gmail.com>
* init
* Add missing test data
* Implement requested changes
* Rename test/styles.rs and tests/data/style_control.txt
* bump version on owo-colors and run rustfmt
* update control to include source lines
* tweek the documentation a little
* bump version and prep for release
* (cargo-release) start next development iteration 0.1.6-alpha.0
Co-authored-by: d4h0 <d4h0@obyz.de>
Co-authored-by: Jane Lusby <jlusby@yaah.dev>
* add example of desired usage
* reimplement all of kellpossibles pr
* reorganizing to minimize diff
* update changelog for release
* (cargo-release) version 0.5.8
* (cargo-release) start next development iteration 0.5.9-alpha.0
Co-authored-by: Jane Lusby <jlusby@yaah.dev>
* 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 support for track caller via new feature flag
* edit changelog
* add missing cfgs
* (cargo-release) version 0.5.6
* (cargo-release) start next development iteration 0.5.7-alpha.0
* Implement track caller support for eyre::Report
* fix errors on old compiler version
* fix tests
* add a changelog
* (cargo-release) version 0.6.1-rc.1
* Allow missing replacement for diff range
* maybe it has to be deleted
* okay try removing it entirely...
* (cargo-release) version 0.6.1
* (cargo-release) start next development iteration 0.6.2-alpha.0
* add back missing replacement