Skip to content

Commit fe5f7cb

Browse files
authored
Bump anyhow to 1.0.80 and drop backtrace crate (#263)
1 parent 8ee83f2 commit fe5f7cb

File tree

5 files changed

+7
-66
lines changed

5 files changed

+7
-66
lines changed

Cargo.lock

Lines changed: 3 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/amalthea/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ zmq = "0.10.0"
2525
strum = "0.24"
2626
strum_macros = "0.24"
2727
crossbeam = { version = "0.8.2", features = ["crossbeam-channel"] }
28-
anyhow = "1.0.71"
28+
anyhow = "1.0.80"
2929
serde_with = "3.0.0"
3030
serde_repr = "0.1.17"
3131

crates/ark/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ authors = ["Posit, PBC"]
1111
[dependencies]
1212
actix-web = "4.4.0"
1313
amalthea = { path = "../amalthea" }
14-
anyhow = { version = "^1.0", features = ["backtrace"] }
14+
anyhow = "1.0.80"
1515
async-trait = "0.1.66"
16-
backtrace = "0.3.67"
1716
base64 = "0.21.0"
1817
bus = "2.3.0"
1918
cfg-if = "1.0.0"

crates/ark/src/traps.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ pub extern "C" fn backtrace_handler(signum: libc::c_int) {
3737
// Unlike asynchronous signals, SIGSEGV and SIGBUS are synchronous and
3838
// always delivered to the thread that caused it, so we can just
3939
// capture the current thread's backtrace
40-
let bt = backtrace::Backtrace::new();
40+
let bt = std::backtrace::Backtrace::capture();
4141
log::info!("{}\n{:?}", header, bt);
4242
}

crates/harp/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Tools for integrating R and Rust.
88
"""
99

1010
[dependencies]
11-
anyhow = "1.0.71"
11+
anyhow = "1.0.80"
1212
c2rust-bitfields = "0.17.0"
1313
cfg-if = "1.0.0"
1414
ctor = "0.1.26"

0 commit comments

Comments
 (0)