Skip to content

misterdownloadmanager: The ultimate open-source, clean-room download manager written from scratch in pure Rust for Windows, Mac, and Linux

2.1 KB
Raw Blame
[package]
name = "mdm-crash"
description = "Crash and freeze reports: the monitor process, minidumps, symbolicated stacks, logs"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
authors.workspace = true
publish.workspace = true

[dependencies]
# Out-of-process minidumps (Embark Studios, as Firefox and Sentry do it): the crashed process only
# asks; a monitor process writes the dump of every thread.
minidumper = "0.11"
crash-handler = "0.8"
# Mozilla's rust-minidump: stacks from a dump (unwound with each module's own unwind tables),
# symbols from Breakpad .sym files (release symbols, made in CI), and with `native-symbols` from
# the native debug info beside a program built from source.
minidump = "0.27"
minidump-processor = "0.27"
minidump-unwind = { version = "0.27", features = ["debuginfo-unwind"] }
breakpad-symbols = "0.27"
chrono.workspace = true
# The release's symbols come down through MDM's own engine, as every MDM download.
mdm-engine.workspace = true
reqwest.workspace = true
serde.workspace = true
serde_json.workspace = true
tokio.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
url.workspace = true
zip = { version = "9.1.3", default-features = false, features = ["deflate"] }

[features]
# Function names from a program's own debug info (its .pdb, DWARF) when no .sym file covers it:
# mdm-symbolicate, this crate's end-to-end test, and an app built with
# `--features mdm-crash/native-symbols` (or as part of the whole workspace, which turns it on).
# It brings a symbol reader and its own HTTP stack (wholesym), several MB, so the shipped app goes
# without it (#25): release reports are named with the release's .sym files.
default = ["native-symbols"]
native-symbols = ["minidump-unwind/debuginfo"]

[dev-dependencies]
tempfile.workspace = true

# examples/crashy.rs (the end-to-end test's crashing program) names its own threads.
[target.'cfg(windows)'.dev-dependencies]
windows-sys.workspace = true

[target.'cfg(unix)'.dev-dependencies]
libc = "0.2.191"

[lints]
workspace = true