From 62ec6fa3f728506d79f2b7907e784b727911441a Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 26 Apr 2023 12:36:01 +0000 Subject: [PATCH] Add better `anyhow` support --- Cargo.lock | 1 + Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 49ddd99..a42fbf8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1441,6 +1441,7 @@ version = "0.6.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cbeafb4809f33f377165f2fbcf10e0613053ad206762194c3050a727fd3abcb2" dependencies = [ + "anyhow", "anymap2", "async-once-cell", "async-stream", diff --git a/Cargo.toml b/Cargo.toml index b0f0002..7b0e6f0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ rand = { version = "0.8.5", optional = true } serenity = { version = "0.11.5", features = ["client", "cache", "gateway", "rustls_backend", "model"], default-features = false, optional = true } anyhow = { version = "^1.0.68", optional = true } # matrix -matrix-sdk = { version = "^0.6.2", optional = true } +matrix-sdk = { version = "^0.6.2", features = ["anyhow"], optional = true } [features] # data = [] # Always included