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

GREsau/schemars

Generate JSON Schema documents from Rust code observed · 2026-08-28

github.com/GREsau/schemars · homepage · Rust · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

96/100

  • Activity 94
  • Release rhythm 95
  • Longevity 100
How is this computed?

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

  • gap_med: 27
  • age_days: 2586
  • days_rel: 37
  • days_push: 37
  • n_releases_24m: 12

Full methodology

Adoption not part of the score

1403 stars · 304 forks observed · 2026-08-28

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

Schemars is a Rust library that generates JSON Schema documents from Rust types via a JsonSchema trait and #[derive(JsonSchema)] macro. It is designed to stay compatible with Serde, honoring #[serde(...)] attributes so generated schemas match serde_ serialization behavior.

Use cases

  • generate schema from rust structs
  • validate payloads against rust types
  • document serde serialization formats
  • generate openapi schemas for rust api types
  • produce schema for config file formats
  • keep schema in sync with serde attributes

When to choose

  • you write Rust and need JSON Schema documents matching your serde types
  • you want schema generation via a simple derive macro
  • you need serde attribute compatibility (rename, skip, flatten, etc.)
  • you need no_std support or integrations with chrono, uuid, bytes and similar crates

When to avoid

  • you need JSON Schema from non-Rust sources
  • you need OpenAPI document generation itself rather than raw schemas
  • your project is not in the Rust ecosystem

Facets

library · maturity stable

serialization developer-tools developer-tools apis backend rust cross-platform -schema serde derive-macro schema-generation

5 sources

Member repositories

RepositoryRoleHealth v2
GREsau/schemarsmain96

For agents

markdown · JSON · MCP: product_card(name="GREsau/schemars")

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