Skip to content

Commit f93827a

Browse files
committed
removed mismatched dependency
1 parent d4370db commit f93827a

File tree

16 files changed

+18
-203
lines changed

16 files changed

+18
-203
lines changed

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ build = "build.rs"
1010
[dependencies]
1111
ansi_term = "0.11.0"
1212
approx = "0.3"
13-
base64 = "0.9"
14-
bitflags = "1.0"
13+
base64 = "0.22.1"
14+
bitflags = "2.9.1"
1515
byteorder = "1.0"
1616
cc = "1.0"
1717
chrono = "0.4"
@@ -23,7 +23,7 @@ data-encoding = "2.1.0"
2323
env_logger = "0.11.3"
2424
flate2 = "1.0"
2525
glob = "0.3"
26-
image = "0.20"
26+
2727
lazy_static = "1.0"
2828
log = "0.4"
2929
log4rs = "0.8"

src/concurrency.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,22 @@
77
| [Pass data between two threads][ex-crossbeam-spsc] | [![crossbeam-badge]][crossbeam] | [![cat-concurrency-badge]][cat-concurrency] |
88
| [Maintain global mutable state][ex-global-mut-state] | [![lazy_static-badge]][lazy_static] | [![cat-rust-patterns-badge]][cat-rust-patterns] |
99
| [Calculate SHA1 sum of *.iso files concurrently][ex-threadpool-walk] | [![threadpool-badge]][threadpool] [![walkdir-badge]][walkdir] [![num_cpus-badge]][num_cpus] [![ring-badge]][ring] | [![cat-concurrency-badge]][cat-concurrency][![cat-filesystem-badge]][cat-filesystem] |
10-
| [Draw fractal dispatching work to a thread pool][ex-threadpool-fractal] | [![threadpool-badge]][threadpool] [![num-badge]][num] [![num_cpus-badge]][num_cpus] [![image-badge]][image] | [![cat-concurrency-badge]][cat-concurrency][![cat-science-badge]][cat-science][![cat-rendering-badge]][cat-rendering] |
1110
| [Mutate the elements of an array in parallel][ex-rayon-iter-mut] | [![rayon-badge]][rayon] | [![cat-concurrency-badge]][cat-concurrency] |
1211
| [Test in parallel if any or all elements of a collection match a given predicate][ex-rayon-any-all] | [![rayon-badge]][rayon] | [![cat-concurrency-badge]][cat-concurrency] |
1312
| [Search items using given predicate in parallel][ex-rayon-parallel-search] | [![rayon-badge]][rayon] | [![cat-concurrency-badge]][cat-concurrency] |
1413
| [Sort a vector in parallel][ex-rayon-parallel-sort] | [![rayon-badge]][rayon] [![rand-badge]][rand] | [![cat-concurrency-badge]][cat-concurrency] |
1514
| [Map-reduce in parallel][ex-rayon-map-reduce] | [![rayon-badge]][rayon] | [![cat-concurrency-badge]][cat-concurrency] |
16-
| [Generate jpg thumbnails in parallel][ex-rayon-thumbnails] | [![rayon-badge]][rayon] [![glob-badge]][glob] [![image-badge]][image] | [![cat-concurrency-badge]][cat-concurrency][![cat-filesystem-badge]][cat-filesystem] |
1715

1816

1917
[ex-crossbeam-spawn]: concurrency/threads.html#spawn-a-short-lived-thread
2018
[ex-crossbeam-pipeline]: concurrency/threads.html#create-a-parallel-pipeline
2119
[ex-crossbeam-spsc]: concurrency/threads.html#pass-data-between-two-threads
2220
[ex-global-mut-state]: concurrency/threads.html#maintain-global-mutable-state
2321
[ex-threadpool-walk]: concurrency/threads.html#calculate-sha256-sum-of-iso-files-concurrently
24-
[ex-threadpool-fractal]: concurrency/threads.html#draw-fractal-dispatching-work-to-a-thread-pool
2522
[ex-rayon-iter-mut]: concurrency/parallel.html#mutate-the-elements-of-an-array-in-parallel
2623
[ex-rayon-any-all]: concurrency/parallel.html#test-in-parallel-if-any-or-all-elements-of-a-collection-match-a-given-predicate
2724
[ex-rayon-parallel-search]: concurrency/parallel.html#search-items-using-given-predicate-in-parallel
2825
[ex-rayon-parallel-sort]: concurrency/parallel.html#sort-a-vector-in-parallel
2926
[ex-rayon-map-reduce]: concurrency/parallel.html#map-reduce-in-parallel
30-
[ex-rayon-thumbnails]: concurrency/parallel.html#generate-jpg-thumbnails-in-parallel
3127

3228
{{#include links.md}}

src/concurrency/parallel.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@
1010

1111
{{#include parallel/rayon-map-reduce.md}}
1212

13-
{{#include parallel/rayon-thumbnails.md}}
14-
1513
{{#include ../links.md}}

src/concurrency/parallel/rayon-thumbnails.md

Lines changed: 0 additions & 69 deletions
This file was deleted.

src/concurrency/thread/threadpool-fractal.md

Lines changed: 0 additions & 121 deletions
This file was deleted.

src/concurrency/threads.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,4 @@
1010

1111
{{#include thread/threadpool-walk.md}}
1212

13-
{{#include thread/threadpool-fractal.md}}
14-
1513
{{#include ../links.md}}

src/database/postgres/insert_query_data.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ The recipe inserts data into the `author` table using [`execute`] method of `Cli
66

77

88
```rust,edition2018,no_run
9+
extern crate postgres;
910
use postgres::{Client, NoTls, Error};
1011
use std::collections::HashMap;
1112

src/database/sqlite/insert_select.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
This recipe inserts data into `cat_colors` and `cats` tables using the [`execute`] method of `Connection`. First, the data is inserted into the `cat_colors` table. After a record for a color is inserted, [`last_insert_rowid`] method of `Connection` is used to get `id` of the last color inserted. This `id` is used while inserting data into the `cats` table. Then, the select query is prepared using the [`prepare`] method which gives a [`statement`] struct. Then, query is executed using [`query_map`] method of [`statement`].
77

88
```rust,edition2024,no_run
9-
9+
extern crate rusqlite;
1010
use rusqlite::{params, Connection, Result};
1111
use std::collections::HashMap;
1212

src/database/sqlite/transactions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ a duplicate color is made, the transaction rolls back.
1313

1414

1515
```rust,edition2024,no_run
16+
extern crate rusqlite;
1617
use rusqlite::{Connection, Result};
1718
1819
fn main() -> Result<()> {

src/encoding/complex/toml.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ Parse TOML into your own structs using [Serde].
3434

3535
```rust,edition2018
3636
extern crate toml;
37+
extern crate serde;
3738
use serde::Deserialize;
3839
3940
use toml::de::Error;

0 commit comments

Comments
 (0)