feat: bump the MSRV to 1.65 (#215)

This commit is contained in:
Nishant Joshi
2022-12-22 12:29:59 +05:30
committed by GitHub
parent 60f076f1c3
commit 79a4a3addf
15 changed files with 16 additions and 16 deletions

View File

@ -13,4 +13,4 @@ name = "rust"
enabled = true
[analyzers.meta]
msrv = "1.64.0"
msrv = "1.65.0"

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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"

View File

@ -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:

View File

@ -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.
};

View File

@ -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

View File

@ -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: