Skip to content

stefan-kaestle/code4fun-rust-project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Gentle practical introduction to Rust

Simple Rust project, incrementally growing.

Check out intermediate git commits to see the program grow:

  1. Hello world
  2. Introduction to common Rust language patterns
  3. A regular expression parser (see https://github.com/stefan-kaestle/code4fun-rust for a simple performance comparison with Java and Python)
  4. A REST API server that exposes this in the browser via json
  5. A database backend, fetching data from a mysql server

Finally, a web-server (with actix) using a mysql database as backend (with diesel).

For participants of the Code4Fun, there is still a mysql server up and running (and will be for a while longer):

echo DATABASE_URL="mysql://rustuser:\%[email protected]/rustdemo" > .env

Otherwise, you can also setup your own. The working set can be downloaded from:

https://dev.mysql.com/doc/employee/en/

About

Rust project, incrementally growing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages