From d2768320e09981014e0aeda60f6442ea4f5f537e Mon Sep 17 00:00:00 2001 From: Maros Grego Date: Tue, 13 Oct 2020 13:33:07 +0200 Subject: [PATCH] Bump dependencies --- Cargo.toml | 16 ++++++++-------- README.md | 2 +- src/lib.rs | 2 +- src/main.rs | 2 +- src/tasks.rs | 2 +- src/templates/atom.xml | 2 +- src/templates/rss.xml | 2 +- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c597997..4261588 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "blades" -version = "0.1.0" +version = "0.1.1" authors = ["Maroš Grego "] edition = "2018" description = "Blazing fast dead simple static site generator" @@ -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 diff --git a/README.md b/README.md index 4363693..0599d1a 100644 --- a/README.md +++ b/README.md @@ -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] diff --git a/src/lib.rs b/src/lib.rs index 296b77d..7cd7183 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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}; diff --git a/src/main.rs b/src/main.rs index 3c0c60c..3327aee 100644 --- a/src/main.rs +++ b/src/main.rs @@ -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 diff --git a/src/tasks.rs b/src/tasks.rs index a06835c..75b2581 100644 --- a/src/tasks.rs +++ b/src/tasks.rs @@ -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) { diff --git a/src/templates/atom.xml b/src/templates/atom.xml index 3769477..dc9141e 100644 --- a/src/templates/atom.xml +++ b/src/templates/atom.xml @@ -12,7 +12,7 @@ {{/author}} {{description}} - razor + blades {{#date}}{{y}}-{{m}}-{{d}}T{{H}}:{{M}}:{{S}}Z{{/date}} {{/site}} {{#pages}} diff --git a/src/templates/rss.xml b/src/templates/rss.xml index 9a895a9..2d2c6ad 100644 --- a/src/templates/rss.xml +++ b/src/templates/rss.xml @@ -6,7 +6,7 @@ {{url}} {{description}} 1440 - razor + blades {{#date}}{{a}}, {{d}} {{b}} {{y}} {{H}}:{{M}}:{{S}} GMT{{/date}} {{#author}}{{#email}} {{email}}