# oxidecomputer/dropshot

expose REST APIs from a Rust program

Repository: https://github.com/oxidecomputer/dropshot
Canonical: https://ross.abutalabs.com/products/dropshot
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-09-02T21:54:46+00:00

## Health v2 (maintenance only)
Score: 77/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 35, longevity 100
- inputs: {"age_days": 2266, "days_push": 0, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_readme
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1197, forks 103 (observed 2026-09-03T02:15:16.679804+00:00)

## What it is
Dropshot is a Rust library for exposing REST APIs from a Rust program, with built-in OpenAPI generation. It provides an async HTTP server layer built on tokio/hyper with handler extraction macros.

## Use cases
- build a rest api in rust
- generate openapi spec from rust handlers
- serve http endpoints from a rust program
- create json apis with typed handlers
- build backend services in rust

## When to choose
- you want REST APIs in Rust with automatic OpenAPI documentation
- you prefer a lightweight, opinionated server over a full web framework
- you're building Oxide-style systems services in async Rust

## When to avoid
- you need server-side HTML templating or full-stack features
- you want a large ecosystem of middleware and community plugins
- you need GraphQL or WebSocket-first APIs

## Facets
- artifact type: library
- maturity: active
- function: api-framework, http-server, routing, web-framework
- domain: web-development, backend, apis, developer-tools
- platform: rust, cross-platform
- tags: rest-api, openapi, async, rust-library, http-server

## Member repositories
- oxidecomputer/dropshot (main) score 77

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:16.679804+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:22:03.476883+00:00, confidence not recorded.
  - registry_crates: https://crates.io/api/v1/crates/dropshot (fetched 2026-08-29T12:28:53.789565+00:00, sha 22dabd66f092)
- Data as of 2026-08-30T08:39:29.467469+00:00.
