Commit graph

231 commits

Author SHA1 Message Date
David Tolnay
0b29151297
Correct the tracking issue tag 2017-05-17 11:05:20 -07:00
David Tolnay
e1c79a0d46
Recommend serving the cookbook locally 2017-05-17 11:00:48 -07:00
David Tolnay
f26f57fecf
Don't accidentally publish cookbook 2017-05-17 10:42:13 -07:00
David Tolnay
87da3d5766
Use quick_main in examples 2017-05-17 10:41:43 -07:00
David Tolnay
9467df216a
Always use quick_main 2017-05-17 10:09:13 -07:00
David Tolnay
78463b1718
Add the new dependencies to Cargo.lock 2017-05-17 09:57:18 -07:00
David Tolnay
e8e7ba8dc4 Merge pull request #60 from Yamakaky/quick_main
Recommend the use of quick_main.
2017-05-17 09:44:57 -07:00
David Tolnay
342966a833 Merge pull request #88 from budziq/edit_button
Added Edit button
2017-05-17 09:42:10 -07:00
Michal Budzynski
fb85933a59 Added edit button allowing direct edit of given page on GitHub 2017-05-17 11:21:29 +02:00
Michal Budzynski
bdacaf7aa7 Imported default index.hbs to allow customizations 2017-05-17 11:13:32 +02:00
David Tolnay
adc820e18c Merge pull request #83 from budziq/master
removed the stubs for "Serialize a `Url`" example
2017-05-16 08:41:46 -07:00
Michal Budzynski
762becd491 removed the stubs for "Serialize a Url" example 2017-05-16 17:38:10 +02:00
David Tolnay
b56eb82073 Merge pull request #80 from budziq/rest_github
Implemented two examples for "Query the GitHub API"
2017-05-16 08:32:54 -07:00
Michal Budzynski
62a04c00bd Implemented two examples for interaction with rest services:
"Query the GitHub API"
"Create and delete Gist with GitHub API"
2017-05-16 16:24:33 +02:00
David Tolnay
3fbfce6ab9 Merge pull request #79 from budziq/reqwest_temp
Implemented "Download a file to a temporary directory" example
2017-05-14 12:40:00 -07:00
Michal Budzynski
cd77feb50c Implemented "Download a file to a temporary directory" example
also fixed a typo
2017-05-14 20:13:46 +02:00
David Tolnay
33b0380b5b Merge pull request #78 from budziq/master
Implemented "Enable log levels per module" example
2017-05-14 08:15:52 -07:00
Michal Budzynski
a05e0adeca Implemented "Enable log levels per module" example
Also grouped the env_logger based examples together
2017-05-14 13:03:48 +02:00
David Tolnay
118c06fda8 Merge pull request #77 from budziq/rand
Added two more rand examples
2017-05-13 18:13:14 -07:00
Michal Budzynski
24bd9b3c59 Added two more rand examples
"Generate random numbers within a range"
"Generate random numbers with normal distribution"
2017-05-14 02:33:48 +02:00
David Tolnay
28514c01dd Merge pull request #76 from budziq/typos
Fixed typos
2017-05-13 08:50:25 -07:00
Michal Budzynski
a816cc089d Fixed typos 2017-05-13 11:19:08 +02:00
David Tolnay
e8581e59fd Merge pull request #74 from rap2hpoutre/patch-6
Add "Log messages with a custom logger" recipe
2017-05-12 08:59:43 -07:00
Raphaël Huchet
0aab76ea78 update master table 2017-05-12 14:44:46 +02:00
Raphaël Huchet
37d489d8ab Update intro.md 2017-05-12 10:12:26 +02:00
Raphaël Huchet
c9f5e84973 Add "Log messages in a custom format" recipe 2017-05-12 09:53:51 +02:00
David Tolnay
9f761b3982 Merge pull request #73 from budziq/contrib_fix
Fixing rest of broken links in CONTRIBUTING.md
2017-05-11 14:59:34 -07:00
Michal Budzynski
e63f47c63e Fixing rest of broken links in CONTRIBUTING.md 2017-05-11 23:15:38 +02:00
David Tolnay
72ef261ff0 Merge pull request #72 from budziq/master
Fixed incorrect badges in app.md and intro.md
2017-05-11 09:23:17 -07:00
Michal Budzynski
2d4508f96e Fixed incorrect badges in app.md and intro.md 2017-05-11 18:12:06 +02:00
David Tolnay
03a776df47 Merge pull request #70 from budziq/syslog
Implements "Log to the Unix syslog" example
2017-05-11 08:24:13 -07:00
Michal Budzynski
75a48b2c1e Fixed badges for syslog crate 2017-05-11 17:15:27 +02:00
Michal Budzynski
abc4666508 Implemented "Log to the Unix syslog" example
The example is marked as no_run in order not to clobber
the actual on each test run
2017-05-11 17:15:20 +02:00
David Tolnay
67fcae276f Merge pull request #68 from rap2hpoutre/patch-4
fix links in table of contents
2017-05-11 07:36:50 -07:00
Raphaël Huchet
416d6e9e40 Fix ["how to read this book"] link (#67)
Fix ["how to read this book"] link
2017-05-11 07:36:00 -07:00
David Tolnay
8640a7c1fd Merge pull request #66 from rap2hpoutre/patch-2
add crate-tasks link
2017-05-11 07:34:32 -07:00
David Tolnay
5b265a7f85 Merge pull request #65 from rap2hpoutre/patch-1
add libz blitz link
2017-05-11 07:33:43 -07:00
Raphaël Huchet
553617719f fix links in table of contents 2017-05-11 10:33:26 +02:00
Raphaël Huchet
32a26029c0 add crate-tasks link 2017-05-11 10:21:19 +02:00
Raphaël Huchet
9a1eb9d563 add libz blitz link 2017-05-11 10:17:08 +02:00
Brian Anderson
75da6054a3 Merge pull request #53 from budziq/reqwest
Implemented "Make a HTTP GET request" example
2017-05-10 17:27:30 -07:00
Brian Anderson
00fa87c817 Merge pull request #62 from brson/log
Add placeholders for log examples
2017-05-10 17:07:26 -07:00
Brian Anderson
51030c3c26 Add placeholders for log examples 2017-05-10 17:06:29 -07:00
Michal Budzynski
9c85872df4 bumped reqwest to version supporting serde 1.0 2017-05-10 12:57:27 +02:00
Michal Budzynski
feb36e0b8c Fixed "Make a HTTP GET request" example after review
Added badges and reorganized code for code consistency.
Fixed typos.
2017-05-10 07:12:30 +02:00
Yamakaky
3824f28da1
Recommend the use of quick_main.
Fixes #59.
2017-05-09 23:45:16 +02:00
Michal Budzynski
644ff44136 Implemented "Make a HTTP GET request" example
I took the liberty of adding reqwest to cargo.toml and renaming
"Make a HTTP GET request after parsing a URL" to "Make a HTTP GET request"
as reqwest handles basic URL parsing internally and there seamed
no reason to make the example more complex than required.

resolves https://github.com/brson/rust-cookbook/issues/39
2017-05-09 20:22:57 +02:00
David Tolnay
a05d5f8a44 Merge pull request #57 from budziq/badges
Made TOC's and badges consistent between chapters
2017-05-09 08:05:47 -07:00
Michal Budzynski
a27629e6b3 Added missing badges to examples 2017-05-09 11:07:49 +02:00
Michal Budzynski
9a3b9f43a9 net.md TOC is not consistent with intro.md 2017-05-09 11:03:48 +02:00