diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 13fadd23..1ba20f3b 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -17,6 +17,6 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 - name: deny audit - uses: EmbarkStudios/cargo-deny-action@v1 + uses: EmbarkStudios/cargo-deny-action@v2 with: command: check advisories diff --git a/Cargo.lock b/Cargo.lock index 04757f8f..40d813b8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -157,9 +157,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.6.0" +version = "2.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +checksum = "8f68f53c83ab957f72c32642f3868eec03eb974d1fb82e453128456482613d36" dependencies = [ "serde", ] @@ -529,11 +529,11 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "70f4c4681ed7bec47acf654be525d45b7bda126d5e15104a514af4d860ae15e4" dependencies = [ "anyhow", - "bitflags 2.6.0", + "bitflags 2.8.0", "cab", "crossbeam", "dirs", - "goblin", + "goblin 0.8.2", "hashbrown 0.14.5", "log", "lzma-rs", @@ -802,10 +802,22 @@ dependencies = [ "cfg-if", "js-sys", "libc", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "wasm-bindgen", ] +[[package]] +name = "getrandom" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43a49c392881ce6d5c3b8cb70f98717b7c07aabbdff06687b9030dbfbe2725f8" +dependencies = [ + "cfg-if", + "libc", + "wasi 0.13.3+wasi-0.2.2", + "windows-targets 0.52.6", +] + [[package]] name = "gimli" version = "0.30.0" @@ -837,6 +849,17 @@ dependencies = [ "scroll 0.12.0", ] +[[package]] +name = "goblin" +version = "0.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daa0a64d21a7eb230583b4c5f4e23b7e4e57974f96620f42a7e75e08ae66d745" +dependencies = [ + "log", + "plain", + "scroll 0.12.0", +] + [[package]] name = "hashbrown" version = "0.14.5" @@ -1197,7 +1220,7 @@ version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c0ff37bd590ca25063e35af745c343cb7a0271906fb7b37e4813e8f79f00268d" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "libc", ] @@ -1228,7 +1251,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a563f3068af081e11c8b03dc1fb8ff5654993ce538f7a4b1806e3461a8b86166" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "byteorder", "memchr", "thiserror 1.0.69", @@ -1377,7 +1400,7 @@ version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5273687f49325b3977f7d372a1bbe2e528694d18128de8dcac78d134448e83b4" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "debugid", "num-derive", "num-traits", @@ -1410,7 +1433,7 @@ dependencies = [ name = "minidump-writer" version = "0.10.1" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "byteorder", "cfg-if", "crash-context", @@ -1419,7 +1442,7 @@ dependencies = [ "error-graph", "failspot", "futures", - "goblin", + "goblin 0.9.3", "libc", "log", "mach2", @@ -1435,7 +1458,7 @@ dependencies = [ "serde_json", "similar-asserts", "tempfile", - "thiserror 1.0.69", + "thiserror 2.0.10", "uuid", ] @@ -1461,7 +1484,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2886843bf800fba2e3377cff24abf6379b4c4d5c6681eaf9ea5b0d15090450bd" dependencies = [ "libc", - "wasi", + "wasi 0.11.0+wasi-snapshot-preview1", "windows-sys 0.52.0", ] @@ -1471,7 +1494,7 @@ version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4c25a3bb7d880e8eceab4822f3141ad0700d20f025991c1f03bd3d00219a5fc" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", ] [[package]] @@ -1486,7 +1509,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "71e2746dc3a24dd78b3cfcb7be93368c6de9963d30f43a6a73998a9cf4b17b46" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "cfg-if", "cfg_aliases", "libc", @@ -1628,7 +1651,7 @@ version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6f4d9133f33529242bbc22aaaffbd05a7c61712833ecb3a23f50acc1055f2bd5" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "elsa", "maybe-owned", "pdb2", @@ -1654,7 +1677,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "11fe3d7d11dde0fd142bf734ae5d645a4c62ede7c188bccc73dec5082359ff84" dependencies = [ "arrayvec", - "bitflags 2.6.0", + "bitflags 2.8.0", "thiserror 1.0.69", "zerocopy 0.7.35", "zerocopy-derive 0.7.35", @@ -1735,7 +1758,7 @@ version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "239df02d8349b06fc07398a3a1697b06418223b1c7725085e801e7c0fc6a12ec" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "hex", "serde", ] @@ -1787,7 +1810,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2fe5ef3495d7d2e377ff17b1a8ce2ee2ec2a18cde8b6ad6619d65d0701c135d" dependencies = [ "bytes", - "getrandom", + "getrandom 0.2.15", "rand", "ring", "rustc-hash", @@ -1850,7 +1873,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom", + "getrandom 0.2.15", ] [[package]] @@ -1897,7 +1920,7 @@ version = "0.5.8" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "03a862b389f93e68874fbf580b9de08dd02facb9a788ebadaf4a3fd33cf58834" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", ] [[package]] @@ -1906,7 +1929,7 @@ version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ba009ff324d1fc1b900bd1fdb31564febe58a8ccc8a6fdbb93b543d33b13ca43" dependencies = [ - "getrandom", + "getrandom 0.2.15", "libredox", "thiserror 1.0.69", ] @@ -2014,7 +2037,7 @@ checksum = "c17fa4cb658e3583423e915b9f3acc01cceaee1860e33d59ebae66adc3a2dc0d" dependencies = [ "cc", "cfg-if", - "getrandom", + "getrandom 0.2.15", "libc", "spin", "untrusted", @@ -2039,7 +2062,7 @@ version = "0.38.43" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a78891ee6bf2340288408954ac787aa063d8e8817e9f53abb37c695c6d834ef6" dependencies = [ - "bitflags 2.6.0", + "bitflags 2.8.0", "errno", "libc", "linux-raw-sys", @@ -2111,7 +2134,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bbcdc8625b92ae1b981f37d435599effed5464dd1f37c01f88ccf83c0e90b54d" dependencies = [ "addr2line 0.23.0", - "bitflags 2.6.0", + "bitflags 2.8.0", "cpp_demangle", "debugid", "elsa", @@ -2405,7 +2428,7 @@ dependencies = [ "fallible-iterator 0.3.0", "flate2", "gimli 0.31.1", - "goblin", + "goblin 0.8.2", "lazy_static", "nom", "nom-supreme", @@ -2505,13 +2528,13 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.15.0" +version = "3.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704" +checksum = "38c246215d7d24f48ae091a2902398798e05d978b24315d6efbc00ede9a8bb91" dependencies = [ "cfg-if", "fastrand", - "getrandom", + "getrandom 0.3.1", "once_cell", "rustix", "windows-sys 0.59.0", @@ -2775,9 +2798,9 @@ checksum = "b6c140620e7ffbb22c2dee59cafe6084a59b5ffc27a8859a5f0d494b5d52b6be" [[package]] name = "uuid" -version = "1.11.0" +version = "1.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f8c5f0a0af699448548ad1a2fbf920fb4bee257eae39953ba95cb84891a0446a" +checksum = "b3758f5e68192bb96cc8f9b7e2c2cfdabb435499a28499a42f8f984092adad4b" [[package]] name = "version_check" @@ -2800,6 +2823,15 @@ version = "0.11.0+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +[[package]] +name = "wasi" +version = "0.13.3+wasi-0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "26816d2e1a4a36a2940b96c5296ce403917633dff8f3440e9b236ed6f6bacad2" +dependencies = [ + "wit-bindgen-rt", +] + [[package]] name = "wasm-bindgen" version = "0.2.99" @@ -2887,7 +2919,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5309c1090e3e84dad0d382f42064e9933fdaedb87e468cc239f0eabea73ddcb6" dependencies = [ "ahash", - "bitflags 2.6.0", + "bitflags 2.8.0", "hashbrown 0.14.5", "indexmap", "semver", @@ -3133,6 +3165,15 @@ version = "0.52.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" +[[package]] +name = "wit-bindgen-rt" +version = "0.33.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3268f3d866458b787f390cf61f4bbb563b922d091359f9608842999eaee3943c" +dependencies = [ + "bitflags 2.8.0", +] + [[package]] name = "write16" version = "1.0.0" diff --git a/Cargo.toml b/Cargo.toml index e87d1caa..1180179f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" license = "MIT" [dependencies] -bitflags = "2.4" +bitflags = "2.8" byteorder = "1.4" cfg-if = "1.0" crash-context = "0.6" @@ -21,12 +21,12 @@ minidump-common = "0.24" scroll = "0.12" serde = { version = "1.0.208", features = ["derive"] } serde_json = "1.0.116" -tempfile = "3.8" -thiserror = "1.0" +tempfile = "3.16" +thiserror = "2.0" [target.'cfg(unix)'.dependencies] libc = "0.2" -goblin = "0.8.2" +goblin = "0.9.2" memmap2 = "0.9" [target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies] @@ -65,5 +65,5 @@ memmap2 = "0.9" dump_syms = { version = "2.2", default-features = false } #minidump-processor = { version = "0.24", default-features = false } minidump-unwind = { version = "0.24", features = ["debuginfo"] } -similar-asserts = "1.5" -uuid = "1.4" +similar-asserts = "1.6" +uuid = "1.12"