20 Commits

Author SHA1 Message Date
Manish Goregaokar
7b1a204066 Clippy fixes 2025-05-01 09:26:43 -07:00
Manish Goregaokar
c4ee249f7c
Bump color-eyre to 0.6.3, color-spantrace to 0.2.2 to publish owo-colors bump (#207)
owo-colors has a potential soundness bug, which I'm attempting to fix in
https://github.com/jam1garner/owo-colors/pull/131. However, a lot of
crates rely on the 3.x series, which may not get patched. Preemptively
updating them, would appreciate a release!!
2025-01-24 15:35:08 -08:00
Nikita Bishonen
fc83cb8125
chore(color-eyre): Set color-eyre dependency on eyre via path. (#197)
Good day, dear eyre contributors.

I really like to use eyre in all my projects. Right now I use master to
stay on 1.0 version.
Unfortunately when I want to start using color-eyre the same way it
conflicts with eyre, because it uses 0.6.1 version.
What this PR addresses is to temporary set color-eyre -> eyre dependency
via path, not a version, until 1.0 will be released.

If it's not something you want to have in the codebase, just please let
me know, I will then switch to my fork and keep it sync with the main
repo. Thank you in advance, you are awesome! 💜
2024-08-22 12:26:43 +01:00
Jackson
9cb4c0af3b
Remove random word from color-eyre readme (#191)
The word "developer" appears at the end of a sentence and it doesn't
make sense at all in that context. Maybe you meant to say "while
developing" but i just removed it entirely.
2024-08-22 11:34:00 +01:00
Christer Jensen
5d93c1adaf
Fix broken links in README.md
Links would now return 404 for the given URL.
2024-07-22 13:33:30 +02:00
Freja Roberts
a6c8a61628
Merge branch 'master' into bump-backtrace-rs 2024-07-20 18:47:24 +02:00
Josh McKinney
d717cf9cac
fix(color_eyre): build warnings
Remove structs that are unused and have been migrated to use the eyre
versions of the same:
- color_eyre::config::InstallError -> eyre::InstallError
- color_eyre::config::InstallThemeError -> eyre::InstallThemeError
- color_eyre::config::InstallColorSpantraceThemeError -> no equivalent

Add cfg guards to the DisplayExt, FooterWriter, Footer, and Header
to prevent unused warnings when the issue-url feature is not enabled.
2024-06-29 07:42:39 -07:00
Tei Leelo Roberts
4d6e73e5a9 fix: different call machinery between linux and windows
This filters out diverging backtraces caused by different before-main
and test calling machinery on windows and linux
2024-06-21 20:05:30 +02:00
Kristof Mattei
254309ffa0
Bump backtrace-rs
0.3.59 is the first version of backtrace-rs that doesn't use `gimli-symbolize`: 5fc4f79674

While the feature is still there, it is unused and later on removed in 4cbe6b69ea. Original [PR #615](https://github.com/rust-lang/backtrace-rs/pull/615)

Closes https://github.com/eyre-rs/eyre/issues/174
2024-05-31 06:07:40 -07:00
Jubilee Young
6e2ffcc0c2 Bump workspace to owo-colors 4.0
Requires adding a path dependency in color-eyre on color-spantrace
so that the versions agree. Fortunately we can do that now!
2024-04-25 14:26:24 -07:00
Freja Roberts
41699aa483
Fix ci breaking due to new dependencies and rustc changes (backport to master) (#163)
Applies the same fixes that was applied to `color-eyre-0.6` to master,
namely the new update to `trybuild` that breaks our MSRV requirement,
requiring us to pin the version, as the dependency only bumped the patch
version for the updated MRSV.

It also fixes the theme test breaking on windows due to new
*before-main* machinery on windows affecting the backtrace. This is
fixed by filtering out the functions before and including main(due to no
take_until iter adapter in std), but still includes the panicking
function call.

There are currently three branches that need/needed this fix

- master: containing latest breaking code for 1.0
- color-eyre-0.6
- release-0.6 (does not include the theme test change as color-eyre is
not present there)
2024-04-25 14:18:20 -07:00
Freja Roberts
cb4bab6fd0 chore: update issues redirect 2024-01-29 14:54:22 +01:00
Freja Roberts
8ebc308a0a fix: make theme test more lenient
The test now only considers our part of the backtrace, allowing for
changes in rust std library to not break the test
2024-01-29 14:54:20 +01:00
Freja Roberts
eb26e0202f fix: color-eyre theme test suite backtraces to match the tested MSRV 2024-01-23 11:51:43 +01:00
Freja Roberts
de636faf96 fix: clippy 2023-12-11 14:38:33 +01:00
Freja Roberts
e61cf4eb3c fix: miri tests 2023-12-11 14:37:24 +01:00
Freja Roberts
e3fd62079a Merge commit '4a5297d30b0f0754a3bbc47b71bb55b04960c0ad' into color-eyre 2023-12-11 14:05:40 +01:00
Freja Roberts
d825b49a11 fix: conflicting example binaries 2023-12-08 16:53:14 +01:00
Pavan Kumar Sunkara
7c7079ed6e Add color-eyre to workspace 2023-10-11 21:47:49 +01:00
Pavan Kumar Sunkara
59938211cc Add 'color-eyre/' from commit '4a7b4d6988c6b0da5e04e29c9d6e10595b5dc302'
git-subtree-dir: color-eyre
git-subtree-mainline: 0b24ae558f4779afccb1dfc4640c57d9922ff70e
git-subtree-split: 4a7b4d6988c6b0da5e04e29c9d6e10595b5dc302
2023-10-11 21:23:52 +01:00