make async-backtrace optional

This commit is contained in:
Igor Katson 2024-08-19 13:40:01 +01:00
parent 17353cf8e1
commit e4aac7930f
No known key found for this signature in database
GPG key ID: B4EC22B66D61A3F5
4 changed files with 44 additions and 21 deletions

View file

@ -22,6 +22,7 @@ storage_middleware = ["lru"]
storage_examples = []
tracing-subscriber-utils = ["tracing-subscriber"]
postgres = ["sqlx"]
async-bt = ["async-backtrace"]
[dependencies]
sqlx = { version = "0.7", features = [
@ -88,7 +89,7 @@ lru = { version = "0.12.3", optional = true }
mime_guess = { version = "2.0.5", default-features = false }
tokio-socks = "0.5.2"
async-trait = "0.1.81"
async-backtrace = "0.2"
async-backtrace = { version = "0.2", optional = true }
[build-dependencies]
anyhow = "1"