Commit graph

636 commits

Author SHA1 Message Date
Jeffrey Crocker
eec1522d90 Add Datelike and Timelike example (#366)
Add Datelike and Timelike example
2017-11-14 00:12:30 +01:00
Henri Lunnikivi
2ab0ba6114 Add example for checked arithmetic of chrono 2017-11-04 17:12:15 +01:00
Michał Budzyński
7cd2b21881
Make the PR template a little less confusing 2017-11-03 12:35:43 +01:00
Henri Lunnikivi
f2ab6f8ff9 Add example for parsing into chrono::DateTime
- Add an example for parsing strings in different formats into chrono::DateTime
structs and chrono::Naive* structs
- Add links to chrono::*

See also: #324
2017-11-03 11:28:37 +01:00
Michal Budzynski
38d59c3e92 [Upkeep] updated deps fixed build-breaks and sorted links 2017-11-03 03:23:28 +01:00
Chris Schneider
5a77148d32 Add missing log4s badge at top of Logging.md 2017-11-02 18:02:36 +01:00
Chris Schneider
3ea6f1fdbc Add a missing log4rs badge to intro
The "Log messages to a custom location" item on the intro page had only
the `log` badge, but was missing the `log4rs` badge. The `log4rs` was
already present on the specific recipe.
2017-11-02 10:03:26 +01:00
Ludwig PACIFICI
0ecf0bf233 Add "Redirect both stdout and stderr of child process to the same file" example
fixes #345
2017-10-31 11:29:59 +01:00
Chris Stadler
705475c457 Add rayon example with any and all
Add rayon example with any and all
2017-10-30 17:10:53 +01:00
Michał Budzyński
828d2ca1cc
Update PULL_REQUEST_TEMPLATE.md 2017-10-30 13:05:53 +01:00
Michał Budzyński
74a240c9b4
Create PULL_REQUEST_TEMPLATE.md 2017-10-30 12:57:45 +01:00
Ty Coghlan
d233cab25d Corrected typos
Corrected typos
2017-10-28 10:37:27 +02:00
Henri Lunnikivi
00af9d15c0 Add example for formatting chrono::DateTime
Add example for formatting chrono::DateTime
2017-10-27 17:16:48 +02:00
Jeff Hajewski
477d82f4b4 Adds parallel map-reduce recipe
See #329

* Adds example in `concurrency.md`
* Adds links to `intro.md`
2017-10-27 08:03:49 +02:00
Alexandru Ene
57ad48c505 Added measure-elapsed-time example (#343)
Added measure-elapsed-time example
2017-10-26 08:37:12 +02:00
Jeff Hajewski
de94b25d40 Adds search items using given predicate in parallel example
cc # 330
2017-10-24 09:41:09 +02:00
Ludwig PACIFICI
b8aab7930c add "Obtain backtrace of complex error scenarios" example
Issue #216
2017-10-23 17:28:51 +02:00
Jeff Hajewski
b31b7a7688 Updates the wording on error handling to improve clarity.
It was not previously clear when a contributor should use `error_chain`
and when they should use `main()`. This patch adds a couple sentences to
the section on error handling to make that more explicit.
2017-10-17 23:12:10 +02:00
Steven Blake
02ed855b21 Update examples with "for_each"
Remove intermediate variable
2017-10-17 23:10:37 +02:00
David Futcher
ac20edd909 Add 'Compile a C library while setting custom defines' (#295) (#323)
Add 'Compile a C library while setting custom defines'
2017-10-12 22:15:53 +02:00
Michal Budzynski
39599ef2e1 Fixed link in PartialRange download example 2017-10-10 16:50:33 +02:00
Michal Budzynski
a93d17b8a8 PartialRange download example cleanup 2017-10-09 23:50:16 +02:00
João Bolila
9084c13321 Add "Make a partial download with HTTP range headers" example #291 (#309)
Add "Make a partial download with HTTP range headers" example
2017-10-09 23:28:28 +02:00
Jeff Hajewski
45b785788d Adds recipe for salt and hash a password using ring crate
* Uses PBKDF2 key derivation function
* Verifies password with hash
2017-10-09 10:37:56 +02:00
Michal Budzynski
b2701a4486 Reorganized the csv examples for more logical flow 2017-10-08 17:36:58 +02:00
Ludwig PACIFICI
8c80e349b9 Add "read csv records"
Issue #228
2017-10-08 16:14:03 +02:00
David Futcher
a4f355d5f1 Add working example code for 'Check external command version for compatability' (#286) 2017-10-08 12:43:54 +02:00
Thibault Barbie
b8440351c4 Add c++ linking example (#318)
Add c++ linking example
2017-10-07 17:11:35 +02:00
Ryan
525c3b6c78 add "Sign and verify a message with HMAC digest" example 2017-10-07 17:07:05 +02:00
Steven Blake
c591cfd5a9 Added "Check if given version is pre-release" example. 2017-10-07 16:10:47 +02:00
Michael Carpenter
79345cce99 Add "Run an external command passing it stdin and check for an error code" 2017-10-05 14:28:32 +02:00
Michael Liu
5d41607727 Match semver crate examples' styling 2017-10-05 01:02:14 +02:00
FaultyRAM
b7ab1291a4 Parse a complex version string. 2017-10-04 15:28:26 +02:00
Ludwig PACIFICI
6ffdf8e75f Minor fixes
* Sort links
* regex links use wildcard "*"
* remove trailing whitespace
2017-10-04 13:56:07 +02:00
Ludwig PACIFICI
20c4e43e70 Add "Run piped external commands"
Issue: #269
2017-10-04 13:56:07 +02:00
Michal Budzynski
85778f8586 Bumped to reqwest 0.8 and image 0.16.
Fixed resulting build breaks.
2017-10-04 10:32:36 +02:00
Michal Budzynski
d8b20c3793 fixed broken link in iso file checksum generation example 2017-10-02 02:42:44 +02:00
Erich Cordoba
859953cf3a Use a threadpool to calculate SHA1 in all iso files in a folder. 2017-10-02 02:24:10 +02:00
V1shvesh
cb762da0eb Add num_cpus example 2017-10-02 00:55:30 +02:00
Steven Blake
ba679b95d6 Added "Check webpage for broken links" example 2017-10-01 11:59:03 +02:00
Michal Budzynski
85c6f6b3da Cleaned up the 'parse and increment the version string' example 2017-09-30 15:55:08 +02:00
Michael Liu
27888c0539 Added "parse and increment a version string" example 2017-09-30 15:37:06 +02:00
Michal Budzynski
dcf288ae4e added missing cc-rs dependency to Cargo.toml 2017-09-30 02:43:20 +02:00
Michal Budzynski
79f9bce87f Minor cleanup of first "build tools" example.
unfortunately we have to `ignore` the `main` part of the example
as we cannot or orchestrate testing of examples with more than one file
2017-09-30 02:26:07 +02:00
James Kominick
403f9e6eca Add build time tooling section
issue #292
- Add new `build_tools.md` file/section
- Add a simple `cc` crate example
2017-09-30 01:45:01 +02:00
Mackenzie Hauck
04e18c0058 Add rayon thumbnail generation example 2017-09-25 13:07:51 +02:00
Michal Budzynski
255affd926 Cleaned unneded import warnings on nightly 2017-09-24 11:01:27 +02:00
Michal Budzynski
2eb5ad4bb0 Added OSX CI 2017-09-24 11:01:27 +02:00
Michal Budzynski
3c1b00ee6c Removed appveyor cache as it caused spurious build fails 2017-09-24 10:17:38 +02:00
Michal Budzynski
c3a5a7da89 Updated to latest deps and fixed bitflags example buildbreak 2017-09-24 10:17:38 +02:00