conradwt / diesel-demo

Introduction to Diesel database crate using Rust.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Diesel Demo

The purpose of this example is to get up to speed with Diesel using the Rust programming language.

Getting Started

Software requirements

  • PostgreSQL 12.3 or higher

  • Rust 1.44.0 or higher

Navigate to the application

$ cd /path/to/diesel-demo

Creating Post

cargo run --bin write_post

Showing Post(s)

cargo run --bin show_posts

Delete Post

cargo run --bin delete_post title

Communication

  • If you need help, use Stack Overflow. (Tag 'rust')
  • If you'd like to ask a general question, use Stack Overflow.
  • If you found a bug, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Quick Installation

See Diesel Reference.

Production Setup

Ready to run in production? Please check our deployment guides.

Rust References

Diesel References

Support

Bug reports and feature requests can be filed with the rest for the Diesel Demo project here:

License

Diesel Demo is released under the MIT license.

Copyright

copyright:: (c) Copyright 2020 Conrad Taylor. All Rights Reserved.

About

Introduction to Diesel database crate using Rust.


Languages

Language:Rust 69.9%Language:PLpgSQL 21.1%Language:TSQL 9.0%