From ea2ac88a83b6de15beb8b9727f88d498a56fb5b3 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Mon, 22 Aug 2022 23:03:59 +0200 Subject: Add validation --- server/Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/Cargo.toml') diff --git a/server/Cargo.toml b/server/Cargo.toml index dca788a..8527fdb 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -5,7 +5,9 @@ edition = "2021" authors = ["Santo Cariotti "] [dependencies] +async-trait = "0.1" axum = { version = "0.5.15", features = ["headers"] } +http-body = "0.4.3" jsonwebtoken = "8.1" once_cell = "1.13" serde = { version = "1.0", features = ["derive"] } @@ -16,3 +18,4 @@ tracing-subscriber = { version = "0.3", features = ["env-filter"] } tower-http = { version = "0.3.4", features = ["trace", "compression-br", "propagate-header", "sensitive-headers"] } sqlx = { version = "0.6", features = [ "runtime-tokio-rustls", "postgres" ] } sha256 = "1.0.3" +validator = { version = "0.16.0", features = ["derive"] } -- cgit v1.2.3-18-g5258