ARG RUST_VERSION=1.80 ARG FEATURES="" FROM rust:${RUST_VERSION} as builder-rust WORKDIR /app RUN --mount=type=bind,source=Cargo.toml,target=Cargo.toml \ --mount=type=bind,source=Cargo.lock,target=Cargo.lock \ --mount=type=bind,source=api,target=api \ --mount=type=bind,source=clients/rust,target=clients/rust \ --mount=type=bind,source=output-worker,target=output-worker \ --mount=type=bind,source=sentry-integration,target=sentry-integration \ --mount=type=cache,target=/app/target/ \ --mount=type=cache,target=/usr/local/cargo/registry/ \ <