tusk-rs-derive

Crates.iotusk-rs-derive
lib.rstusk-rs-derive
version0.8.3
sourcesrc
created_at2023-09-09 03:48:58.645255
updated_at2024-06-20 22:50:16.147875
descriptionDerive Macros for Tusk
homepage
repositoryhttps://github.com/jacksonzamorano/tusk
max_upload_size
id967924
size16,210
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