[package]
edition = "2021"
rust-version = "1.81"
name = "color-backtrace"
version = "0.7.4"
authors = ["Joel Höner <athre0z@zyantific.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Colorful panic backtraces"
readme = "README.md"
keywords = [
"backtrace",
"color",
"colour",
"stacktrace",
"pretty",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/athre0z/color-backtrace"
[features]
default = ["use-backtrace-crate"]
resolve-modules = [
"dep:regex",
"use-backtrace-crate",
]
use-backtrace-crate = ["dep:backtrace"]
use-btparse-crate = ["dep:btparse"]
[lib]
name = "color_backtrace"
path = "src/lib.rs"
[[example]]
name = "assert_failed"
path = "examples/assert_failed.rs"
[[example]]
name = "custom_message"
path = "examples/custom_message.rs"
[[example]]
name = "fmt_to_string"
path = "examples/fmt_to_string.rs"
required-features = ["use-backtrace-crate"]
[[example]]
name = "fmt_to_string_std"
path = "examples/fmt_to_string_std.rs"
required-features = ["use-btparse-crate"]
[[example]]
name = "force_color"
path = "examples/force_color.rs"
[[example]]
name = "panic_macro"
path = "examples/panic_macro.rs"
[[example]]
name = "unwrap_result"
path = "examples/unwrap_result.rs"
[dependencies.backtrace]
version = "0.3.57"
optional = true
[dependencies.btparse]
version = "0.2.0"
optional = true
[dependencies.regex]
version = "1.4.6"
optional = true
[dependencies.termcolor]
version = "1.1.2"