Commit graph

597 commits

Author SHA1 Message Date
Brian Anderson
a2dbd8dadc Merge pull request #256 from yandexx/env-logger-var
Use a custom environment variable to set up logging
2017-07-24 17:17:16 -07:00
Brian Anderson
8e6e65d962 Merge pull request #251 from yandexx/regex-filter-log
Filter a log file by matching multiple regular expressions
2017-07-24 17:16:46 -07:00
Brian Anderson
7fa8270f79 Merge pull request #250 from alisha17/serialize_csv
Serialize records to CSV
2017-07-24 17:15:56 -07:00
Vsevolod Zubarev
85efdd553f Merge branch 'env-logger-var' of https://github.com/yandexx/rust-cookbook into env-logger-var 2017-07-23 22:17:18 +03:00
Vsevolod Zubarev
785ea75e90 Use a custom environment variable to set up logging
Fixes #222
2017-07-23 22:16:24 +03:00
Vsevolod Zubarev
e448192ac8 Use a custom environment variable to set up logging
Fixes #222
2017-07-23 22:13:01 +03:00
Alisha
1515289a1d Serialize records to CSV 2017-07-23 18:38:14 +05:30
Tshepang Lekhonkhobe
6eb1f9e434 readme: de-swap 2017-07-21 08:58:34 +02:00
Vsevolod Zubarev
e8aa408a38 Filter a log file by matching multiple regular expressions
Filter a log file by matching multiple regular expressions

Better queries, added filter_map etc.

