roadmap

What the review read and ran

An appendix to the milestone.

The crate

partsfoundry/interfaces_note at 088baba279e29e6cd5a9ff5a73c57108cacc54c3, version 0.1.0 with publish = false. Read: Cargo.toml, README.md, CHANGELOG.md and the whole of src/lib.rs, which holds the library, three Kani harnesses and seven unit tests. The census of milestone 1129 (the combine review) counted the crate at this commit.

The commands

Run with rustc 1.100.0 on a Linux x86_64 host, with the build directory outside the clone.

The scratch programs

One scratch crate depends on the clone by path and on object at =0.41.0. Each program below is one file in it.

The comparators read

The review downloaded each crate below from crates.io at the version the prior-art table gives, unpacked it into a directory of its own and read the files named.

Two more note walkers, measured at the same time as the prior-art table:

crate version read total 90 days reverse dependencies updated
goblin 0.10.7 93,052,286 25,019,137 410 2026-05-28
elf 0.8.0 14,880,568 4,050,441 94 2025-05-14

The review measured cargo-auditable 0.7.8, the compiler wrapper, (1,579,261 downloads, 617,779 in 90 days, no reverse dependency, updated 2026-11-25) and did not read it. Searches of crates.io for an ELF note writer by the names elf-note, elfnote and elf_note found no crate.

The comparison

How the nearest five compare, read from each one's source:

axis interfaces_note auditable-serde with auditable-extract abi_stable 0.11.3 solana-security-txt 1.1.3 Linux ELFNOTE
what the binary carries 12-byte records, id and version compressed JSON, the dependency tree a header the library exports text between two markers any value, under a name and a type
who places it carry_interfaces! a compiler wrapper an attribute macro security_txt! the macro
a second record in one program compiles, two notes the reader takes one section by name one root module for each library a duplicate symbol, refused any number, one per source line
how the reader finds it not in the crate raw_auditable_data(&[u8]) a symbol lookup find_and_parse(&[u8]) the reader walks the notes
the check equality per interface none; a tool audits later semantic-version order none none
no_std, no allocation both needs std needs std the macro only not applicable
refusal type two, no Display Display and Error Display and Error, named fields thiserror none
one encoding per value, proved yes no no no no

The systems outside Rust

The Linux headers are GPL and glibc is LGPL; the review read them for their interface shape only.

The benchmark

A scratch crate depends on the clone by path and on auditable-serde at =0.9.0, built with cargo build --release, rustc 1.100.0, on a Linux x86_64 host (an Intel Xeon Platinum 8160 at 2.10 GHz, 80 threads).

Each row runs a closure in a loop that starts at 64 repeats and doubles until one pass lasts 50 ms. Seven passes follow at that count, and the figure is the lowest pass divided by the count. std::hint::black_box wraps every input and every result.

The results, in time per call:

operation 4 records 64 records
decode_interfaces 4.8 ns 29.1 ns
version_of, the last id 7.4 ns 80.3 ns
decode_interfaces and check_served, the last id 16.7 ns 75.6 ns
check_served once for each record 25.8 ns 2,105 ns
one merge walk over iter(), the same answer 13.0 ns 190.9 ns
auditable-serde: VersionInfo::from_str 970 ns 15,199 ns
auditable-serde: from_str and a search for the last package 949 ns 15,287 ns

The input is a list of 4 or of 64 records with ids 1, 4, 7 and so on, encoded once outside the loop: 56 and 776 bytes. The rows:

What was not run