#actix #openapi #http #swagger #async

groom

A thin wrapper around actix for making code-first strictly-typed HTTP APIs

1 unstable release

0.1.0 May 17, 2024

#73 in #swagger

MIT/Apache

14KB
234 lines

groom

A thin wrapper around actix for making code-first strictly-typed HTTP APIs.

Groom is heavily inspired by poem-openapi.

Goals:

  • leverage rust's type system to describe and enforce API contracts;
  • abstract out content-type negotiations and serialization/deserialization and allow developer to work with raw data;
  • allow code-first OpenAPI spec generation;
  • be a supplement to actix, not a replacement;
  • check everything at compile-time with developer-friendly error messages - wherever possible.

❗ groom is WIP - do not use in production!

Licensing:

MIT or Apache 2.0.

Dependencies

~7–14MB
~166K SLoC