From 8c6d88b734fcb21737922262f5d5d62f18c42f5d Mon Sep 17 00:00:00 2001 From: DhananjayPurohit Date: Mon, 5 Aug 2024 13:40:02 +0530 Subject: [PATCH] fix: upgrade sqlx version --- token-server/Cargo.toml | 2 +- token-server/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/token-server/Cargo.toml b/token-server/Cargo.toml index d43f7f28..829e905f 100644 --- a/token-server/Cargo.toml +++ b/token-server/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" config = "0.13.1" reqwest = { version = "0.11.16", features = ["blocking", "json", "socks"] } rocket = { version = "0.5.0-rc", features = ["json"] } -sqlx = { version = "0.7", features = [ "runtime-tokio", "postgres", "time", "uuid", "tls-rustls" ] } +sqlx = { version = "0.8.0", features = [ "runtime-tokio", "postgres", "time", "uuid", "tls-rustls" ] } serde = { version = "1.0.163", features = ["derive"] } serde_json = "1.0.96" schemars = { version = "0.8.12", features = ["chrono", "uuid"] } diff --git a/token-server/Dockerfile b/token-server/Dockerfile index 85fe2b0c..dcb7831e 100644 --- a/token-server/Dockerfile +++ b/token-server/Dockerfile @@ -28,7 +28,7 @@ WORKDIR /mercurylayer/token-server # # Build your Rust project. Since the source files are now present, # # the Rust compiler should be able to find and compile them. -RUN cargo build --release +RUN CARGO_TARGET_DIR=target cargo build --release EXPOSE 8001 # # Command to run the token server by default when the container starts