Skip to content

repository organization

Alejandro Vaz edited this page Aug 30, 2026 · 2 revisions

the repo looks like this

.github/                // CI + some docs + GitHub README
benches/                // benchmarking files
fuzz/                   // don't touch it, no one knows how it works
src/                    // the source code is here
    lib.rs              // most important file, it defines SmallVec
tests/                  // a lot of tests, mostly one for each feature
...

for CI

all CI is on .github/, and most of it is under workflows/

for docs

there are multiple places with documentation:

  • dir level: AGENTS.md, crates.io README.md, licenses
  • .github/ level: code of conduct, Github readme

only those for now

benchmarking

benchmarking is under benches/

right now there' just one file but that will change

testing

testing is under tests/

tests are split into what they actually test:

  • for normal methods: main.rs
  • individual features: the feature name

source

as of 30/08/2026 at 22:00 UTC, there are three files:

  • borsh.rs => implementations regarding the implementations of Borsh for smallvec
  • rawsmallvec.rs => incomplete file containing the RawSmallVec union
  • lib.rs => everything else. yeah

fuzzing

no one knows honestly, at least not me

I wish it were a joke

Clone this wiki locally