diff --git a/.cargo/config.toml b/.cargo/config.toml new file mode 100644 index 0000000..7520df8 --- /dev/null +++ b/.cargo/config.toml @@ -0,0 +1,2 @@ +[env] +RUSTC_BOOTSTRAP = "1" diff --git a/Dockerfile b/Dockerfile index bd7222e..6c6daba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,8 +16,6 @@ RUN cargo chef cook --release --recipe-path recipe.json COPY . . ARG RELEASE_VERSION ENV RELEASE_VERSION=${RELEASE_VERSION} -# HACK: Enable the use of features on stable -ENV RUSTC_BOOTSTRAP=1 RUN cargo auditable build --release FROM gcr.io/distroless/cc-debian12:nonroot AS runtime diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..5a632b9 --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,4 @@ +[toolchain] +channel = "1.85" +profile = "default" +components = ["rust-analyzer"]