[package]
edition = "2024"
name = "crash-handler"
version = "0.8.0"
authors = [
"Embark <opensource@embark-studios.com>",
"Jake Shadle <jake.shadle@embark-studios.com>",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Allows running of user code during crash events"
homepage = "https://github.com/EmbarkStudios/crash-handling/tree/main/crash-handler"
documentation = "https://docs.rs/crash-handler"
readme = "README.md"
keywords = [
"breakpad",
"minidump",
"crash",
"signal",
"exception",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/EmbarkStudios/crash-handling"
resolver = "2"
[features]
debug-print = []
default = []
[lib]
name = "crash_handler"
path = "src/lib.rs"
[[test]]
name = "abort"
path = "tests/abort.rs"
[[test]]
name = "bus"
path = "tests/bus.rs"
[[test]]
name = "fpe"
path = "tests/fpe.rs"
[[test]]
name = "guard"
path = "tests/guard.rs"
[[test]]
name = "heap_corruption"
path = "tests/heap_corruption.rs"
[[test]]
name = "illegal"
path = "tests/illegal.rs"
[[test]]
name = "invalid_param"
path = "tests/invalid_param.rs"
[[test]]
name = "purecall"
path = "tests/purecall.rs"
[[test]]
name = "segv"
path = "tests/segv.rs"
[[test]]
name = "shared"
path = "tests/shared.rs"
[[test]]
name = "stack_overflow"
path = "tests/stack_overflow.rs"
[[test]]
name = "stack_overflow_pthread"
path = "tests/stack_overflow_pthread.rs"
[[test]]
name = "trap"
path = "tests/trap.rs"
[dependencies.cfg-if]
version = "1.0"
[dependencies.crash-context]
version = "0.8"
[dependencies.libc]
version = ">=0.2.180"
[dependencies.parking_lot]
version = "0.12"
[dev-dependencies]
[target.'cfg(target_os = "macos")'.dependencies.mach2]
version = "0.6"