Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
grego committed Jun 7, 2022
1 parent c6f659c commit f7b988f
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 28 deletions.
23 changes: 9 additions & 14 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 6 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blades"
version = "0.3.0"
version = "0.3.1"
authors = ["Maroš Grego <[email protected]>"]
edition = "2021"
description = "Blazing fast dead simple static site generator"
Expand All @@ -12,27 +12,27 @@ readme = "README.md"
homepage = "https://www.getblades.org"

[dependencies]
ramhorns = { git = "https://github.com/grego/ramhorns", branch = "shorthand" }
ramhorns = "0.14"
arrayvec = { version = "0.7", features = ["serde"] }
beef = { version = "0.5", features = ["impl_serde"]}
serde = { version = "^1.0.126", features = ["derive"] }
chrono = { version = "^0.4.19", features = ["std", "serde"], default_features = false }
fnv = "1.0"
hashbrown = { version = "0.12.1", features = ["inline-more", "serde"], default_features = false }
hashbrown = { version = "0.11", features = ["inline-more", "serde"], default_features = false }
serde-cmd = "0.1.3"
pulldown-cmark = { version = "0.9", default_features = false }
cmark-syntax = "0.3"

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

[features]
bin = ["toml", "rayon", "clap", "clap_derive", "thiserror", "serde_json", "hashbrown/rayon"]
bin = ["toml", "rayon", "clap", "clap_derive", "thiserror", "serde_json"]
mathml = ["cmark-syntax/latex2mathml"]
default = ["bin", "mathml"]

Expand All @@ -44,6 +44,3 @@ codegen-units = 1

[profile.bench]
lto = true

[patch.crates-io]
ramhorns-derive = { git = "https://github.com/grego/ramhorns", branch = "shorthand" }
10 changes: 5 additions & 5 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,12 +369,12 @@ fn build(config: &Config) -> Result<(), Error> {
})
},
|| -> Result<(), Error> {
taxonomies.par_iter().try_for_each(|(_, taxonomy)| {
for (_, taxonomy) in taxonomies.iter() {
taxonomy.render(config, &taxonomies, &pages, &templates, &rendered)?;
taxonomy.keys().par_iter().try_for_each(|(n, l)| {
taxonomy.render_key((n, l), config, &taxonomies, &pages, &templates, &rendered)
})
})?;
for (n, l) in taxonomy.keys().iter() {
taxonomy.render_key((n, l), config, &taxonomies, &pages, &templates, &rendered)?;
}
};
render_meta(&pages, &taxonomies, config).map_err(Into::into)
},
);
Expand Down

0 comments on commit f7b988f

Please sign in to comment.