version = "1.0.71"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8"
+dependencies = [
+ "backtrace",
+]
[[package]]
name = "argparse"
"tokio",
"tracing",
"uuid",
+ "wav",
]
[[package]]
"bytemuck",
]
+[[package]]
+name = "riff"
+version = "1.0.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b9b1a3d5f46d53f4a3478e2be4a5a5ce5108ea58b100dcd139830eae7f79a3a1"
+
[[package]]
name = "ring"
version = "0.16.20"
"web-sys",
]
+[[package]]
+name = "wav"
+version = "1.0.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "a65e199c799848b4f997072aa4d673c034f80f40191f97fe2f0a23f410be1609"
+dependencies = [
+ "riff",
+]
+
[[package]]
name = "web-sys"
version = "0.3.60"
doctest = false
[profile.release]
-strip = "symbols"
debug = 0
lto = "thin"
-[profile.dev]
-strip = "symbols"
-debug = 0
-
[features]
embed-pictrs = ["pict-rs"]
console = ["console-subscriber", "opentelemetry", "opentelemetry-otlp", "tracing-opentelemetry", "reqwest-tracing/opentelemetry_0_16"]
uuid = { version = "1.3.4", features = ["serde", "v4"] }
async-trait = "0.1.68"
captcha = "0.0.9"
-anyhow = "1.0.71"
+anyhow = { version = "1.0.71", features = ["backtrace"] } # backtrace is on by default on nightly, but not stable rust
diesel_ltree = "0.3.0"
typed-builder = "0.10.0"
serial_test = "0.9.0"
if let Some(message) = &self.message {
write!(f, "{message}: ")?;
}
- writeln!(f, "{}", self.inner)?;
+ // print anyhow including trace
+ // https://docs.rs/anyhow/latest/anyhow/struct.Error.html#display-representations
+ // this will print the anyhow trace (only if it exists)
+ // and if RUST_BACKTRACE=1, also a full backtrace
+ writeln!(f, "{:?}", self.inner)?;
fmt::Display::fmt(&self.context, f)
}
}