Skip to content
This repository was archived by the owner on Oct 22, 2020. It is now read-only.

Commit 56f1d8b

Browse files
committed
Verified example code and fine tuned everything
1 parent c0df09a commit 56f1d8b

File tree

3 files changed

+14
-5
lines changed

3 files changed

+14
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "python-input"
3-
version = "0.7.0"
3+
version = "0.8.0"
44
authors = ["Max Larsson <[email protected]>"]
55
edition = "2018"
66
description = "A rust implementation of the python 'input' function."

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# python-input
22

3-
## Description
4-
53
A simple pure-rust implementation of python's input function.
64

75
## Functions
@@ -12,7 +10,18 @@ There is currently only one function, the `input` function.
1210

1311
The input function takes one parameter, a string which is printed to the console as a prompt to the user.
1412

15-
## Example
13+
## Example Code
14+
15+
### Add the following to your `Cargo.toml` file
16+
17+
```toml
18+
[dependencies]
19+
...
20+
python-input = "0.8.0"
21+
...
22+
```
23+
24+
### Add the following to your rust file(s)
1625

1726
```rust
1827
extern crate python_input;

0 commit comments

Comments
 (0)