graphql-engine/v3/crates/hasura-authn-core/Cargo.toml
Samir Talwar 5a0102b407 Avoid .unwrap in favor of anyhow for better error messages in tests. (#430)
I am struggling to diagnose some errors and `.unwrap` is not helping, as
it doesn't properly capture stack traces or anything else that might be
useful.

`anyhow` was built for this. Let's use it.

I had to convert `SessionError` to a real `Error`, which I don't think
is a bad thing.

V3_GIT_ORIGIN_REV_ID: 3b8a70bb87e12e7b9e39515cd5f769fbd2cbfb39
2024-04-02 17:06:56 +00:00

22 lines
363 B
TOML

[package]
name = "hasura-authn-core"
version.workspace = true
edition.workspace = true
license.workspace = true
[lib]
bench = false
[dependencies]
lang-graphql = { path = "../lang-graphql" }
open-dds = { path = "../open-dds" }
axum = "0.6.20"
http = "0.2"
schemars = "0.8.12"
serde = "1.0.183"
thiserror = "1.0"
[dev-dependencies]
pretty_assertions = "1.3.0"