[dependencies.compiler_builtins]
optional = true
version = "0.1.2"
[dependencies.core]
optional = true
package = "rustc-std-workspace-core"
version = "1.0.0"
[dependencies.gimli]
default-features = false
features = ["read-core"]
version = "0.31"
[dependencies.libc]
optional = true
version = "0.2"
[dependencies.spin]
default-features = false
features = ["mutex", "spin_mutex"]
optional = true
version = "0.9.8"
[features]
alloc = []
compiler_builtins = ["dep:compiler_builtins"]
core = ["dep:core"]
default = ["unwinder", "dwarf-expr", "hide-trace", "fde-phdr-dl", "fde-registry"]
dwarf-expr = []
fde-custom = []
fde-gnu-eh-frame-hdr = []
fde-phdr = ["libc"]
fde-phdr-aux = ["fde-phdr"]
fde-phdr-dl = ["fde-phdr"]
fde-registry = ["alloc"]
fde-static = []
hide-trace = []
libc = ["dep:libc"]
panic = ["panicking", "alloc"]
panic-handler = ["print", "panic"]
panic-handler-dummy = []
panicking = []
personality = []
personality-dummy = []
print = ["libc"]
rustc-dep-of-std = ["core", "gimli/rustc-dep-of-std", "compiler_builtins"]
spin = ["dep:spin"]
system-alloc = []
unwinder = []
[lib]
name = "unwinding"
path = "src/lib.rs"
[package]
authors = ["Gary Guo <gary@garyguo.net>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
description = "Unwinding library in Rust and for Rust"
edition = "2021"
license = "MIT OR Apache-2.0"
name = "unwinding"
readme = "README.md"
repository = "https://github.com/nbdd0121/unwinding/"
version = "0.2.4"
[package.metadata.docs.rs]
features = ["panic-handler"]
[profile.release]
debug = 2
[[test]]
name = "compile_tests"
path = "tests/compile_tests.rs"