# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2024" rust-version = "1.88.0" name = "minidump-writer" version = "0.12.0" authors = ["Martin Sirringhaus"] build = "build.rs" autolib = false autobins = false autoexamples = false autotests = false autobenches = false description = "Rust rewrite of Breakpad's minidump_writer" homepage = "https://github.com/rust-minidump/minidump-writer" readme = "README.md" license = "MIT" repository = "https://github.com/rust-minidump/minidump-writer" [lib] name = "minidump_writer" path = "src/lib.rs" [[bin]] name = "test" path = "src/bin/test.rs" [[example]] name = "synthetic" path = "examples/synthetic.rs" [[test]] name = "linux_minidump_writer" path = "tests/linux_minidump_writer.rs" [[test]] name = "linux_minidump_writer_soft_error" path = "tests/linux_minidump_writer_soft_error.rs" [[test]] name = "linux_module_reader" path = "tests/linux_module_reader.rs" [[test]] name = "mac_minidump_writer" path = "tests/mac_minidump_writer.rs" [[test]] name = "ptrace_dumper" path = "tests/ptrace_dumper.rs" [[test]] name = "task_dumper" path = "tests/task_dumper.rs" [[test]] name = "windows_minidump_writer" path = "tests/windows_minidump_writer.rs" [dependencies] bitflags = "2.10" cfg-if = "1.0" crash-context = "0.6" failspot = "0.2.0" goblin = "0.9.2" minidump-common = "0.26" scroll = "0.12" serde_json = "1.0.116" [dependencies.error-graph] version = "0.1.1" features = ["serde"] [dependencies.log] version = "0.4" [dependencies.serde] version = "1.0.208" features = ["derive"] default-features = false [dependencies.thiserror] version = "2.0" [dev-dependencies] current_platform = "0.2" memmap2 = "0.9" minidump = "0.26" tempfile = "3.16" [dev-dependencies.failspot] version = "0.2.0" features = ["enabled"] [dev-dependencies.futures] version = "0.3" features = ["executor"] [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] byteorder = "1.4" failspot = "0.2.0" [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.error-graph] version = "0.1.1" features = ["serde"] [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.process-backend] path = "crates/linux/process-backend" features = ["testing"] [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies.procfs-core] version = "0.18" features = ["serde1"] default-features = false [target.'cfg(target_os = "macos")'.dependencies] mach2 = "0.4" [target.'cfg(target_os = "macos")'.dev-dependencies] similar-asserts = "1.6" uuid = "1.12" [target.'cfg(target_os = "macos")'.dev-dependencies.dump_syms] version = "2.3" default-features = false [target.'cfg(target_os = "macos")'.dev-dependencies.minidump-unwind] version = "0.26" features = ["debuginfo"] [target.'cfg(target_os = "windows")'.dependencies] bitflags = "2.4" [target."cfg(unix)".dependencies] memmap2 = "0.9" [target."cfg(unix)".dependencies.libc] version = "0.2" [workspace] members = [ "crates/process-reader", "crates/linux/process-backend", ] resolver = "3" [workspace.package] homepage = "https://github.com/rust-minidump/minidump-writer" license = "MIT" repository = "https://github.com/rust-minidump/minidump-writer" edition = "2024" rust-version = "1.88.0" [workspace.dependencies] libc = "0.2" log = "0.4" thiserror = "2.0" [workspace.dependencies.serde] version = "1.0.208" features = ["derive"] default-features = false