[package]
name = "symbolic-debuginfo"
version = "8.6.1"
license = "MIT"
authors = [
"Armin Ronacher <armin.ronacher@active-4.com>",
"Jan Michael Auer <mail@jauer.org>",
]
documentation = "https://docs.rs/symbolic-debuginfo"
homepage = "https://github.com/getsentry/symbolic"
repository = "https://github.com/getsentry/symbolic"
description = """
A library to inspect and load DWARF debugging information from binaries, such
as Mach-O or ELF.
"""
edition = "2018"
exclude = ["tests/**/*"]
[package.metadata.docs.rs]
all-features = true
[features]
default = ["breakpad", "elf", "macho", "ms", "sourcebundle", "wasm"]
breakpad = ["nom", "nom-supreme", "regex"]
dwarf = ["gimli", "lazycell"]
elf = [
"dwarf",
"flate2",
"goblin/endian_fd",
"goblin/elf32",
"goblin/elf64",
"goblin/std",
"scroll",
]
macho = [
"dwarf",
"elementtree",
"goblin/mach32",
"goblin/mach64",
"goblin/std",
"scroll",
"smallvec",
]
ms = [
"goblin/pe32",
"goblin/pe64",
"goblin/std",
"lazycell",
"parking_lot",
"pdb",
"scroll",
"smallvec",
]
sourcebundle = [
"lazy_static",
"lazycell",
"parking_lot",
"regex",
"serde_json",
"zip",
]
wasm = ["bitvec", "dwarf", "wasmparser"]
[dependencies]
bitvec = { version = "1.0.0", optional = true, features = ["alloc"] }
dmsort = "1.0.1"
elementtree = { version = "0.7.0", optional = true }
fallible-iterator = "0.2.0"
flate2 = { version = "1.0.13", optional = true, default-features = false, features = [
"rust_backend",
] }
gimli = { version = "0.26.1", optional = true, default-features = false, features = [
"read",
"std",
] }
goblin = { version = "0.5.1", optional = true, default-features = false }
lazy_static = { version = "1.4.0", optional = true }
lazycell = { version = "1.2.1", optional = true }
nom = { version = "7.0.0", optional = true }
nom-supreme = { version = "0.6.0", optional = true }
parking_lot = { version = "0.12.0", optional = true }
pdb = { version = "0.7.0", optional = true }
regex = { version = "1.3.5", optional = true }
scroll = { version = "0.11", optional = true }
serde = { version = "1.0.94", features = ["derive"] }
serde_json = { version = "1.0.40", optional = true }
smallvec = { version = "1.2.0", optional = true }
symbolic-common = { version = "8.6.1", path = "../symbolic-common" }
thiserror = "1.0.20"
wasmparser = { version = "0.82", optional = true }
zip = { version = "0.5.2", optional = true, default-features = false, features = [
"deflate",
] }
[dev-dependencies]
criterion = { version = "0.3.4", features = ["html_reports"] }
insta = "1.3.0"
similar-asserts = "1.0.0"
symbolic-testutils = { path = "../symbolic-testutils" }
[[bench]]
name = "breakpad_parser"
harness = false
required-features = ["breakpad"]