Skip to content

Commit f7b988f

Browse files
committed
Version bump
1 parent c6f659c commit f7b988f

File tree

3 files changed

+20
-28
lines changed

3 files changed

+20
-28
lines changed

Cargo.lock

Lines changed: 9 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "blades"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
authors = ["Maroš Grego <maros@grego.site>"]
55
edition = "2021"
66
description = "Blazing fast dead simple static site generator"
@@ -12,27 +12,27 @@ readme = "README.md"
1212
homepage = "https://www.getblades.org"
1313

1414
[dependencies]
15-
ramhorns = { git = "https://github.com/grego/ramhorns", branch = "shorthand" }
15+
ramhorns = "0.14"
1616
arrayvec = { version = "0.7", features = ["serde"] }
1717
beef = { version = "0.5", features = ["impl_serde"]}
1818
serde = { version = "^1.0.126", features = ["derive"] }
1919
chrono = { version = "^0.4.19", features = ["std", "serde"], default_features = false }
2020
fnv = "1.0"
21-
hashbrown = { version = "0.12.1", features = ["inline-more", "serde"], default_features = false }
21+
hashbrown = { version = "0.11", features = ["inline-more", "serde"], default_features = false }
2222
serde-cmd = "0.1.3"
2323
pulldown-cmark = { version = "0.9", default_features = false }
2424
cmark-syntax = "0.3"
2525

2626
# Cargo doesn't support binary-only dependencies yet.
2727
toml = { version = "0.5.9", optional = true }
2828
rayon = { version = "1.5.3", optional = true }
29-
clap = { version = "3.1.18", optional = true, default_features = false, features = ["std"] }
30-
clap_derive = { version = "3.1.18", optional = true }
29+
clap = { version = "3.1", optional = true, default_features = false, features = ["std"] }
30+
clap_derive = { version = "3.1", optional = true }
3131
thiserror = { version = "1.0.31", optional = true }
3232
serde_json = { version = "1", optional = true }
3333

3434
[features]
35-
bin = ["toml", "rayon", "clap", "clap_derive", "thiserror", "serde_json", "hashbrown/rayon"]
35+
bin = ["toml", "rayon", "clap", "clap_derive", "thiserror", "serde_json"]
3636
mathml = ["cmark-syntax/latex2mathml"]
3737
default = ["bin", "mathml"]
3838

@@ -44,6 +44,3 @@ codegen-units = 1
4444

4545
[profile.bench]
4646
lto = true
47-
48-
[patch.crates-io]
49-
ramhorns-derive = { git = "https://github.com/grego/ramhorns", branch = "shorthand" }

src/main.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -369,12 +369,12 @@ fn build(config: &Config) -> Result<(), Error> {
369369
})
370370
},
371371
|| -> Result<(), Error> {
372-
taxonomies.par_iter().try_for_each(|(_, taxonomy)| {
372+
for (_, taxonomy) in taxonomies.iter() {
373373
taxonomy.render(config, &taxonomies, &pages, &templates, &rendered)?;
374-
taxonomy.keys().par_iter().try_for_each(|(n, l)| {
375-
taxonomy.render_key((n, l), config, &taxonomies, &pages, &templates, &rendered)
376-
})
377-
})?;
374+
for (n, l) in taxonomy.keys().iter() {
375+
taxonomy.render_key((n, l), config, &taxonomies, &pages, &templates, &rendered)?;
376+
}
377+
};
378378
render_meta(&pages, &taxonomies, config).map_err(Into::into)
379379
},
380380
);

0 commit comments

Comments
 (0)