Ran through rustfmt, added another regex
2017-07-20 23:35:55 +03:00
Ty Coghlan
fad366bca4 Example to find loops for a given path 2017-07-15 15:48:57 +02:00
Michal Budzynski
2156dd4072 corrected and sorted links in app.md 2017-07-13 20:55:17 +02:00
Jeff Hajewski
b617c3a0c9 Adds decompress tarball while removing path prefix recipe 2017-07-13 20:50:09 +02:00
Michal Budzynski
c2876df252 Updated skeptic to "0.11.0" and added missing dependencies
- updated to skeptic "0.11.0" finally fixing buildbreaks on duplicated deps
- added missing `log` and `base64` deps
- sorted dependencies in Cargo.toml
2017-07-13 13:28:47 +02:00
Michal Budzynski
a0fe9d180a Added minimal "Operate on bitflags" example
also updated dependencies to avoid skeptic test buildbreak
2017-07-11 16:13:58 +02:00
Steven
99830f5237 Adds example for "Logging to stdout instead of stderr". 2017-07-08 13:49:17 +02:00
Portal-Chan
4ce1109c06 Add examples for the glob crate 2017-07-06 21:53:14 +02:00
Michal Budzynski
76a0e70db9 fix for tests running under windows failing due to syslog dependency 2017-07-06 21:34:42 +02:00
Michal Budzynski
6828f9ccbc move badges and description to correct place
in following examples:
- Extract all links from a webpage
- Traverse directories while skipping dotfiles
- Recursively calculate file sizes at given depth
2017-06-30 23:00:11 +02:00
Alisha
3659b3e975 added follow_links in example 2017-06-30 22:38:23 +02:00
David AO Lozano
cd93298abd issue #202 new example for show how to skip hidden files with walkdir 2017-06-28 22:56:44 +02:00
Jonas Hagstedt
d01c3e77c8 Fixed a tiny typo (coobook) 2017-06-22 20:11:54 +02:00
Michał Budzyński
4cfe394a61 Merge pull request #183 from sb89/master
"Extract all links from a webpage" example
2017-06-18 14:59:37 +02:00
Steven Blake
12c450277c Merge branch 'master' into master 2017-06-18 12:42:15 +01:00
Michał Budzyński
7dfe647bf0 Merge pull request #198 from budziq/skeptic_update
Moved to skeptic 0.10
2017-06-16 01:01:46 +02:00
Michal Budzynski
b1445d4d5f Moved to skeptic 0.10
Also fixed two examples that depended on execution PWD in project root.
2017-06-16 00:46:35 +02:00
Brian Anderson
9728ca8964 Merge pull request #191 from budziq/reword_decompress
Added "Compress a directory into tarball" example and reworded decompress example
2017-06-15 15:17:19 -07:00
Michal Budzynski
049ed5ad55 Added "Compress a directory into a tarball" example 2017-06-15 02:08:12 +02:00
Michal Budzynski
df3fd356f2 Removed tempdir from the "Decompress tarball" example 2017-06-15 02:08:12 +02:00
Michal Budzynski
77418088cc Reworded the "Unzip a tarball to a temporary directory"
to "Decompress a tarball to a temporary directory"
updated the wording of the prose also.
2017-06-15 02:08:12 +02:00
Michał Budzyński
b1ae16add7 Merge pull request #197 from budziq/master
update to rayon 0.8 and image 0.14
2017-06-15 01:17:56 +02:00
Michal Budzynski
3e21e454ca update to rayon 0.8 and image 0.14
in order to solve build break on nightly travis
2017-06-15 00:54:38 +02:00
Michał Budzyński
d732876a9c Merge pull request #196 from budziq/master
Pinned mdbook version to 0.0.22
2017-06-14 17:17:56 +02:00
Michal Budzynski
c400f1f36d Pinned mdbook version to 0.0.22
due to upcoming breaking release of mdbook that would
silently break styling of rust-cookbook
2017-06-14 17:08:58 +02:00
David Tolnay
edbfc1f00a Merge pull request #195 from budziq/license
Added clarification of licensing
2017-06-13 17:23:02 -07:00
Michal Budzynski
38ed80063d Added clarification of licensing
Rust Cookbook is licensed under dual MIT/Apache-2.0 license.
2017-06-13 23:19:28 +02:00
Brian Anderson
0018827fa6 Merge pull request #181 from crypto-universe/master
Add walkdir example
2017-06-06 17:25:31 -07:00
crypto-universe
57e846db9b Add walkdir example
Example how to iterate files in directory
to a given depth and accumulate their sizes.
2017-06-05 23:47:59 +02:00
Steven
14bcf0fc02 Fixed "select" badges. 2017-06-04 12:13:25 +01:00
Steven
b9446acf3c - Updated the master table and links in intro.md
- Remove buffer code in example and use 'Document::from_read' instead.
2017-06-04 11:47:05 +01:00
Steven
7fc03a9e7f Added select dependency 2017-06-03 22:17:24 +01:00
Steven
d4807dd039 Tidy up. Also fixed "select-badge". 2017-06-03 22:10:14 +01:00
Steven
4d703498a8 Added "Extract all links from a webpage" example 2017-06-03 22:05:44 +01:00
David Tolnay
19b7a1d68d Merge pull request #180 from budziq/oauth_desc
Added short mention about OAuth authorization
2017-06-02 08:14:38 -07:00
Michal Budzynski
1740abceaf Added short mention about OAuth authorization
Also sorted the reference links section in net.md
2017-06-02 16:26:51 +02:00
David Tolnay
827b8aeb05 Merge pull request #176 from budziq/fractal
Added "Draw fractal dispatching work to a thread pool" example
2017-05-31 08:56:02 -07:00
Michal Budzynski
12355824bd Hidden all nonessential code from the thread pool example
Also added thumbnail showing the final output.
Added missing error handling for`ImageBuffer::save`
2017-05-31 11:10:27 +02:00
Michal Budzynski
a1b7cd0ae9 Added description to "Draw fractal dispatching work to a thread pool" 2017-05-31 10:30:59 +02:00
Michal Budzynski
1642368ba4 Added "Draw fractal dispatching work to a thread pool" example
Without the description yet
2017-05-31 10:30:40 +02:00
David Tolnay
7f028754f2 Merge pull request #175 from jaemk/badge-cache
use badge cache in front of shields.io
2017-05-30 19:42:32 -07:00
James Kominick
6e23f771ea use badge cache
- update badge links to use badge cache with `img.shields.io`
  compatible urls
2017-05-30 22:30:03 -04:00