[package]
name = "backtrace"
version = "0.3.26"
authors = ["Alex Crichton <alex@alexcrichton.com>",
"The Rust Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
repository = "https://github.com/alexcrichton/backtrace-rs"
homepage = "https://github.com/alexcrichton/backtrace-rs"
documentation = "https://docs.rs/backtrace"
description = """
A library to acquire a stack trace (backtrace) at runtime in a Rust program.
"""
autoexamples = true
autotests = true
[dependencies]
cfg-if = "0.1.6"
rustc-demangle = "0.1.4"
backtrace-sys = { path = "backtrace-sys", version = "0.1.17", optional = true }
libc = { version = "0.2.45", default-features = false }
serde = { version = "1.0", optional = true }
serde_derive = { version = "1.0", optional = true }
rustc-serialize = { version = "0.3", optional = true }
cpp_demangle = { default-features = false, version = "0.2.3", optional = true }
addr2line = { version = "0.9.0", optional = true }
findshlibs = { version = "0.4.1", optional = true }
memmap = { version = "0.7.0", optional = true }
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.3", optional = true }
[build-dependencies]
autocfg = "0.1"
[features]
default = ["std", "libunwind", "libbacktrace", "coresymbolication", "dladdr", "dbghelp"]
std = []
libunwind = []
unix-backtrace = []
dbghelp = []
kernel32 = []
libbacktrace = ["backtrace-sys"]
dladdr = []
coresymbolication = []
gimli-symbolize = ["addr2line", "findshlibs", "memmap" ]
serialize-rustc = ["rustc-serialize"]
serialize-serde = ["serde", "serde_derive"]
verify-winapi = [
'winapi/dbghelp',
'winapi/handleapi',
'winapi/libloaderapi',
'winapi/minwindef',
'winapi/processthreadsapi',
'winapi/winbase',
'winapi/winnt',
]
[[example]]
name = "backtrace"
required-features = ["std"]
[[example]]
name = "raw"
required-features = ["std"]
[[test]]
name = "skip_inner_frames"
required-features = ["std"]
[[test]]
name = "long_fn_name"
required-features = ["std"]
[[test]]
name = "smoke"
required-features = ["std"]
edition = '2018'