tusk-rs

Crates.iotusk-rs
lib.rstusk-rs
version0.99.11
created_at2023-09-09 03:48:45.500157+00
updated_at2025-06-13 00:39:56.209892+00
descriptionPostgres-backed Web APIs
homepage
repositoryhttps://github.com/jacksonzamorano/tusk
max_upload_size
id967923
size128,936
Jackson Zamorano (jacksonzamorano)

documentation

README

Tusk

Beautiful & safe Postgres-backed APIs in Rust. still a WIP, no documentation, use at your own risk

Goals

Tusk is meant to be a boilerplate-free way to write Web APIs. It currently achieves this in a couple ways:

  • Database queries can be generated. Provide details about your queries and Tusk will generate functions with strong typings.
  • Routes are made using macros and a Postgres database connection is automatically negotiated for every endpoint.
  • Simple middleware handling, one function can pass whatever data your application needs to every route.
Commit count: 92

cargo fmt