Remove iron...

This commit is contained in:
Travis Reeder
2017-05-18 18:59:34 +00:00
committed by Reed Allman
parent 521df8c1ff
commit 9cc12b4b12
146 changed files with 406 additions and 1050 deletions

View File

@@ -1,16 +1,19 @@
# Using rust with functions
The easiest way to create a iron function in rust is via ***cargo*** and ***fn***.
The easiest way to create a function in rust is via ***cargo*** and ***fn***.
## Prerequisites
First create an epty rust project as follows:
```bash
cargo init --name func --bin
```
Make sure the project name is ***func*** and is of type ***bin***. Now just edit your code, once done you can create an iron function.
Make sure the project name is ***func*** and is of type ***bin***. Now just edit your code, once done you can create a function.
## Creating a function
## Creating an IronFunction
Simply run
```bash