summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Carstairs <me@joeac.net>2024-11-17 16:37:07 +0000
committerJoe Carstairs <me@joeac.net>2024-11-17 16:37:22 +0000
commite044c796405c1800289160cb50d295cf2eda76cf (patch)
tree0d94a04fb8cb19b49aeeeddab0f11cf4abe93b57
parent035bc0d449e16cbbcd275dc19bc7b6c3ac4a1153 (diff)
anyhow backtrace feature enabled workspace-wide
-rw-r--r--rust/Cargo.lock4
-rw-r--r--rust/Cargo.toml2
2 files changed, 5 insertions, 1 deletions
diff --git a/rust/Cargo.lock b/rust/Cargo.lock
index b809931..ce690fa 100644
--- a/rust/Cargo.lock
+++ b/rust/Cargo.lock
@@ -30,6 +30,7 @@ dependencies = [
"actualbudget_schema",
"anyhow",
"diesel",
+ "libsqlite3-sys",
]
[[package]]
@@ -83,6 +84,9 @@ name = "anyhow"
version = "1.0.93"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c95c10ba0b00a02636238b814946408b1322d5ac4760326e6fb8ec956d85775"
+dependencies = [
+ "backtrace",
+]
[[package]]
name = "async-stream"
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 0bb2d0e..b973b7d 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -12,7 +12,7 @@ members = [
resolver = "2"
[workspace.dependencies]
-anyhow = { version = "1.0.0" }
+anyhow = { version = "1.0.0", features = ["backtrace"] }
chrono = { version = "0.4.38" }
cfg-if = "1.0.0"
derive_builder = { version = "0.20.2" }