Commit graph

466 commits

Author SHA1 Message Date
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
Michal Budzynski
bb8bbb1508 Split log examples to separate logging.md 2017-05-24 17:16:50 +02:00
David Tolnay
fc2df7fe6e
Minimize padding for the badge columns 2017-05-23 14:44:48 -07:00
David Tolnay
a1426c3bb7
Uncolored badges for categories 2017-05-23 14:33:26 -07:00
David Tolnay
1660a1caff
Merge pull request 127 from jeanm/master
Conflicts:
    src/basics.md
    src/intro.md
2017-05-23 14:26:07 -07:00
David Tolnay
94689a54d3
More realistic error log message 2017-05-23 14:19:15 -07:00
David Tolnay
e9f7a5c519
Merge pull request 129 from jmcomets/log-error-message 2017-05-23 12:44:02 -07:00
David Tolnay
83047f58e9
Git ignore Cargo.lock 2017-05-23 12:33:40 -07:00
David Tolnay
3a2a9972ff
More realistic debug message 2017-05-23 12:33:11 -07:00
David Tolnay
748140492c
Merge pull request 128 from jmcomets/log-debug-message 2017-05-23 12:25:42 -07:00
David Tolnay
051227704f
Shouldn't need Cargo.lock 2017-05-23 12:14:52 -07:00
David Tolnay
7ee8bacab8
Don't spam the test output with pages of dependencies 2017-05-23 12:14:24 -07:00
David Tolnay
de913078f3
Real error handling for paginated iterator example 2017-05-23 12:05:22 -07:00
David Tolnay
5974bee3c2
Merge pull request 148 from cetra3/paginated_api
Conflicts:
    src/intro.md
2017-05-23 11:58:31 -07:00
David Tolnay
b85517a39e Merge pull request #151 from AndyGauge/ex-post-file
Network example: Post a file to paste-rs
2017-05-23 11:17:44 -07:00
Andy Gauge
20c7163990 Refactor to avoide allocating memory to hold contents of file in memory. 2017-05-23 11:07:45 -07:00
Andy Gauge
8f56cd38cd Network example: Post a file to paste-rs 2017-05-23 09:21:10 -07:00
David Tolnay
96b6af0c7a
More compact log timestamp 2017-05-22 21:58:05 -07:00
David Tolnay
755a334990
Merge pull request 147 from budziq/timestamp
Conflicts:
    src/intro.md
2017-05-22 21:48:14 -07:00
David Tolnay
a06691b26a Merge pull request #150 from bjnyfv/add_encode_hex_to_intro
Fix hex encoding / decoding example.
2017-05-22 21:04:00 -07:00
Zach
fcf50e47b8 Updated intro.md to include hex encoding / decoding example. Updated text of hex encoding / decoding bade. 2017-05-22 22:19:40 -05:00
cetra3
e2eb6db046 Include Paginated API example 2017-05-21 14:40:53 +09:30
Michal Budzynski
e84ddfa20e Implemented the "Include timestamp in log messages" example 2017-05-20 21:39:21 +02:00
David Tolnay
41bb293497 Merge pull request #146 from luisbg/predicate
Add file-predicate example
2017-05-20 11:23:25 -07:00
Luis de Bethencourt
466110695e Add file-predicate example 2017-05-20 16:13:09 +01:00
David Tolnay
4500361ec7 Merge pull request #145 from luisbg/typo
Fix typo in ex-dedup-filenames
2017-05-20 07:35:17 -07:00
David Tolnay
9fbfa14713 Merge pull request #144 from budziq/link_highlight
Inline code with hyperlink is now highlighted
2017-05-20 07:32:13 -07:00
Luis de Bethencourt
c828e2e317 Fix typo in ex-dedup-filenames 2017-05-20 14:38:54 +01:00
Michal Budzynski
2991cbd339 Inline code with hyperlink is now highlighted
Inline code with hyperlink has now the same color
and on hover underline as standard hyperlink.
2017-05-20 08:50:16 +02:00
David Tolnay
e968dd0b76 Merge pull request #141 from budziq/hide_noise
Hide error_chain boiler plate by default in all examples
2017-05-19 17:15:51 -07:00
Michal Budzynski
b449ab2e7f hide error_chain boilerplate in app.md 2017-05-20 02:05:38 +02:00
Michal Budzynski
8c5206ca40 hide error_chain boilerplate in basics.md 2017-05-20 01:55:57 +02:00
Michal Budzynski
21ba3fbcc5 hide error_chain boilerplate in encoding.md 2017-05-20 01:46:35 +02:00
Michal Budzynski
f3fb2218f9 hide error_chain boilerplate in net.md 2017-05-20 01:38:02 +02:00
David Tolnay
9ca2e50b88 Merge pull request #137 from AndyGauge/listen-tcp-random-port
Added networking example to listen on random socket using tcp/ip
2017-05-19 16:18:25 -07:00
David Tolnay
3c1d3aa4bd Merge pull request #107 from budziq/hide_error_noise
Hide non essential parts of "Network" snippets by default
2017-05-19 16:13:06 -07:00
Michal Budzynski
20c1e2cc95 Hide non essential parts of snippets by default
Updated net.md to hide error_chain boilerplate by default
it can be exposed by selecting the "expand button"
The expand button is no longer hidden
2017-05-20 00:53:56 +02:00
Andy Gauge
10a14ea102 Removed unused reference 2017-05-19 15:36:09 -07:00
Andy Gauge
eaf2abc6bf Make language more concise / readable 2017-05-19 15:29:03 -07:00
Andy Gauge
25b53f7991 Reword description and comments, variable names to match tense. 2017-05-19 14:07:19 -07:00
David Tolnay
a8ccbf478e Merge pull request #138 from budziq/urlencoded
implemented "Encode a string as application/x-www-form-urlencoded"
2017-05-19 14:01:10 -07:00
Michal Budzynski
dbd107a195 implemented "Encode a string as application/x-www-form-urlencoded" 2017-05-19 22:55:53 +02:00
Andy Gauge
e5c7db1d10 fixed spaces, added telnet example, and properly returned errors 2017-05-19 11:45:31 -07:00
Andy Gauge
0436206ec1 Merge branch 'master' of https://github.com/brson/rust-cookbook into listen-tcp-random-port 2017-05-19 10:31:56 -07:00
Andy Gauge
18e35d0434 Added networking example to listen on random socket using tcp/ip 2017-05-19 10:30:50 -07:00
David Tolnay
b35e998d0a
Merge pull request 133 from cetra3:log_custom 2017-05-19 10:00:13 -07:00
David Tolnay
6eb7232594
Merge pull request 136 from xpayn:master
Conflicts:
    src/intro.md
2017-05-19 09:43:44 -07:00
David Tolnay
ed30815987 Merge pull request #135 from rap2hpoutre/base64
encoding/decoding base64
2017-05-19 09:40:08 -07:00