diff --git a/Cargo.lock b/Cargo.lock index 34b8e45..ce291a3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -500,11 +500,11 @@ dependencies = [ [[package]] name = "krile" -version = "0.5.6" +version = "0.5.7" dependencies = [ "argh", "minifemme", - "shtola 0.4.2", + "shtola 0.4.3 (registry+https://github.com/rust-lang/crates.io-index)", ] [[package]] @@ -908,14 +908,13 @@ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde" [[package]] name = "shtola" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0807abbba44d0d5aaae56cba07cb4787e3a31d2a7a0cc5cfc809c8405d5b2a11" +version = "0.4.3" dependencies = [ "comrak", "globset", "id_tree", "log", + "minifemme", "pathdiff", "serde_json", "serde_yaml", @@ -927,12 +926,13 @@ dependencies = [ [[package]] name = "shtola" version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f30c0a86aa41bf2c141cdaf0976e6762b5c4c967226f1c348859e370f55a883c" dependencies = [ "comrak", "globset", "id_tree", "log", - "minifemme", "pathdiff", "serde_json", "serde_yaml", diff --git a/krile/CHANGELOG.md b/krile/CHANGELOG.md index 0f55c09..458074e 100644 --- a/krile/CHANGELOG.md +++ b/krile/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [0.5.7] - 2023-03-19 + +### Changed + +- Upgraded shtola to `0.4.3`. +- Dynamically read package version from Cargo env variable. + ## [0.5.6] - 2021-11-10 ### Changed diff --git a/krile/Cargo.toml b/krile/Cargo.toml index 6220108..52e3bbb 100644 --- a/krile/Cargo.toml +++ b/krile/Cargo.toml @@ -1,13 +1,13 @@ [package] name = "krile" description = "A static site generator" -version = "0.5.6" +version = "0.5.7" license = "AGPL-3.0-or-later" edition = "2021" repository = "https://codeberg.org/shadows_withal/shtola/src/branch/main/krile" readme = "README.md" [dependencies] -shtola = { version = "0.4.2", features = ["full"] } +shtola = { version = "0.4.3", features = ["full"] } argh = "~0.1" minifemme = "~1.0" diff --git a/krile/src/main.rs b/krile/src/main.rs index 4aa3c61..391ff74 100644 --- a/krile/src/main.rs +++ b/krile/src/main.rs @@ -6,7 +6,7 @@ use shtola::log::*; use shtola::plugins; use shtola::Shtola; -const VERSION: &'static str = "0.5.6"; +const VERSION: &'static str = env!("CARGO_PKG_VERSION"); #[derive(FromArgs)] /// A static site generator.