Commit graph

283 commits

Author SHA1 Message Date
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
James Kominick
66d6156088 Add lazy_static example
issue #99
2017-05-18 23:27:08 -04:00
David Tolnay
75d482b03b Merge pull request #124 from xpayn/master
Unzip a tarball to a temporary directory #101
2017-05-18 08:45:47 -07:00
Xavier Payn
a943707b56 Add tar-temp example 2017-05-18 17:19:22 +02:00
David Tolnay
862f601c6f Merge pull request #122 from Michael-F-Bryan/parsing-subprocess-output
Parsing subprocess output
2017-05-18 08:13:50 -07:00
Michael-F-Bryan
a1f0418afc Limited the number of commit messages and hashes shown 2017-05-18 20:52:06 +08:00
Michael-F-Bryan
f3eea84db3 Added the os and text-processing categories 2017-05-18 20:13:37 +08:00
Michael-F-Bryan
a8d368df75 Updated the table of contents 2017-05-18 18:57:46 +08:00
Michael-F-Bryan
62b1f27aa7 Added an example to run a subcommand and parse its stdout 2017-05-18 18:57:24 +08:00
David Tolnay
fd0e0b4ff0 Merge pull request #120 from gsquire/head-example
HEAD request
2017-05-17 23:18:44 -07:00
Garrett Squire
bbfdc8a5f7 remove dead link 2017-05-17 23:15:13 -07:00
Garrett Squire
3cd5ab1822 update some of the wording to be clearer 2017-05-17 23:11:29 -07:00
Garrett Squire
761054fd01 add an example for making a HEAD request with a timeout 2017-05-17 22:45:50 -07:00
David Tolnay
4a5c675e66
Add CI badge to readme 2017-05-17 17:09:10 -07:00
David Tolnay
2dcc48b621 Merge pull request #118 from budziq/label_sync
Travis "cron" builds run tests with "*" dependencies
2017-05-17 17:05:25 -07:00
Michal Budzynski
ed3a42d9fb Travis "cron" builds run tests with "*" dependencies
"cron" builds will trigger cargo test with all dependency versions
replaced with "*" to check for incompatible dependencies.
Also cron builds will never publish gh-pages
2017-05-18 01:54:40 +02:00
David Tolnay
62fd9dc136
Link to example of a commit 2017-05-17 15:00:32 -07:00
David Tolnay
e698443f2a
Add percent-encode example 2017-05-17 14:57:44 -07:00
David Tolnay
cbad25cae5
Sort badge links 2017-05-17 14:32:07 -07:00
David Tolnay
adf974ac89
Link to the example tag to find what to contribute 2017-05-17 14:04:10 -07:00