Ross ROSS = Recommend OSS · open-source software intelligence for agents

shepmaster/snafu

Easily assign underlying errors into domain-specific errors while adding context observed · 2026-08-28

github.com/shepmaster/snafu · homepage · Rust · Apache-2.0 (permissive) observed · 2026-08-28

Health v2 · maintenance only

74/100

  • Activity 93
  • Release rhythm 35
  • Longevity 100

Flags: no_releases

How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2775
  • days_rel: n/a
  • days_push: 43
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1895 stars · 71 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

SNAFU is a Rust library for ergonomically creating domain-specific error types and attaching context to underlying errors. It uses a derive macro to generate error enums with display messages, source chaining, backtraces, and optional no_std and futures support.

Use cases

  • define typed error enums for a rust library
  • add context to underlying errors in rust
  • convert io errors into domain-specific errors
  • get backtraces with rust errors
  • handle errors in async rust code
  • quick ad-hoc error messages with whatever macro
  • error handling in no_std embedded rust

When to avoid

  • you just need quick stringly-typed errors without custom types
  • you prefer another error library like thiserror or anyhow already in your stack

Facets

library · maturity stable

error-handling developer-tools programming-languages rust cross-platform error-derive-macro no-std backtrace context-annotation futures-support

10 sources

Member repositories

RepositoryRoleHealth v2
shepmaster/snafumain74

For agents

markdown · JSON · MCP: product_card(name="shepmaster/snafu")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem