[package]
name = "vigil_symbolic"
version = "0.1.0"
edition = "2021"
license = "MIT"
publish = false
[lib]
name = "vigil_symbolic"
path = "src/lib.rs"
crate-type = ["cdylib"]
[dependencies]
rustler = "0.38"
# Debug information files (sentry-cli `debug-files upload`) and native
# symbolication: getsentry's own crates, the ones sentry-cli 2.58 (symbolic
# 12.13) and Sentry's symbolicator build on; 12.x is semver-compatible with
# what the CLI computes debug ids and features with. Taken one by one rather
# than through the `symbolic` umbrella so each one's features are ours:
#
# * symbolic-debuginfo: every object format with its default features
# (ELF, Mach-O, PE/PDB, Portable PDB, Breakpad, WASM, source bundles).
# symbolic-symcache depends on it with those defaults anyway. ELF
# brings `zstd` (zstd-compressed `.debug_*` sections, as current
# toolchains write them), which compiles zstd's vendored C sources
# statically through `cc`: no system library reaches the images, and
# the builder already has the C compiler bcrypt's NIF needs. DEFLATE
# goes through flate2's pure-Rust backend.
# * symbolic-symcache: the compact address → function/file/line(+inlinee)
# index built once per file and kept in Vigil.Storage.
# * symbolic-demangle: C++, Rust and MSVC names only. Its `swift` default
# builds Apple's C++ demangler with `cc`; Swift frames keep their
# mangled names rather than carry that.
symbolic-common = "12.13"
symbolic-debuginfo = "12.13"
symbolic-symcache = "12.13"
symbolic-demangle = { version = "12.13", default-features = false, features = ["cpp", "msvc", "rust"] }
# The legacy `POST /files/dsyms/` upload (what `sentry-cli upload-proguard`
# sends by default) is a zip. The same version and features as
# symbolic-debuginfo's own (stored and DEFLATE on the pure-Rust zlib-rs
# backend), so nothing new is built. Entries are read through a `take()`
# bounded by what is left of the cap; declared sizes are never trusted.
zip = { version = "7.2", default-features = false, features = ["deflate"] }
# Proguard/R8 mappings (Android): symbolic 12 dropped its proguard module
# for this crate. `uuid` computes a mapping's UUID (v5 over its contents)
# exactly as sentry-cli names it.
proguard = { version = "5.6", features = ["uuid"] }
# Minidumps (Breakpad/Crashpad, `upload_file_minidump`): rust-minidump.
# The processor keeps its default `disasm_amd64` (yaxpeax-x86, which
# explains a crashing x86 instruction): 0.26 doesn't build without it.
# yaxpeax-x86's default `colors` brings crossterm, pure Rust over libc and
# unused here. `http` (symbol servers through reqwest) and `debuginfo`
# (wholesym) stay off: it unwinds with the minidump's own stack memory and
# no symbols, and Vigil symbolicates the frames afterwards against
# uploaded debug files.
minidump = "0.26"
minidump-processor = "0.26"
minidump-unwind = { version = "0.26", default-features = false }
neiam
/vigil
public · Issues · Pulls · Labels · Forks · Compare · Actions queued · Badges · Packages
⭐
Log in to mark this repository.
2.9 KiB · text
History
334594a