All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
Unreleased - ReleaseDate
2.0.1 - 2024-07-25
- Update MSV to 1.74
2.0.0 - 2024-04-17
- Update MSV to 1.73
PanicStyle
is now non-exhaustiveMethod
is now non-exhaustiveMetadata
s fields are now private, requiring setters
- Add
Metadata::support
for where to send reports
1.2.3 - 2024-01-12
- Update anstream
1.2.2 - 2023-11-06
- Improve build times by only pullin in
toml
rendering, not parsing
1.2.1 - 2023-09-28
- Update anstream
1.2.0 - 2023-08-24
- Update MSV to 1.70.0
- Improve build times by dropping
is-terminal
dependency
1.1.5 - 2023-06-13
- Avoid symbol conflicts from macros
1.1.4 - 2023-04-13
- Dependency update
1.1.3 - 2023-03-16
- Dependency update
1.1.2 - 2023-03-14
- Update MSRV to 1.64.0
- Correctly handle
CLICOLOR=1
- Correctly handle
NO_COLOR=
- Auto-enable color for CI
- Update a macro to use
$crate
1.1.1 - 2023-02-28
- Update dependencies
1.1.0 - 2023-02-01
- Expose
metadata!
constructor - Expose
PanicStyle::default()
for knowing which handler to use::
- Detect when color can be used
- Make color optional (opt-out)
- (nightly) Include original panic
- Use normal panics when
RUST_BACKTRACE
is enabled - Skip unnecessary frames in backtrace
- [
650df0bf4d
] (cargo-release) version 0.3.0 (Yoshua Wuyts) - [
a3ec0ddb97
] Fixing wrong data in certain crash dump fields (#15)
Fixing a bug in the log dumps
- Carrying over metadata from first macro call to properly include metadata in crash dumps.
- Making Method derive Copy (Katharina)
- [
ed11055e06
] Merge pull request #16 from killercup/docs
Ensure no docs are missing (Pascal Hertleif)
- [
4540d77276
] Fix typos (#14)
- Correct typo embarrassing
- Fix typos (Andy Slack)
- [
9e972ef654
] Ensure no docs are missing (Pascal Hertleif) - [
b82ac5c35a
] Merge pull request #11 from skade/update-readme
Update README with current interfac (Pascal Hertleif)
- [
21c5417580
] Update README with current interface (Florian Gilcher) - [
d86232967d
] Merge pull request #10 from killercup/rollup
Rollup (Pascal Hertleif)
- [
80046e1488
] Use more generic way to get a Path (Pascal Hertleif) - [
dc05d332a0
] Merge skade-join-properly into rollup (Pascal Hertleif) - [
2e0127c830
] Merge yoshuawuyts-fix-example into rollup (Pascal Hertleif) - [
fc16cb8ac2
] Update Cargo.lock (Pascal Hertleif) - [
e53059ff3c
] rustfmt (Pascal Hertleif) - [
a51285bb10
] Properly handle file paths using Path and PathBuf (Florian Gilcher) - [
82ebdccb5a
] make clippy pass for real this time (Yoshua Wuyts) - [
2297066f50
] please clippy (Yoshua Wuyts) - [
b1ec2b5b7b
] fix examples (Yoshua Wuyts) - [
369ca4e526
] Bumpding version, adding author (Katharina) - [
31e1d9ada2
] Cleaning up warnings for the big rebase (Katharina Sabel) - [
3ffa055d57
] Attempting to fix theerr
example using the failures crate (Katharina Sabel) - [
5214754bc0
] Adding a bit of padding in the log (Katharina Sabel) - [
031b2b846b
] Merging advanced report functionality. (Katharina Sabel) - [
7a2e923075
] Merging #4 by yoshuawuyts
This commit adds the ability to generate reports based on an application
crash. It hooks into the existing panic handler and also exposes
the report generation feature via a pub fn
(Katharina Sabel)
- [
7dc354b88e
] Preparing for cherrypick (Katharina Sabel) - [
5002578d8f
] Cleaning up merge artefact (Katharina Sabel) - [
bd4526a315
] Changing the core functionality of the crate
Instead of having to wrap around every panic, this now uses set_hook
once
to register the callback to print a pretty status message. This also has the
added benefit of pulling in env! calls because the main setup was made
into a macro.
Optionally the two core functions (print_help and dump_log) can now also be used
without the core macro, because they are pub fn
(Katharina Sabel)
- Stable and slim (#1)
- Make it compile on stable
Also adds a nightly feature flag that will automatically be picked up by docs.rs to build nice docs.
- Make clippy a CI-only dependency
You can run cargo clippy
locally to get the same effect. I've also
taken the liberty to nail down the rustfmt version to use, so we can
update it explicitly. (This is the same CI setup that assert_cli uses.)
- Get rid of all dependencies for now
Improves compile times
- Use termcolor for colored output
This should make it compatible with windows consoles.
-
Set up some kind of error handling for the hook
-
rustfmt
-
Bump clippy
and choose a nightly that actually exists.
- Make clippy happy (Pascal Hertleif)
- [
c04ae22d1e
] update readme output (Yoshua Wuyts) - [
4a35c860fd
] upgrade desc (Yoshua Wuyts) - [
ccaf3bce86
] init (Yoshua Wuyts) - [
a7135d1e8c
] catch (Yoshua Wuyts) - [
0129328ce4
] . (Yoshua Wuyts)
.editorconfig | 25 +--
.gitignore | 3 +-
.travis.yml | 8 +-
Cargo.lock | 391 +++++++++++++++++++++++++++++++++-
Cargo.toml | 11 +-
README.md | 51 +----
examples/panic.rs | 9 +-
src/lib.rs | 130 ++---------
src/report.rs | 22 +--
tests/custom-panic/Cargo.toml | 10 +-
tests/custom-panic/src/main.rs | 14 +-
tests/custom-panic/tests/integration.rs | 16 +-
tests/single-panic/Cargo.toml | 10 +-
tests/single-panic/src/main.rs | 9 +-
tests/single-panic/tests/integration.rs | 14 +-
15 files changed, 442 insertions(+), 281 deletions(-)