chore: initial sanitized public snapshot

This commit is contained in:
Aria2 Rust Pro Contributors
2026-07-18 14:51:59 +08:00
commit 14dcf8c9bf
321 changed files with 76893 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#!/usr/bin/env bash
set -euo pipefail
if [ -f "${HOME}/.cargo/env" ]; then
# shellcheck disable=SC1091
source "${HOME}/.cargo/env"
fi
command -v cargo >/dev/null 2>&1 || {
echo "cargo is required to run fast gates" >&2
exit 1
}
cargo fmt --all --check
cargo check --workspace --all-targets --all-features --locked
cargo nextest run --workspace --all-targets --all-features --locked
# `clippy::cargo` spawns nested `cargo metadata` from clippy-driver. On the
# NAS runner this can wait behind the parent cargo/clippy target lock; keep
# dependency policy in strict gates via cargo-deny and cargo-udeps instead.
cargo clippy --workspace --all-targets --all-features --locked --no-deps -- \
-D warnings \
-D clippy::pedantic \
-D clippy::nursery