Merge remote-tracking branch 'origin/main' into feat/elasticsearch

Signed-off-by: Zomatree <me@zomatree.live>
This commit is contained in:
Zomatree
2026-08-03 04:53:59 +01:00
104 changed files with 2619 additions and 432 deletions

View File

@@ -1,4 +1,6 @@
#!/bin/sh
# If you're having trouble building this locally or on your CI, try lowering
# the job count via CARGO_BUILD_JOBS. It defaults to 10.
if [ -z "$TARGETARCH" ]; then
:
@@ -62,9 +64,9 @@ deps() {
tee crates/core/ratelimits/src/lib.rs
if [ -z "$TARGETARCH" ]; then
cargo build -j 10 --locked --release
cargo build -j "${CARGO_BUILD_JOBS:-10}" --locked --release
else
cargo build -j 10 --locked --release --target "${BUILD_TARGET}"
cargo build -j "${CARGO_BUILD_JOBS:-10}" --locked --release --target "${BUILD_TARGET}"
fi
}
@@ -86,9 +88,9 @@ apps() {
crates/core/ratelimits/src/lib.rs
if [ -z "$TARGETARCH" ]; then
cargo build -j 10 --locked --release
cargo build -j "${CARGO_BUILD_JOBS:-10}" --locked --release
else
cargo build -j 10 --locked --release --target "${BUILD_TARGET}"
cargo build -j "${CARGO_BUILD_JOBS:-10}" --locked --release --target "${BUILD_TARGET}"
mv target _target && mv _target/"${BUILD_TARGET}" target
fi
}