Quantifying Nebraska

Adam Harvey

(he/him)

Rust Foundation

@a@lawngno.me

xkcd: Dependency (CC-BY-NC-2.5)

xz


$ grep axum Cargo.toml
axum = { version = "=0.7.5", features = ["macros", "matched-path"] }
            

$ pnpm ls @glimmer/component
devDependencies:
@glimmer/component 1.1.2
            

$ cat Cargo.lock | yq -p toml '.package[].name'
addr2line
adler
aead
aes
aes-gcm
ahash
aho-corasick
            

$ curl \
  https://crates.io/api/v1/crates/addr2line \
  | jq '.crate.repository'
"https://github.com/gimli-rs/addr2line"
            

$ cat Cargo.lock \
  | yq -p toml '.package[].name' \
  | wc -l
494
            

Aside: a brief rant

Health factors

  • Issues
  • Pull requests
  • Number of maintainers
  • Commit author diversity

Shape of You(r project)


https://github.com/rust-lang/libm: total 0.19382383904550238
	commit author diversity: 0.14563106796116504
	recent issues: 0
	open pull requests: 0.04819277108433735
	sponsorship requests: 0
            

Assume Insert good faith


github.com/mitsuhiko/insta: total 2.2573594430233936
(this maintainer accepts sponsorship on GitHub)
(this repository accepts sponsorship on GitHub)
	commit author diversity: 0.881578947368421
	recent issues: 0.6923076923076923
	open pull requests: 0.03347280334728033
	sponsorship requests: 0.65
            

github.com/sfackler/rust-openssl: total 1.9640399745254222
(this maintainer accepts sponsorship on GitHub)
(this repository accepts sponsorship on GitHub)
	commit author diversity: 0.5519686965028124
	recent issues: 0.7058823529411765
	open pull requests: 0.05618892508143322
	sponsorship requests: 0.65
            

Aside: what about the ecosystem?

Aside: what about the ecosystem?

What useful things can we do?

C.R.E.A.M

Time

Ask!

Numbers aren't actually everything

(sorry)

Thanks!

@a@lawngno.me