tusk-rs

Crates.iotusk-rs
lib.rstusk-rs
version0.8.3
sourcesrc
created_at2023-09-09 03:48:45.500157
updated_at2024-06-20 22:50:36.46704
descriptionPostgres-backed Web APIs
homepage
repositoryhttps://github.com/jacksonzamorano/tusk
max_upload_size
id967923
size69,938
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: 72

cargo fmt