Commit graph

613 commits

Author SHA1 Message Date
Michal Budzynski
38ed80063d Added clarification of licensing
Rust Cookbook is licensed under dual MIT/Apache-2.0 license.
2017-06-13 23:19:28 +02:00
Brian Anderson
0018827fa6 Merge pull request #181 from crypto-universe/master
Add walkdir example
2017-06-06 17:25:31 -07:00
crypto-universe
57e846db9b Add walkdir example
Example how to iterate files in directory
to a given depth and accumulate their sizes.
2017-06-05 23:47:59 +02:00
Steven
14bcf0fc02 Fixed "select" badges. 2017-06-04 12:13:25 +01:00
Steven
b9446acf3c - Updated the master table and links in intro.md
- Remove buffer code in example and use 'Document::from_read' instead.
2017-06-04 11:47:05 +01:00
Steven
7fc03a9e7f Added select dependency 2017-06-03 22:17:24 +01:00
Steven
d4807dd039 Tidy up. Also fixed "select-badge". 2017-06-03 22:10:14 +01:00
Steven
4d703498a8 Added "Extract all links from a webpage" example 2017-06-03 22:05:44 +01:00
David Tolnay
19b7a1d68d Merge pull request #180 from budziq/oauth_desc
Added short mention about OAuth authorization
2017-06-02 08:14:38 -07:00
Michal Budzynski
1740abceaf Added short mention about OAuth authorization
Also sorted the reference links section in net.md
2017-06-02 16:26:51 +02:00
David Tolnay
827b8aeb05 Merge pull request #176 from budziq/fractal
Added "Draw fractal dispatching work to a thread pool" example
2017-05-31 08:56:02 -07:00
Michal Budzynski
12355824bd Hidden all nonessential code from the thread pool example
Also added thumbnail showing the final output.
Added missing error handling for`ImageBuffer::save`
2017-05-31 11:10:27 +02:00
Michal Budzynski
a1b7cd0ae9 Added description to "Draw fractal dispatching work to a thread pool" 2017-05-31 10:30:59 +02:00
Michal Budzynski
1642368ba4 Added "Draw fractal dispatching work to a thread pool" example
Without the description yet
2017-05-31 10:30:40 +02:00
David Tolnay
7f028754f2 Merge pull request #175 from jaemk/badge-cache
use badge cache in front of shields.io
2017-05-30 19:42:32 -07:00
James Kominick
6e23f771ea use badge cache
- update badge links to use badge cache with `img.shields.io`
  compatible urls
2017-05-30 22:30:03 -04:00
David Tolnay
8b0d718420
Clearer error handling for memmap 2017-05-30 18:44:56 -07:00
David Tolnay
b6147a6520
Clarify the safety implication of memmap 2017-05-30 18:44:05 -07:00
David Tolnay
e11860b099
Emphasize ease of use rather than performance 2017-05-30 18:42:46 -07:00
David Tolnay
bd9cfce119 Merge pull request #177 from derekdreery/example/random_file_access_memmap
Add memmap example for random file access
2017-05-30 18:28:40 -07:00
Richard Dodd
365aa47ee8 Add memmap example for random file access 2017-05-30 01:02:20 +01:00
David Tolnay
440a39436e
Fix typo in custom headers example 2017-05-27 18:42:45 -07:00
David Tolnay
f90d62114e Merge pull request #174 from budziq/custom_headers
"Set custom headers and URL parameters for a REST request" example
2017-05-27 18:42:26 -07:00
Michal Budzynski
6962a71bcd Implemented "Set custom headers and URL parameters for a REST request" example 2017-05-28 01:50:49 +02:00
David Tolnay
8e80876ac9 Merge pull request #173 from budziq/paginated_fix
Fixed "Consume a paginated RESTful API" example to reuse reqwest::Client
2017-05-27 15:06:55 -07:00
Michal Budzynski
2cce8b8659 Fixed "Consume a paginated RESTful API" example to reuse reqwest::Client 2017-05-27 23:50:08 +02:00
David Tolnay
36e218ed77
About page fixes 2017-05-26 16:02:12 -07:00
David Tolnay
39febb3d66 Merge pull request #170 from brson/about
Write about.html
2017-05-26 16:01:54 -07:00
Brian Anderson
e0f5dc385d Write about.html 2017-05-26 14:04:09 -07:00
Brian Anderson
c017ffd93f Merge pull request #169 from brson/science
Fix 'science' badge
2017-05-26 14:04:03 -07:00
Brian Anderson
086b89259e Fix 'science' badge 2017-05-26 13:38:04 -07:00
David Tolnay
236da434be Merge pull request #166 from budziq/passive_3
Removed passive voice from the last 4 examples
2017-05-25 17:15:31 -07:00
Michal Budzynski
ce02feee8a Removed passive voice from the last 4 examples 2017-05-26 02:06:33 +02:00
David Tolnay
c0fea0c6f2 Merge pull request #165 from budziq/passive_2
Removed passive voice from 4 examples
2017-05-25 15:50:27 -07:00
Michal Budzynski
6192aaf55f Removed passive voice from 4 examples 2017-05-26 00:06:42 +02:00
David Tolnay
a61085f4aa Merge pull request #163 from budziq/passive_voice
Removed passive voice from 7 examples
2017-05-25 00:53:01 -07:00
Michal Budzynski
aff972beed Removed passive voice from 7 examples 2017-05-25 08:18:17 +02:00
David Tolnay
eebf79e909 Merge pull request #162 from baishuai/patch-1
BufReader is constructed from some type that implements Read, not Write
2017-05-24 22:51:57 -07:00
Shuai Bai
f4fec90b66 replace write link 2017-05-25 13:43:25 +08:00
Shuai Bai
c5cedcf0ec fix a bug 2017-05-25 13:13:46 +08:00
David Tolnay
b700eb6a9d Merge pull request #159 from pepyakin/concurrency-crossbeam
Add crossbeam::spawn example
2017-05-24 15:45:29 -07:00
David Tolnay
ad2bc80743 Merge pull request #160 from budziq/formatting
Corrected snippets formatting
2017-05-24 15:41:05 -07:00
Michal Budzynski
591e54eeee Corrected snippets formatting
- run rustfmt on all snippets
- adjusted indentation on hidden error boilerplate
- removed some trailing whitespace
- added error boilerplate hiding to "Consume a paginated RESTful API" example
2017-05-25 00:05:40 +02:00
Sergey Pepyakin
d416b87523 Add crossbeam::spawn example 2017-05-24 23:19:24 +03:00
David Tolnay
e71c8028c6 Merge pull request #157 from budziq/expand
Described expand button in snippets
2017-05-24 12:02:54 -07:00
Michal Budzynski
ab6be39190 Described expand button in snippets 2017-05-24 20:42:55 +02:00
David Tolnay
f684337ff7 Merge pull request #156 from budziq/capitalization
Fixed example capitalization to sentence case
2017-05-24 11:00:06 -07:00
Michal Budzynski
70c960a33f Fixed example capitalization to sentence case 2017-05-24 19:56:09 +02:00
David Tolnay
0f1e4135a0 Merge pull request #155 from budziq/app_logging_split
Split logging examples into separate book chapter
2017-05-24 09:34:01 -07:00
Michal Budzynski
ff00fb3327 Updated main table of contents after splitting logging.md from app.md
Also sorted reference links
2017-05-24 17:24:27 +02:00