diff --git a/.deepsource.toml b/.deepsource.toml index 4c7e1817f6..d3932afd23 100644 --- a/.deepsource.toml +++ b/.deepsource.toml @@ -13,4 +13,4 @@ name = "rust" enabled = true [analyzers.meta] -msrv = "1.64.0" +msrv = "1.65.0" diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 2924edc417..ab6fce7dba 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -95,7 +95,7 @@ jobs: - name: Install Rust uses: dtolnay/rust-toolchain@master with: - toolchain: 1.64 + toolchain: 1.65 - uses: Swatinem/rust-cache@v2.2.0 diff --git a/Dockerfile b/Dockerfile index 63a5a90cc3..d52495366d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.64 as builder +FROM rust:1.65 as builder RUN apt-get update \ && apt-get install -y libpq-dev libssl-dev diff --git a/INSTALL_dependencies.sh b/INSTALL_dependencies.sh index 8f5c481ac4..395af657ce 100755 --- a/INSTALL_dependencies.sh +++ b/INSTALL_dependencies.sh @@ -9,7 +9,7 @@ if [[ "${TRACE-0}" == "1" ]]; then set -o xtrace fi -RUST_MSRV=1.64.0 +RUST_MSRV=1.65.0 _DB_NAME="orca_db" _DB_USER="db_user" _DB_PASS="db_password" diff --git a/crates/common_utils/Cargo.toml b/crates/common_utils/Cargo.toml index f6d1bc5a00..5c1f4b8230 100644 --- a/crates/common_utils/Cargo.toml +++ b/crates/common_utils/Cargo.toml @@ -3,7 +3,7 @@ name = "common_utils" description = "Utilities shared across router and other crates" version = "0.1.0" edition = "2021" -rust-version = "1.64" +rust-version = "1.65" readme = "README.md" license = "Apache-2.0" diff --git a/crates/drainer/Cargo.toml b/crates/drainer/Cargo.toml index b5b149bd92..b83f8c0bc7 100644 --- a/crates/drainer/Cargo.toml +++ b/crates/drainer/Cargo.toml @@ -3,7 +3,7 @@ name = "drainer" description = "App that reads redis streams and executes queries in DB" version = "0.1.0" edition = "2021" -rust-version = "1.64" +rust-version = "1.65" readme = "README.md" license = "Apache-2.0" diff --git a/crates/masking/Cargo.toml b/crates/masking/Cargo.toml index 4e30e7e619..080ab94ed2 100644 --- a/crates/masking/Cargo.toml +++ b/crates/masking/Cargo.toml @@ -3,7 +3,7 @@ name = "masking" description = "Personal Identifiable Information protection. Wrapper types and traits for secret management which help ensure they aren't accidentally copied, logged, or otherwise exposed (as much as possible), and also ensure secrets are securely wiped from memory when dropped." version = "0.1.0" edition = "2021" -rust-version = "1.64" +rust-version = "1.65" readme = "README.md" license = "Apache-2.0" diff --git a/crates/redis_interface/Cargo.toml b/crates/redis_interface/Cargo.toml index 59f91e2913..d3624b3d4c 100644 --- a/crates/redis_interface/Cargo.toml +++ b/crates/redis_interface/Cargo.toml @@ -3,7 +3,7 @@ name = "redis_interface" description = "A user-friendly interface to Redis" version = "0.1.0" edition = "2021" -rust-version = "1.64" +rust-version = "1.65" readme = "README.md" license = "Apache-2.0" diff --git a/crates/router/Cargo.toml b/crates/router/Cargo.toml index b2b13ee009..a84c9ec78d 100644 --- a/crates/router/Cargo.toml +++ b/crates/router/Cargo.toml @@ -4,7 +4,7 @@ description = "Modern, fast and open payment router" version = "0.2.0" edition = "2021" default-run = "router" -rust-version = "1.64" +rust-version = "1.65" readme = "README.md" license = "Apache-2.0" build = "src/build.rs" diff --git a/crates/router_derive/Cargo.toml b/crates/router_derive/Cargo.toml index 4cd270a3ea..583b4cc85e 100644 --- a/crates/router_derive/Cargo.toml +++ b/crates/router_derive/Cargo.toml @@ -3,7 +3,7 @@ name = "router_derive" description = "Utility macros for the router crate" version = "0.1.0" edition = "2021" -rust-version = "1.64" +rust-version = "1.65" readme = "README.md" license = "Apache-2.0" diff --git a/crates/router_env/Cargo.toml b/crates/router_env/Cargo.toml index 82615bc2e6..e774f099f0 100644 --- a/crates/router_env/Cargo.toml +++ b/crates/router_env/Cargo.toml @@ -3,7 +3,7 @@ name = "router_env" description = "Environment of payment router: logger, basic config, its environment awareness." version = "0.1.0" edition = "2021" -rust-version = "1.64" +rust-version = "1.65" readme = "README.md" license = "Apache-2.0" build = "src/build.rs" diff --git a/docker-compose.yml b/docker-compose.yml index 89c4ab0422..f9b1330c9c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -77,7 +77,7 @@ services: - POSTGRES_DB=orca_db orca-server: - image: rust:1.64 + image: rust:1.65 command: cargo run -- -f ./config/docker_compose.toml working_dir: /app ports: diff --git a/flake.nix b/flake.nix index 7c8d359d15..c6eed2a7e6 100644 --- a/flake.nix +++ b/flake.nix @@ -37,7 +37,7 @@ pkg-config exa fd - rust-bin.stable."1.64.0".default + rust-bin.stable."1.65.0".default ] ++ lib.optionals stdenv.isDarwin [ frameworks.CoreServices frameworks.Foundation ]; # arch might have issue finding these libs. }; diff --git a/loadtest/Dockerfile b/loadtest/Dockerfile index ebbd75bf8a..45c4c7540a 100644 --- a/loadtest/Dockerfile +++ b/loadtest/Dockerfile @@ -1,10 +1,10 @@ -FROM rust:1.64 AS builder +FROM rust:1.65 AS builder WORKDIR /app COPY . . RUN cargo install diesel_cli && cargo build --bin router --release -FROM rust:1.64 AS runtime +FROM rust:1.65 AS runtime WORKDIR /app COPY --from=builder /app/migrations migrations COPY --from=builder /app/target/release/router router diff --git a/monitoring/docker-compose-ckh.yaml b/monitoring/docker-compose-ckh.yaml index 9515e17725..080ec0126b 100644 --- a/monitoring/docker-compose-ckh.yaml +++ b/monitoring/docker-compose-ckh.yaml @@ -156,7 +156,7 @@ services: hard: 262144 orca-server: - image: rust:1.64 + image: rust:1.65 command: cargo run -- -f ./config/docker_compose.toml working_dir: /app ports: