Skip to content

Commit

Permalink
Bump version to v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
athre0z committed Sep 1, 2024
1 parent 2d46471 commit dfaa85f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file.

## Unreleased

## [v0.7.0] (2024-09-XX)
- Add `Backtrace` trait to abstract over backtrace implementation
- Changed `Frame::ip` type `usize` -> `Option<usize>`
- `BacktracePrinter::print_trace` now takes `&dyn Backtrace` instead of `&backtrace::Backtrace`
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "color-backtrace"
version = "0.6.1"
version = "0.7.0"
authors = ["Joel Höner <athre0z@zyantific.com>"]
edition = "2021"
license = "MIT OR Apache-2.0"
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ and printing the relevant source snippets.

```toml
[dependencies]
color-backtrace = { version = "0.6" }
color-backtrace = { version = "0.7" }
```

To enable it, simply place this code somewhere in your app initialization code:
Expand All @@ -47,10 +47,10 @@ BacktracePrinter::new().message("Custom message!").install(default_output_stream
It is possible to use the alternative [`btparse`] backtrace capturing backend
instead of the default route that links [`backtrace`]:

```
```toml
[dependencies]
color-backtrace = {
version = "0.6",
version = "0.7",
default-features = false,
features = ["use-btparse-crate"],
}
Expand Down

0 comments on commit dfaa85f

Please sign in to comment.