fengsp / pencil

A web application microframework for Rust
https://fengsp.github.io/pencil/
Other
872 stars 43 forks source link

Postgres Implementation #53

Open tyagi2109 opened 6 years ago

tyagi2109 commented 6 years ago

How can we use postgres?

luciusmagn commented 6 years ago

You can use anything you want, Pencil is a very thin framework and you can compose a Response using whatever you want. I suggest you check out Diesel or rustorm for ORM. You can also use a templating engine to help you, there is a plenty in Rust. Check out https://crates.io