From dfaa85f48d55ea982520962b57410373124d92a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joel=20H=C3=B6ner?= Date: Sun, 1 Sep 2024 19:18:58 +0200 Subject: [PATCH] Bump version to v0.7.0 --- CHANGELOG.md | 2 ++ Cargo.toml | 2 +- README.md | 6 +++--- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index aa5f0b7..d14b031 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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` - `BacktracePrinter::print_trace` now takes `&dyn Backtrace` instead of `&backtrace::Backtrace` diff --git a/Cargo.toml b/Cargo.toml index bd3a070..47891b1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "color-backtrace" -version = "0.6.1" +version = "0.7.0" authors = ["Joel Höner "] edition = "2021" license = "MIT OR Apache-2.0" diff --git a/README.md b/README.md index 875faae..0c811f8 100644 --- a/README.md +++ b/README.md @@ -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: @@ -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"], }