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