Vishal Sodani
720e65780e
Add Postgres database recipe ( #456 ) ( #481 )
...
Postgres Database Recipes
2018-10-11 13:54:46 -07:00
Laurențiu Nicola
bbc81c48d7
Bump crossbeam, image and memmap ( #467 ) ( #467 )
2018-10-05 16:58:59 -07:00
Laurențiu Nicola
78a99d0eb1
Add SQLite database open recipe ( #464 ) ( #464 )
...
Databases yay!
2018-10-05 16:54:57 -07:00
Andy Gauge
656e486ff6
cleanup
2018-10-03 15:32:21 -07:00
Laurențiu Nicola
2b29e72423
Upgrade to reqwest 0.9 ( #460 )
2018-10-02 15:14:37 -07:00
Siddharth Naithani
d4e44638ee
added ansi_term example ( #457 )
...
* added ansi_term example
* added ansi and ansiterm to dictionary
* Delete ansi_terminal.md
* Update arguments.md
* link shows but does not work
* bug fix [link now shows and works perfectly]
* highlighted `` ansi-term name
* resolved flaws
* fixed issues with travis CI
2018-10-02 15:07:35 -07:00
Michał Budzyński
254ee9bf43
Hide examples showing custom header setup until a clean solution is available ( #430 )
...
Hidden ./src/web/clients/requests/header.md and
./src/web/clients/api/rate-limited.md as the custom header story is being reworked
in https://github.com/hyperium/headers
2018-07-11 13:13:51 -07:00
Michal Budzynski
ab7bedc0a5
bump num to 0.2
2018-07-11 10:59:21 +02:00
Andrew Gauger
97dabe59ae
Restructure Cookbook ( #404 )
2018-07-10 14:07:24 -07:00
Michał Budzyński
601873ec69
bump error-chain to 0.12 in order to silence unused_doc_comment
( #428 )
2018-07-10 13:43:57 -07:00
Yogesh Choudhary
af25e615d2
fix rand crate example and broken links
2018-06-04 12:58:13 +02:00
Michal Budzynski
6fec9ecfc4
Bump version of logging crates and fix broken links in logging.md
2018-05-15 00:44:18 +02:00
Michal Budzynski
d7c86d0560
bumped crate versions
...
`csv`, `hyper`, `regex`, `rayon`, `image`
2018-05-15 00:44:18 +02:00
NiekGr
24602267ea
Add example "Parse the MIME type of a HTTP response" ( #407 )
...
In this example is shown how the media type of a response, received with
reqwest, can be obtained from it's headers. The media type is then
matched with predefined constants from the mime crate.
2018-05-02 16:46:38 -07:00
Michal Budzynski
333c8a2bfa
Bump dependencies and fix buildbreaks
2018-01-11 15:14:43 +01:00
Michal Budzynski
38d59c3e92
[Upkeep] updated deps fixed build-breaks and sorted links
2017-11-03 03:23:28 +01: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
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
c3a5a7da89
Updated to latest deps and fixed bitflags example buildbreak
2017-09-24 10:17:38 +02:00
Michal Budzynski
3fe5e09902
bumped dependencies
2017-09-09 03:41:02 +02:00
Alisha
f54723f4dd
Avoid reading and writing to same file
2017-09-01 13:40:31 +02:00
Michal Budzynski
d059872395
Bumped syslog to 3.3.0 and fixed buildbreak
2017-08-21 09:25:45 +02:00
Michal Budzynski
b31ac80161
Updated cookbook dependencies and reqwest examples build with 0.7 API
2017-08-15 22:57:41 +02:00
Michal Budzynski
fcb097e72c
move to skeptic 0.12.1
2017-07-31 17:45:18 +02:00
Ted Mielczarek
29184f9e43
Add an example of calculating the SHA-256 digest of a file using ring
2017-07-29 22:28:33 +02:00
Alisha
1515289a1d
Serialize records to CSV
2017-07-23 18:38:14 +05:30
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
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
Steven Blake
12c450277c
Merge branch 'master' into master
2017-06-18 12:42:15 +01: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
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
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
Steven
7fc03a9e7f
Added select dependency
2017-06-03 22:17:24 +01: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
Richard Dodd
365aa47ee8
Add memmap example for random file access
2017-05-30 01:02:20 +01:00
Michal Budzynski
e84ddfa20e
Implemented the "Include timestamp in log messages" example
2017-05-20 21:39:21 +02:00
David Tolnay
b35e998d0a
Merge pull request 133 from cetra3:log_custom
2017-05-19 10:00:13 -07:00
Xavier Payn
e48c85104a
Add dedup-filenames example
2017-05-19 17:55:36 +02: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
James Kominick
66d6156088
Add lazy_static example
...
issue #99
2017-05-18 23:27:08 -04:00
Xavier Payn
a943707b56
Add tar-temp example
2017-05-18 17:19:22 +02:00
David Tolnay
f26f57fecf
Don't accidentally publish cookbook
2017-05-17 10:42:13 -07:00
Michal Budzynski
a05e0adeca
Implemented "Enable log levels per module" example
...
Also grouped the env_logger based examples together
2017-05-14 13:03:48 +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
Michal Budzynski
9c85872df4
bumped reqwest to version supporting serde 1.0
2017-05-10 12:57:27 +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
Michael Stock
fc62898dad
Add url joining example
2017-05-05 17:36:40 -07:00