Repository navigation
Expand file tree
/
Copy pathCargo.toml
More file actions
91 lines (80 loc) · 2.88 KB
/
Copy pathCargo.toml
File metadata and controls
91 lines (80 loc) · 2.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
[workspace]
resolver = "3"
members = [
"crates/crash-context",
"crates/linux/process-backend",
"crates/process-reader",
]
[workspace.package]
repository = "https://github.com/rust-minidump/minidump-writer"
homepage = "https://github.com/rust-minidump/minidump-writer"
edition = "2024"
rust-version = "1.90.0"
license = "MIT"
[workspace.dependencies]
# Note this functionality is now available in std in 1.95.0
cfg-if = "1.0"
libc = { version = "0.2", default-features = false }
log = "0.4"
mach2 = "0.6"
serde = { version = "1.0.208", default-features = false, features = ["derive"] }
thiserror = "2.0"
[package]
name = "minidump-writer"
version = "0.13.0"
authors = ["Martin Sirringhaus"]
description = "Rust rewrite of Breakpad's minidump_writer"
repository.workspace = true
homepage.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
[dependencies]
bitflags = "2.10"
cfg-if.workspace = true
crash-context = { version = "0.8", path = "crates/crash-context" }
error-graph = { version = "0.1.1", features = ["serde"] }
failspot = "0.2.0"
goblin = "0.10"
log.workspace = true
# Type definitions and utilities for working with the Minidump format
minidump-common = "0.27"
# Reading and writing to memory. Keep aligned with version used by minidump-common and goblin
scroll = "0.13"
serde.workspace = true
serde_json = "1.0.116"
thiserror.workspace = true
[target.'cfg(unix)'.dependencies]
libc.workspace = true
memmap2 = "0.9"
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
byteorder = "1.4"
error-graph = { version = "0.1.1", features = ["serde"] }
failspot = "0.2.0"
plain = { version = "0.2.3", default-features = false }
process-backend = { version = "0.1.0", path = "crates/linux/process-backend", features = ["postcard", "unix_stream", "testing"] }
# Used for parsing procfs info.
# default-features is disabled since it pulls in chrono
procfs-core = { version = "0.18", default-features = false, features = ["serde1"] }
[target.'cfg(target_os = "windows")'.dependencies]
bitflags = "2.4"
[target.'cfg(target_os = "macos")'.dependencies]
mach2.workspace = true
[dev-dependencies]
# We auto-detect what the test binary that is spawned for most tests should be
# compiled for
current_platform = "0.2"
failspot = { version = "0.2.0", features = ["enabled"] }
# Minidump-processor is async so we need an executor
futures = { version = "0.3", features = ["executor"] }
minidump = "0.27"
memmap2 = "0.9"
tempfile = "3.16"
[target.'cfg(target_os = "macos")'.dev-dependencies]
# We dump symbols for the `test` executable so that we can validate that minidumps
# created by this crate can be processed by minidump-processor
dump_syms = { version = "2.3", default-features = false }
#minidump-processor = { version = "0.25", default-features = false }
minidump-unwind = { version = "0.27", features = ["debuginfo"] }
similar-asserts = "1.6"
uuid = "1.12"