Compare commits

..

3 commits

Author SHA1 Message Date
alyssa
b83109b65a add /api/v2/bulk endpoint
Some checks are pending
Build and push Docker image / .net docker build (push) Waiting to run
Build and push Rust service Docker images / rust docker build (push) Waiting to run
also, initial support for patch models in rust!
2025-09-06 18:33:40 +00:00
alyssa
695d1debf2 chore: update recovery message on dashboard
Some checks failed
Build and push Docker image / .net docker build (push) Waiting to run
Build and push Rust service Docker images / rust docker build (push) Waiting to run
rust checks / cargo fmt (push) Waiting to run
Build dashboard Docker image / dashboard docker build (push) Has been cancelled
2025-09-06 18:33:40 +00:00
alyssa
ebb23286d8 chore: bump rust edition to 2024 2025-09-06 18:28:24 +00:00
4 changed files with 7 additions and 5 deletions

View file

@ -11,6 +11,7 @@
!Cargo.toml
!Cargo.lock
!rust-toolchain.toml
!PluralKit.sln
!nuget.config
!ci/dotnet-version.sh

View file

@ -4,7 +4,8 @@ WORKDIR /build
RUN apk add rustup build-base
# todo: arm64 target
RUN rustup-init --default-host x86_64-unknown-linux-musl --default-toolchain nightly-2025-08-22 --profile default -y
COPY rust-toolchain.toml .
RUN rustup-init --no-update-default-toolchain -y
ENV PATH=/root/.cargo/bin:$PATH
ENV RUSTFLAGS='-C link-arg=-s'

View file

@ -54,7 +54,6 @@
gcc
omnisharp-roslyn
bashInteractive
rust-analyzer
];
runScript = cmd;
};
@ -73,9 +72,7 @@
programs.nixfmt.enable = true;
};
nci.toolchainConfig = {
channel = "nightly";
};
nci.toolchainConfig = ./rust-toolchain.toml;
nci.projects."pluralkit-services" = {
path = ./.;
export = false;

3
rust-toolchain.toml Normal file
View file

@ -0,0 +1,3 @@
[toolchain]
channel = "nightly-2025-08-22"
components = ["rust-src", "rustfmt", "rust-analyzer"]