diff --git a/Dockerfile b/Dockerfile index 5faaa101..ffb728f0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build Stage -FROM --platform="${BUILDPLATFORM}" rust:1.77.2-slim-bookworm +FROM --platform="${BUILDPLATFORM}" rust:1.86.0-slim-bookworm USER 0:0 WORKDIR /home/rust/src diff --git a/Dockerfile.useCurrentArch b/Dockerfile.useCurrentArch index 6916dac8..c9e73ef4 100644 --- a/Dockerfile.useCurrentArch +++ b/Dockerfile.useCurrentArch @@ -1,5 +1,5 @@ # Build Stage -FROM rust:1.77.2-slim-bookworm +FROM rust:1.86.0-slim-bookworm USER 0:0 WORKDIR /home/rust/src diff --git a/README.md b/README.md index d0894dee..c6dbf8dc 100644 --- a/README.md +++ b/README.md @@ -34,10 +34,10 @@ The services and libraries that power the Revolt service.
## Minimum Supported Rust Version -Rust 1.76 or higher. +Rust 1.86.0 or higher. > [!CAUTION] -> The events server has a significant performance regression between Rust 1.77.2 and 1.78.0 onwards, see [issue #341](https://github.com/revoltchat/backend/issues/341). +> The events server has a significant performance regression between Rust 1.77.2 and 1.78.0 onwards, see [issue #341](https://github.com/revoltchat/backend/issues/341). This is currently solved by build time options but we are looking for a proper fix. ## Development Guide