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
Michal Budzynski
5c814707dc
Added missing "Categories" columns to app.md concurrency.md and encoding.md
2017-05-09 10:44:24 +02:00
David Tolnay
39918a90a2
Merge pull request #55 from budziq/master
...
implemented "Remove fragment identifiers and query pairs from a URL"
2017-05-08 14:30:04 -07:00
Michal Budzynski
94f736ce79
implemented "Remove fragment identifiers and query pairs from a URL"
...
resolves: https://github.com/brson/rust-cookbook/issues/37
2017-05-08 23:18:43 +02:00
David Tolnay
edf1819af6
Merge pull request #54 from budziq/master
...
Make consistent table column widths
2017-05-08 07:11:51 -07:00
Michal Budzynski
14735ac35f
Make consistent table column widths
...
Added explicit width values for first and second
table columns corresponding to "Recipe" and "Crates".
Please note that this is a broad CSS style for all tables
which will break any non TOC tables.
For a cleaner solution we would need to explicitly
add class attribute to the generated HTML.
resolves: https://github.com/brson/rust-cookbook/issues/42
2017-05-08 09:43:27 +02:00
David Tolnay
323795ee84
No run buttons because they don't support crates
2017-05-07 10:46:57 -07:00
David Tolnay
8a1d447404
Centralize our CSS modifications
2017-05-07 10:44:15 -07:00
David Tolnay
15e88b2d6b
Merge pull request #52 from budziq/master
...
Make the table width consistent
2017-05-07 10:40:37 -07:00
David Tolnay
263e78774a
Merge branches 'origin/pr/47' and 'origin/pr/48'
...
Conflicts:
src/net.md
2017-05-07 10:37:11 -07:00
Michal Budzynski
42de1c5cea
Make the table width consistent
...
Added theme/book.css. It is a direct copy of the standard mdbook
book.css file with one addition of `width: 100%;` to the `table` style.
Infortunately mdbook allows only to substitute whole book.css.
Moreover please note that due to https://github.com/azerupi/mdBook/issues/227
`theme` directory has to be placed at the project root instead of `src`
2017-05-07 18:41:26 +02:00
David Tolnay
2d8a91189b
Merge pull request #51 from budziq/master
...
Updated basics.md with rand crate snippets
2017-05-07 08:41:34 -07:00
Michal Budzynski
235f45b82e
Updated basics.md with rand crate snippets
...
Following examples were added:
- Generate random floating point numbers
- Generate random values of a custom type
2017-05-07 14:09:00 +02:00
David Tolnay
6e06b71154
Merge pull request #49 from Wilfred/patch-1
...
Spelling fixes
2017-05-06 19:59:13 -07:00
Wilfred Hughes
4620aec4a0
Spelling fixes
2017-05-06 19:43:22 -07:00
Michael Stock
f4170e3782
Implement custom error class
2017-05-06 14:02:44 -07:00
Piripant
f483052b0c
Update net.md
2017-05-06 19:39:21 +02:00
Michael Stock
c98ca75a41
Add example for creating base url by clearing path
2017-05-06 08:54:12 -07:00
David Tolnay
40e953a923
Merge pull request #45 from bostelk/patch-1
...
Parse URL example #33
2017-05-06 08:03:50 -07:00
Kyle Bostelmann
cac8e922aa
Error handling for parsing a Url.
2017-05-06 08:31:45 -03:00
Kyle Bostelmann
0d5f2bd31d
Merge remote-tracking branch 'rust/master' into patch-1
...
# Conflicts:
# Cargo.toml
Resolved using theirs.
2017-05-06 08:12:31 -03:00
David Tolnay
7b940e81db
Merge pull request #46 from mikeastock/issue-35-create-new-url-from-base
...
Add url joining example
2017-05-05 18:08:40 -07:00
Michael Stock
fc62898dad
Add url joining example
2017-05-05 17:36:40 -07:00
Kyle Bostelmann
b1601ecb46
Add the latest Url crate to dependencies.
2017-05-05 20:33:52 -03:00