initial version

- preludes

- slice::{RotateInsertExt, SplitOn}, cstr::{UnixCStrAs, CStrSplit}, str::UnixStrAs

- exhaustive testing and checking

- documentation for everything
This commit is contained in:
2026-05-31 00:11:05 +02:00
commit 08d50f8dcc
10 changed files with 330 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
ANSIRED="\033[1;31m"
ANSIRESET="\033[0m"
errprint() {
printf "%b%s%b\n" \
"$ANSIRED" "$*" "$ANSIRESET" >&2
}
[ -f "Cargo.toml" ] || {
errprint "No Cargo.toml present"
exit 1
}
(
set -x
cargo check -q
cargo clippy -q
cargo test -q
cargo doc -q
cargo fmt --check
codespell
prettier --check .
git ls-files -z "*.sh" | xargs -0 shellcheck
)
if [ "${1:-}" == "extra" ]; then (
set -x
cargo +nightly miri test -q
) fi