Correctness and verification
ayaml verifies parser, serializer, and editor correctness across eight layers,
from zero-unsafe compilation to fuzzing, Miri, and Kani formal proofs.
YAML 1.2.2 is a subtle format. Indentation rules, block scalars, anchors and aliases, explicit mapping keys, flow-inside-block nesting, and multi-byte UTF-8 byte offsets create edge cases where ordinary unit tests alone miss bugs. Relying on a single technique leaves blind spots: unit tests only check inputs a human thought to write, fuzzers only explore paths they can reach, and formal proofs only hold inside their modeled bounds.
Instead of betting on one method, ayaml layers eight complementary checks so bugs that slip
past one layer are caught by another. Every section below explains what the technique is in
plain terms, what bug class it catches, how ayaml runs it, and what it does not prove.
At a glance
Section titled “At a glance”| Layer | Technique | What it catches | Scale in ayaml |
Cadence |
|---|---|---|---|---|
| 1 | Static checks & API freeze | unsafe code, hidden panics, SemVer breaks, dep creep |
0 unsafe, 2 direct runtime deps, 3 OSes, MSRV 1.88 |
Every PR |
| 2 | Conformance & differential oracles | Spec mismatches vs YAML 1.2.2, JSON, and real configs | 405 suite cases (2,240 checks, 0 deviations) | Every PR |
| 3 | Unit, fault-injection & DoS tests | Logic bugs, short writes, alias bombs, stack/heap DoS | 1,087 tests + 83 doctests (1,170 total), 67 active adversarial tests | Every PR |
| 4 | Property-based testing (proptest) |
Invariant breaks on generated trees and round trips | 29 properties (up to 16,384 cases each) | Every PR + daily |
| 5 | Structure-aware fuzzing (libFuzzer + ASan) |
Crashes, hangs, secret leaks, parser/stream drift | 10 fuzz targets + 9 PR seed tests (25.1h 1.0 soak) | Every PR + daily |
| 6 | Undefined behavior detection (Miri) | Memory/aliasing UB in stdlib, deps, and test allocator | 6 suites: core, APIs, spans/SM, events-typed, ayaml-edit, memcount |
Daily |
| 7 | Bounded model checking (Kani / CBMC) | Integer overflows, slice panics, sorting-order bugs | 41 #[kani::proof] harnesses across 10 files |
Daily |
| 8 | Mutation testing, perf gates & supply chain | Weak tests, O(n^2) or heap regressions, tampered releases | 32 mutant shards (0 missed), Callgrind, Trusted Publishing | Every PR / weekly / release |
1. Compile-time guarantees and static discipline
Section titled “1. Compile-time guarantees and static discipline”What it is: Checks that run while compiling the code, before any test binary executes.
Rust’s type system and borrow checker prevent whole classes of memory-safety bugs (buffer
overflows, use-after-free, data races) in safe code, provided the crate avoids unsafe
blocks. See Safe and Unsafe Rust in the Rustonomicon
for background on what unsafe unlocks and why avoiding it matters.
What bugs it catches: Memory corruption, unintended panics on untrusted input, accidental breaking API changes, dependency bloat, and platform-specific compilation failures.
How ayaml enforces it:
- Zero
unsafein published crates: Bothayamlandayaml-editdeclare#![forbid(unsafe_code)], which makes anyunsafeblock a hard compiler error. Every pull request also runscargo-geigerviatools/check_unsafe_census.pyover the full dependency tree to verify thatayamlandayaml-editcontain zerounsafeitems and forbidunsafe_code, that no unexpected source files went unscanned, and that anyunsafecode in transitive dependencies stays inside an explicit allowlist (serde,serde_core,indexmap,hashbrown). - Panic-free production library lint profile: Both library crates are checked with
cargo clippy --lib ... -- -D warnings -D clippy::unwrap_used -D clippy::expect_used -D clippy::panic -D clippy::panic_in_result_fn -D clippy::unwrap_in_result -D clippy::exit -D clippy::print_stdout -D clippy::print_stderr(plus-D clippy::unreachablevia--no-depsonayaml-edit). Library code must return structuredResult<_, Error>values rather than printing to stdout/stderr or aborting the caller’s process. - Minimal runtime dependencies and scanner isolation: Direct runtime dependencies of
ayamlare restricted toserdeandindexmap(with onlyserde_core,hashbrown, andequivalentas transitive runtime crates, andayaml-editdepending only onayamlandserde, adding zero new transitive runtime crates), enforced bytools/check_deps.pyandcargo-deny(see Dependency policy). A dedicated policy test incrates/ayaml/tests/repository_policy.rsverifies noindexmaptype leaks intoayaml’s public API, andtools/check_deps.pyverifies that the internal scanner modules (crates/ayaml/src/scanner.rsandcrates/ayaml/src/scanner/) only import approved low-level modules and never pull in higher parser or Serde layers. - API and SemVer freeze: Compile-time trait freeze suites
(
crates/ayaml/tests/api_freeze.rsandcrates/ayaml-edit/tests/api_freeze.rs) pinSend,Sync,Unpin, standard derives, andconst fnconstructors. Every PR runs bothcargo-semver-checksand a rustdoc JSONpublic-apidiff (tools/check_public_api.py) against the last released tag (see Stability and versioning). - Toolchain and OS matrix: CI tests Rust 1.88 (the Minimum Supported Rust Version, MSRV),
current stable,
-Z minimal-versions(verifying declared minimum dependency versions actually compile and pass), Linux, macOS, Windows, and cross-target checks for Apple Silicon, x86_64 macOS, and Windows MSVC/GNU in.github/workflows/ci.yml.
Honest limits: Static checks guarantee memory safety and API shape, not that parsed YAML matches the specification. A parser can be 100% safe Rust and still misread an indented block scalar.
2. Standards conformance and differential oracles
Section titled “2. Standards conformance and differential oracles”What it is: Checking ayaml against external ground truth rather than only against tests
written by the same author. A differential oracle feeds the exact same input to two
independent implementations (or compares against an independently derived reference output)
and flags any disagreement.
What bugs it catches: Subtle spec misinterpretations, regressions in rare YAML grammar productions, drift between fast-path streaming code and general-purpose tree parsing, and silent formatting corruption during source-preserving edits.
How ayaml runs it:
- Pinned YAML 1.2.2 Test Suite (0 deviations): The official
YAML Test Suite for the
YAML 1.2.2 specification is vendored at a pinned commit
under
tests/data/yaml-test-suite/srcand executed bycrates/ayaml-conformanceon every PR. In default YAML 1.2.2 mode,ayamlruns all 405 suite cases (94 expected-error cases and 311 valid documents) across seven check categories (up to seven checks per case): accept/reject classification (405/405), lazy event tree (311/311), eager event tree (311/311), canonical JSON equivalence (282/282), event re-emission (311/311), stream re-emission (311/311), andValuere-emission (309/309), totaling 2,240 default checks with 0 deviations. The optionallibyaml-compatcompatibility profile also runs the full suite with its 12 deliberate compatibility deviations explicitly pinned intests/data/yaml-test-suite-deviations.txt(any unexpected pass or fail breaks CI). - RFC 8259 JSON differential oracle: YAML 1.2.2 is defined as a strict superset of JSON
(RFC 8259).
crates/ayaml/tests/json_conformance.rscomparesayamldirectly againstserde_jsonover a curated corpus, edge cases, and generated JSON payloads, verifying flow collections, Unicode surrogate-pair escapes, numbers, and quoting while pinning the narrow documented boundary cases between YAML 1.2.2 and RFC 8259. - Real-world reduced oracles:
crates/ayaml/tests/real_world.rschecks minimal fixtures reduced from real-world YAML configs against independent hand-constructed expected documents and canonical event streams stored in sibling.oracle.jsonfiles so a parser bug cannot be accidentally blessed into a golden snapshot. - Shared position vectors:
crates/ayaml/tests/shared_vectors.rsvalidatesLineIndexUTF-8, Unicode scalar, and UTF-16 column conversions against shared format-contract test vectors undertests/vectors/. - Event-stream vs. tree oracle equivalence: Single-document typed Serde decoding streams
directly from parser events at every input size, while retaining the whole-document tree
reader as an internal test oracle (
from_str_by_tree). Differential tests, property tests, and theborrowedfuzz target verify both readers agree on every value and error. - Runtime self-verification in
ayaml-edit: Beforeayaml-editreturnsOk(VerifiedEdit), it re-parses the spliced YAML withayamland verifies that both the resultingValuetree and the canonical event stream match the exact intended edit and nothing else (see Source-preserving editing).
Honest limits: Conformance suites test known tricky cases, not arbitrary adversarial combinations or every possible runtime I/O failure.
3. Unit, contract, fault-injection, and adversarial DoS tests
Section titled “3. Unit, contract, fault-injection, and adversarial DoS tests”What it is: Targeted tests for individual functions, public API contracts, simulated I/O faults, and hostile inputs engineered to trigger denial of service (exhausting CPU, stack, or heap memory).
What bugs it catches: Regressions in specific APIs (ErrorCode, MaskedError,
Spanned<T>, Frontmatter, DocumentDeserializer, opt-in merge keys), broken behavior on
interrupted or short writes, and resource-limit bypasses such as exponential alias expansion
(“billion laughs”) or quadratic scanning.
How ayaml runs it:
- 1,087 active workspace Rust tests + 83 doctests (1,170 total): Every PR runs all library
unit tests, 29 integration test suites in
crates/ayaml/tests/, 5 suites incrates/ayaml-edit/tests/, 2 suites incrates/ayaml-conformance/tests/, and 83 doctests (24 incrates/ayaml/src/doc comments, 2 incrates/ayaml-edit/src/, plus 57book_doctestscompiled and executed straight out ofREADME.md,crates/ayaml-edit/README.md, anddocs/**/*.mdviacrates/ayaml-conformance/src/lib.rs). - Bidirectional error-code and repository-policy contracts:
crates/ayaml/tests/error_codes.rsverifies everyErrorCodevariant is triggered by real input and documented in Error codes, andcrates/ayaml/tests/repository_policy.rsasserts that critical CI jobs (allocations, event-streaming equivalence, public API, Miri, Kani, fuzzing, and docs) remain unconditionally wired. - Deterministic state-machine and I/O fault injection:
crates/ayaml/tests/state_machines.rsdrives emitters,Deserializercursors, and streaming typed reads through randomized valid/invalid event sequences and simulatedio::Writefaults (Interrupted,WriteZero, short writes, and mid-stream errors) using a fixed-seed PRNG. - Process-isolated adversarial DoS suites (67 active tests):
crates/ayaml/tests/adversarial.rsand its four submodules (dos,merge,reader,post_023) contain 65 active hostile-input tests (plus 5#[ignore]child-process helper entry points spawned by parent tests, running in both debug and release profiles in CI) using 52in_child!wrappers (50 across active tests and 2 in ignored helpers), alongside 2 active hostile-input tests (using 2in_child!wrappers) incrates/ayaml-edit/tests/adversarial.rs. Eachin_child!wrapper runs its attack in an isolated child process with a 1 GiB virtual-memory cap (RLIMIT_ASon Linux) and a hard wall-clock deadline so any alias bomb, deep nesting attack, or quadratic probe that ever leaks pastLimitsfails deterministically instead of hanging or exhausting host memory.
Honest limits: Hand-written test cases only exercise failure shapes engineers anticipated in advance.
4. Property-based testing (proptest)
Section titled “4. Property-based testing (proptest)”What it is: Instead of writing one example input and checking one expected output, you write a property (an invariant that must hold for every valid input) and let a generator create thousands of random inputs. When a property fails, the framework automatically shrinks the failing input down to the smallest minimal counterexample that still reproduces the bug. See the Proptest book for an introduction.
What bugs it catches: Subtle interaction bugs between combinations of features (for example, a quoted string containing control characters inside a flow mapping inside a document with anchors) that humans rarely write by hand.
How ayaml runs it:
- 29 properties across 9 test modules (including
crates/ayaml/tests/properties.rs,crates/ayaml/tests/properties/invariants.rs,scanner/tests.rs,frontmatter.rs,json_conformance.rs,merge_keys.rs,spanned_typed.rs,crates/ayaml-edit/tests/edits.rs, andcrates/ayaml-edit/tests/compat_scoped_flow.rs), powered by a custom YAML 1.2.2 grammar and value generator. - Checked invariants include emit-then-parse round-trip preservation across block and flow
styles,
SpannedTreespan bounds and slice integrity,LineIndexUTF-8/scalar/UTF-16 coordinate round trips,Tagequality/ordering/hashing coherence,Limitsmonotonicity, tree-vs-event-stream typed decoding equivalence,MaskedErrorsecret non-leakage,ayaml-editsplice equivalence and unrelated-value preservation, and JSON equivalence. - Every PR runs the default case count; a daily scheduled workflow
(
.github/workflows/proptest.yml) scales up to 16,384 generated cases per property inproperties(release mode) and 2,048 cases per property acrossfrontmatter,json_conformance,spanned_typed,merge_keys,scanner::tests, andayaml-edit.
Honest limits: Random generation explores the distribution defined by the generator; it does not observe branch coverage inside the parser to steer toward deep or malformed code paths.
5. Coverage-guided and structure-aware fuzzing (libFuzzer + ASan)
Section titled “5. Coverage-guided and structure-aware fuzzing (libFuzzer + ASan)”What it is: A coverage-guided fuzzer mutates inputs continuously while instrumenting
the compiled binary to observe which code branches each input hits. Whenever a mutation
reaches a new branch, the fuzzer keeps it in a corpus and mutates it further. Pairing fuzzing
with AddressSanitizer (ASan) turns any
out-of-bounds read/write or memory error in any dependency into an immediate crash.
Structure-aware targets use the fuzzer’s raw bytes to build structured inputs (such as
arbitrary Value trees, EmitOptions, or EditOp sequences) so the fuzzer reaches deep
logic instead of bouncing off early syntax checks. See
LLVM libFuzzer and the
Rust Fuzz Book.
What bugs it catches: Panics, infinite loops, quadratic slowdowns, malformed-UTF-8 or
slicing edge cases, secret leakage in Error::masked(), and silent disagreements between
different APIs on bizarre inputs.
How ayaml runs it:
- 10 fuzz targets under
fuzz/fuzz_targets/:parse,emit,borrowed,structured,spanned,merge_keys,masked_errors(embeds a recognizable fake secret string, called a “canary”, and assertsError::masked()never emits it),event_emit,typed_equiv(asserts tree-backed and event-streamed typed decoding agree), andedit. - Every PR: 9 deterministic seed-corpus tests covering 9 of the 10 fuzz targets (
parse,emit,structured,spanned,merge_keys,masked_errors,event_emit,typed_equiv,edit) run under stable Rust (cargo test --manifest-path fuzz/Cargo.toml --lib --locked), andcargo check --binsverifies all 10 fuzz targets (includingborrowed) still compile. - Daily scheduled fuzzing:
.github/workflows/fuzz.ymlruns all 10 targets under nightlycargo-fuzz+ ASan with per-target time caps (-max_total_time=60) and libFuzzer’s 2 GiB default RSS ceiling. Any discovered crash input is encrypted with theageencryption tool before upload so an unfixed DoS or correctness trigger is never published to public CI logs before a fix ships. - 1.0 release qualification soak (
D111): Ahead of1.0.0, all 10 release targets completed 25.10 actual CPU core-hours (39.24 wall core-hours, 162,640,914 executed units, peak RSS<= 1,028 MBunder-rss_limit_mb=2048) with zero crashes, zero OOMs, zero timeouts, and zero real slow units (full per-target table in Design decisions).
Honest limits: A bounded fuzz run is strong empirical evidence, never a proof of absence of bugs. A rare condition guarded by a narrow magic sequence can still evade random mutation.
6. Undefined behavior detection with Miri
Section titled “6. Undefined behavior detection with Miri”What it is: In Rust, undefined behavior (UB) means violating the language’s memory or aliasing rules (for example, dereferencing a dangling pointer, reading uninitialized memory, or using a pointer after another mutable reference invalidated its borrowing permissions under Rust’s Stacked Borrows model). Once UB occurs, the optimizer may miscompile the program in unpredictable ways. Miri is an interpreter for Rust’s Mid-level Intermediate Representation (MIR, the compiler’s simplified form of Rust code before optimization) that executes tests while tracking pointer origin and permissions (pointer provenance), alignment, initialization, and aliasing dynamically. See the Rust Reference on Undefined Behavior.
Why run Miri when ayaml forbids unsafe? Even when a crate has zero unsafe of its
own, it runs on top of the Rust standard library and its two direct runtime dependencies
(serde and indexmap), and the workspace includes an unpublished global counting allocator
(fuzz/src/bin/memcount.rs) used by memory benchmarks. Running Miri checks the combined
execution of ayaml, its dependencies, and the counting allocator for subtle UB or memory
leaks.
How ayaml runs it:
- Daily bounded runs in
.github/workflows/miri.ymlexecutecargo +nightly miri test(under Miri’s default Stacked Borrows model) with an 8 GiB virtual-memory cap (ulimit -v 8388608) and strict timeouts across five steps:ayamllibrary unit tests (--all-features, skipping 22 multi-megabyte and 20k-item stress tests via 21--skipfilters and scaling down high-iteration loops undercfg!(miri)across 15 unit tests plus 3#[cfg(not(miri))]stress sub-blocks intape/tests.rsso the 346 core library unit tests complete within timeout),- extended 1.0 API integration suites (
frontmatter,merge_keys,document_deserializer,spanned_typed,options), error_codes,masked_errors,api_freeze,spanned, andstate_machinesintegration suites (skipping only combinatorial/large-corpus cases),ayaml-editlibrary unit tests and integration suites (edits,compat_scoped_flow,api_freeze,migration_guides), and- the unpublished counting allocator in
fuzz/src/bin/memcount.rsunder Miri’s default isolation (blocking OS and filesystem calls). Steps 1 through 4 pass-Zmiri-disable-isolation(withPROPTEST_CASES=2where property suites run) so file-backed fixtures andproptestwork under the interpreter.
Honest limits: Miri only checks the specific execution paths taken by the tests it runs, and runs much slower than native execution, so it complements rather than replaces fuzzing and formal proofs.
7. Formal verification with Kani bounded model checking
Section titled “7. Formal verification with Kani bounded model checking”What it is: Testing and fuzzing check individual inputs one at a time. Bounded model
checking translates Rust code into a mathematical formula and hands it to a mathematical
logic solver (SAT/SMT solver, via Kani and the
CBMC verification engine) that searches exhaustively over
all possible values of symbolic inputs (every u64, usize, f64, or bounded byte
sequence) up to a stated bound. If any input can trigger an arithmetic overflow, out-of-bounds
index, assertion failure, or invariant break, the solver returns a concrete counterexample; if
the solver proves no counterexample exists, the property holds for every input in that domain.
What bugs it catches: Subtle integer overflows at usize::MAX / u64::MAX,
off-by-one UTF-8 char-boundary slicing panics, broken Eq/Ord/Hash coherence across edge
values like -0.0 or i128 boundaries, and non-monotonic capacity or budget calculations
that random inputs almost never hit.
How ayaml runs it:
ayaml maintains 41 #[kani::proof] harnesses across 10 source files (37 in ayaml and
4 in ayaml-edit), executed daily in
.github/workflows/kani.yml
via tools/run_kani.py
(which runs harnesses sequentially under a 3 GiB per-harness RLIMIT_AS ceiling, a 2 GiB
physical-memory budget measured as peak RSS, and per-harness timeouts):
| Module | Harnesses | Invariants proved symbolically |
|---|---|---|
crates/ayaml/src/position.rs |
8 | LineIndex line counts, UTF-8/scalar/UTF-16 block counters, exact coordinate checks for to_position and to_offset (including symbolic block-skip and 256-byte chunk loops), surrogate bounds, cursor cache equivalence to binary search, and non-printable UTF-8 classification equivalence to scalar oracle |
crates/ayaml/src/error.rs |
7 | Path byte accounting saturates without overflow; ASCII short-name check soundness; quoted-key escaping across all Unicode produces valid UTF-8 and escapes control chars; path truncation stays bounded, preserves UTF-8 boundaries, and is idempotent |
crates/ayaml/src/tape/kani_proofs.rs |
5 | 16-byte TapeNode span/tag/flag bit packing and u32 pair payload round trips, checked alias subtree-end shifting, bounded initial node capacity estimation, and ParserBuf outlier capacity retention clamping |
crates/ayaml/src/parser/kani_proofs.rs |
4 | Prefix token capacity estimation stays bounded and overflow-free across bounded input regimes and saturation boundaries up to usize::MAX; token arena growth helpers never overflow; line-window compaction shifts never underflow live lines |
crates/ayaml/src/frontmatter.rs |
3 | Frontmatter line-length and delimiter-matching helpers (including multi-byte UTF-8 trailing comments) stay strictly within input byte bounds on valid UTF-8 char boundaries |
crates/ayaml/src/limits.rs |
3 | Alias-expansion budget formula never overflows and stays capped; Limits::is_valid and internal limit-checking boundaries; budget charging is saturating and monotonic |
crates/ayaml/src/number.rs |
4 | Exact integer conversions are canonical; Eq/Ord/Hash coherence holds across signed/unsigned integer types and IEEE-754 floats (including -0.0 and NaN handling); stack-backed format_u64_inline buffer bounds and ASCII decimal digits match exact integer values |
crates/ayaml-edit/src/lib.rs |
4 | Edit span ordering is a strict total order; incremental spliced-length arithmetic never overflows; apply_edits span validation guarantees every splice stays in bounds on valid UTF-8 boundaries and never overlaps; comment character validation excludes all line breaks, BOM, noncharacters, and disallowed C0/C1 controls |
crates/ayaml/src/span.rs |
2 | Span start/end invariants guarantee safe &str slicing; Location::from(Position) saturates cleanly at usize::MAX |
crates/ayaml/src/scanner/chunk_scan.rs |
1 | All five 16-byte auto-vectorized chunk predicates (printable_ascii_chunk_ok, plain_block_chunk_ok, plain_flow_chunk_ok, single_quoted_chunk_ok, double_quoted_chunk_ok) match byte-by-byte scalar reference checks over all [u8; 16] chunks |
Honest limits: Kani is bounded model checking, not a whole-program proof of the entire YAML grammar. Proofs over loops or strings hold up to the configured loop iteration limit (unwind bound) or concrete buffer length, so Kani targets the arithmetic, indexing, ordering, and boundary helpers where exhaustive mathematical verification is strongest.
8. Mutation testing, performance gates, watchdog, and release integrity
Section titled “8. Mutation testing, performance gates, watchdog, and release integrity”Assuring correctness also means checking that the tests themselves are strong, that performance and memory bounds do not silently regress, that scheduled CI actually keeps running, and that published crates match the reviewed Git commit.
- Testing the tests (
cargo-mutants): Mutation testing deliberately injects small bugs (“mutants”, such as flipping<=to<, deleting a boundary check, or returning a default value) into library code and runs the test suite. If the tests still pass, the mutant “survived”, revealing a gap in test coverage. See cargo-mutants.ayamlruns weekly bounded mutation testing withcargo-nextest(--test-tool=nextest,--timeout 60) across 32 shards (24 forayamlover 13 core modules and 8 forayaml-edit) in.github/workflows/mutants.ymlusing.cargo/mutants.toml(excluding DoS-limit guards). Surviving mutants fail the scheduled job, trend artifacts (summary.json) are archived for 90 days, regression tests for previously caught mutants are tracked incrates/ayaml/tests/mutation_targets.rs, and the 1.0 qualification run tested 1,992 mutants with 1,731 caught and 0 missed across all 32 shards (31 timeout, 230 unviable; see Design decisions). - Deterministic allocation and instruction gates: Wall-clock timings fluctuate on shared
CI machines, so every PR runs two deterministic checks instead:
- Counting-allocator peak-heap, live-heap, total-byte, and allocation-count gates
(
tools/check_alloc_baseline.pyandtools/check_alloc_corpus.sh). - Steady-state Valgrind Callgrind diffs
against the base commit, failing above
+2.0%executed CPU instructions (Ir) or+5.0%simulated cycles (EstimatedCycles, which adds simulated cache and branch misses) viatools/check_instructions.py(see Benchmark methodology).
- Counting-allocator peak-heap, live-heap, total-byte, and allocation-count gates
(
- Scheduled-workflow watchdog: GitHub disables scheduled workflows after 60 days of repo
inactivity, and a broken nightly workflow is easy to overlook. Every day,
.github/workflows/scheduled-watch.ymlrunstools/check_scheduled_runs.pyto confirm that fuzzing, Miri, Kani, nightly proptest, mutation testing, and security advisory scans (advisories.yml) are still enabled and healthy. - Release supply-chain integrity: Releases are never published from a developer laptop.
.github/workflows/release.ymlre-runs the full CI gate on the annotated release tag, verifies packaged.cratesource files against the Git commit (tools/check_release.py package), publishes via crates.io Trusted Publishing (short-lived OpenID Connect identity tokens only; legacy API tokens are disabled on bothayamlandayaml-edit), verifies the.crateserved by crates.io against both the packaged archive and crates.io’s HTTP package index (sparse index) checksum (tools/check_release.py registry), and signs a SLSA Build Provenance v1 build receipt recorded in Sigstore’s public transparency log for every release archive.
Where to go next
Section titled “Where to go next”- Run any of these checks locally: Developer tooling and verification
- Read the threat model and masked-error guarantees: Security and untrusted input
- Review exact resource ceilings and memory formulas: Resource limits
- Inspect pinned CPU and memory results: Benchmarks