From 589f43e52e431b545491d0c09311b7208f4c73df Mon Sep 17 00:00:00 2001 From: Hamcha Date: Sun, 26 Nov 2023 23:07:54 +0100 Subject: [PATCH] backtrace --- Cargo.lock | 3 +++ Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index fb673bb..d27ab50 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -85,6 +85,9 @@ name = "anyhow" version = "1.0.75" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" +dependencies = [ + "backtrace", +] [[package]] name = "askama" diff --git a/Cargo.toml b/Cargo.toml index dab934a..b52a9cd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "0.1.0" edition = "2021" [dependencies] -anyhow = "1" +anyhow = { version = "1", features = ["backtrace"] } askama = { version = "0.12", features = ["with-axum"] } askama_axum = "0.3" axum = "0.6"