Commit graph

505 commits

Author SHA1 Message Date
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
Xavier Payn
e48c85104a Add dedup-filenames example 2017-05-19 17:55:36 +02:00
David Tolnay
16627e0dbb Merge pull request #134 from jaemk/master
Add global mutable state example
2017-05-19 07:40:54 -07:00
rap2h
df5a1edc18 encoding/decoding base64 2017-05-19 15:10:29 +02:00
James Kominick
4f61dcca7b Add global mutable state example
issue #100
2017-05-19 01:13:02 -04:00
cetra3
38886a6188 Include logs to a custom location 2017-05-19 14:25:15 +09:30
David Tolnay
e71baaf566 Merge pull request #132 from bjnyfv/hex_encode_decode
Added example showing how to convert data to/from a hex string using …
2017-05-18 21:32:56 -07:00
Zach
f3fd43ad28 Removed unused error case. 2017-05-18 23:29:18 -05:00
Zach
a48fb68fc5 Added example showing how to convert data to/from a hex string using the data-encoding crate. 2017-05-18 23:09:42 -05:00
David Tolnay
e01ebc6171 Merge pull request #131 from jaemk/master
fix `lazy_static` links
2017-05-18 21:06:59 -07:00
James Kominick
b2d4881a51 fix lazy_static links
- change crate name from `lazy-static` to `lazy_static`
2017-05-19 00:01:38 -04:00
David Tolnay
7222ae31ae Merge pull request #130 from jaemk/master
Add lazy_static example
2017-05-18 20:40:09 -07:00