prep for release

This commit is contained in:
Jane Lusby 2020-12-02 11:05:06 -08:00
parent edfcda0d44
commit 804992769c
4 changed files with 12 additions and 2 deletions

View File

@ -7,8 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
<!-- next-header -->
## [Unreleased] - ReleaseDate
### Fixed
- Ignore all io errors when resolving source files instead of only file not
found errors
## [v0.1.5] - 2020-12-01
### Added
- Support custom color themes for spantrace format
<!-- next-url -->
[Unreleased]: https://github.com/yaahc/color-spantrace/releases/tag/v0.1.5
[Unreleased]: https://github.com/yaahc/color-spantrace/compare/v0.1.5...HEAD
[v0.1.5]: https://github.com/yaahc/color-spantrace/releases/tag/v0.1.5

View File

@ -26,6 +26,9 @@ ansi-parser = "0.6.5" # used for testing color schemes
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[package.metadata.release]
no-dev-version = true
[[package.metadata.release.pre-release-replacements]]
file = "CHANGELOG.md"
search = "Unreleased"

View File

@ -88,7 +88,7 @@ use owo_colors::{style, Style};
use std::env;
use std::fmt;
use std::fs::File;
use std::io::{BufRead, BufReader, ErrorKind};
use std::io::{BufRead, BufReader};
use tracing_error::SpanTrace;
static THEME: OnceCell<Theme> = OnceCell::new();

View File

@ -40,6 +40,7 @@ use tracing_error::SpanTrace;
use tracing_subscriber::{prelude::*, registry::Registry};
#[instrument]
#[allow(clippy::clippy::if_same_then_else)]
fn test_capture(x: u8) -> SpanTrace {
if x == 42 {
SpanTrace::capture()