Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
grego committed Oct 13, 2020
1 parent 728bbdf commit d276832
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blades"
version = "0.1.0"
version = "0.1.1"
authors = ["Maroš Grego <maros@grego.site>"]
edition = "2018"
description = "Blazing fast dead simple static site generator"
Expand All @@ -11,16 +11,16 @@ license = "GPL-3.0-or-later"
readme = "README.md"

[dependencies]
toml = "0.5.6"
ramhorns = "0.10"
toml = "0.5.7"
ramhorns = "0.10.1"
beef = { version = "0.4.4", features = ["impl_serde"]}
serde = { version = "1.0.114", features = ["derive"] }
serde = { version = "1.0.116", features = ["derive"] }
custom_error = "1.8.0"
chrono = {version = "0.4.12", features = ["serde"] }
ahash = "0.4"
chrono = {version = "0.4.19", features = ["serde"] }
ahash = "0.5.1"
parking_lot = "0.11"
rayon = "1.3.1"
structopt = "0.3.18"
rayon = "1.4.1"
structopt = "0.3.20"

[profile.release]
lto = true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ If you would like to have it included in your favourite package repository, [sub

Then, you can run the executable `blades` with the following subcommands:
* `init`: Initialise the site in the current directory, creating the basic files and folders
* `build`: Build the site according to config, content, templates and themes in the currend directory
* `build`: Build the site according to config, content, templates and themes in the current directory
* `colocate`: Move the assets from the "assets" directory and from the theme, if one is used, into the output directory
* `all`: Build the site and colocate the assets
* `lazy`: Build the site and (colocate assets only if the theme was switched) [default]
Expand Down
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mod types;
pub use config::Config;
pub use error::{Error, Result};
pub use page::Page;
pub use sources::Sources;
pub use sources::{Source, Sources};
pub use tasks::{cleanup, colocate_assets, render_meta};
pub use taxonomies::Taxonomy;
pub use types::{MutSet, Templates};
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ enum Cmd {
Init,
/// Start creating a new page
New,
/// Build the site according to config, content, templates and themes in the currend directory
/// Build the site according to config, content, templates and themes in the current directory
Build,
/// Move the assets from the "assets" directory and from the theme, if one is used,
/// into the output directory
Expand Down
2 changes: 1 addition & 1 deletion src/tasks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ pub fn colocate_assets(config: &Config) -> Result {
}

/// Delete all the pages that were present in the previous render, but not the current one.
/// Then, write all the paths that were rendered to the file `.razor`.
/// Then, write all the paths that were rendered to the file `filelist`
pub fn cleanup(rendered: MutSet, filelist: &str) -> Result {
let rendered = rendered.into_inner();
if let Ok(f) = File::open(filelist) {
Expand Down
2 changes: 1 addition & 1 deletion src/templates/atom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</author>
{{/author}}
<subtitle>{{description}}</subtitle>
<generator>razor</generator>
<generator>blades</generator>
{{#date}}<updated>{{y}}-{{m}}-{{d}}T{{H}}:{{M}}:{{S}}Z</updated>{{/date}}
{{/site}}
{{#pages}}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/rss.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<link>{{url}}</link>
<description>{{description}}</description>
<ttl>1440</ttl>
<generator>razor</generator>
<generator>blades</generator>
{{#date}}<pubDate>{{a}}, {{d}} {{b}} {{y}} {{H}}:{{M}}:{{S}} GMT</pubDate>{{/date}}
{{#author}}{{#email}}
<managingEditor>{{email}}</managingEditor>
Expand Down

0 comments on commit d276832

Please sign in to comment.