diff options
author | edef <edef@unfathomable.blue> | 2022-07-30 15:11:56 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-07-30 15:11:56 +0000 |
commit | 264db440596908879070b146837b516722826bf5 (patch) | |
tree | 581cafee4e69c546460551c12a50b6c7e7e8c2dc /ripple | |
parent | 9300a465016c7474ee61d6cefa97c662c190aeff (diff) | |
download | unf-legacy-264db440596908879070b146837b516722826bf5.tar.zst |
ripple/minitrace: enable anyhow backtraces
Change-Id: Iad5f0bc07018c7c0d8c5345fc499e0e171bf75e3
Diffstat (limited to 'ripple')
-rw-r--r-- | ripple/Cargo.lock | 63 | ||||
-rw-r--r-- | ripple/minitrace/Cargo.toml | 2 |
2 files changed, 64 insertions, 1 deletions
diff --git a/ripple/Cargo.lock b/ripple/Cargo.lock index bb49f57..97e2925 100644 --- a/ripple/Cargo.lock +++ b/ripple/Cargo.lock @@ -3,6 +3,21 @@ version = 3 [[package]] +name = "addr2line" +version = "0.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b9ecd88a8c8378ca913a680cd98f0f13ac67383d35993f86c90a70e3f137816b" +dependencies = [ + "gimli", +] + +[[package]] +name = "adler" +version = "1.0.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" + +[[package]] name = "aho-corasick" version = "0.7.18" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -16,6 +31,9 @@ name = "anyhow" version = "1.0.53" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "94a45b455c14666b85fc40a019e8ab9eb75e3a124e05494f5397122bc9eb06e0" +dependencies = [ + "backtrace", +] [[package]] name = "arrayref" @@ -47,6 +65,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cdb031dd78e28731d87d56cc8ffef4a8f36ca26c38fe2de700543e627f8a464a" [[package]] +name = "backtrace" +version = "0.3.66" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cab84319d616cfb654d03394f38ab7e6f0919e181b1b57e1fd15e7fb4077d9a7" +dependencies = [ + "addr2line", + "cc", + "cfg-if", + "libc", + "miniz_oxide", + "object", + "rustc-demangle", +] + +[[package]] name = "bao" version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -445,6 +478,12 @@ dependencies = [ ] [[package]] +name = "gimli" +version = "0.26.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22030e2c5a68ec659fde1e949a745124b48e6fa8b045b7ed5bd1fe4ccc5c4e5d" + +[[package]] name = "git2" version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -684,6 +723,15 @@ dependencies = [ ] [[package]] +name = "miniz_oxide" +version = "0.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6f5c75688da582b8ffc1f1799e9db273f32133c49e048f614d22ec3256773ccc" +dependencies = [ + "adler", +] + +[[package]] name = "multimap" version = "0.8.3" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -733,6 +781,15 @@ dependencies = [ ] [[package]] +name = "object" +version = "0.29.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21158b2c33aa6d4561f1c0a6ea283ca92bc54802a93b263e910746d679a7eb53" +dependencies = [ + "memchr", +] + +[[package]] name = "oorandom" version = "11.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1058,6 +1115,12 @@ name = "ripple" version = "0.1.0" [[package]] +name = "rustc-demangle" +version = "0.1.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ef03e0a2b150c7a90d01faf6254c9c48a41e95fb2a8c2ac1c6f0d2b9aefc342" + +[[package]] name = "rustc_version" version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" diff --git a/ripple/minitrace/Cargo.toml b/ripple/minitrace/Cargo.toml index 261e2c2..2f41c14 100644 --- a/ripple/minitrace/Cargo.toml +++ b/ripple/minitrace/Cargo.toml @@ -8,7 +8,7 @@ edition = "2021" [dependencies] nix = "0.23.1" -anyhow = "1.0.53" +anyhow = { version = "1.0.53", features = ["backtrace"] } bitflags = "1.3.2" # TODO(edef): upgrade nom, we're stuck with 7.0 for MSRV reasons nom = ">= 7.0.0, <7.1" |