nxtgauge-ai-assistant/Cargo.toml
Ashwin Kumar Sivakumar 2355788106
Some checks failed
build-and-release / build (push) Failing after 0s
Fix panic on every authenticated request: jsonwebtoken missing crypto backend
jsonwebtoken v10's default features are just use_pem - neither of its
crypto backend features (rust_crypto/aws_lc_rs) is enabled by default,
so decode::<Claims>() panicked on every real bearer token (not caught
by earlier testing, which only exercised the no-token 401 path).
backend-rust's own crates already enable rust_crypto for the same
crate; matches that here.
2026-07-02 22:27:03 +05:30

25 lines
910 B
TOML

[package]
name = "nxtgauge-ai-assistant"
version = "0.1.0"
edition = "2021"
[dependencies]
axum = { version = "0.7", features = ["macros"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
thiserror = "1"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter", "fmt"] }
tower-http = { version = "0.5", features = ["cors", "trace"] }
reqwest = { version = "0.12", features = ["json", "rustls-tls"] }
async-trait = "0.1"
uuid = { version = "1", features = ["v4", "serde"] }
chrono = { version = "0.4", features = ["serde"] }
sqlx = { version = "0.8", default-features = false, features = ["runtime-tokio-rustls", "postgres", "chrono", "uuid", "migrate", "macros"] }
url = "2"
urlencoding = "2"
jsonwebtoken = { version = "10", features = ["rust_crypto"] }
[dev-dependencies]
http-body-util = "0.1"