From 88cb40361d13065c52177e1423ab9d6f2765cf60 Mon Sep 17 00:00:00 2001 From: mroczect Date: Wed, 9 Sep 2026 01:44:32 +0700 Subject: [PATCH 1/2] chore(docs): add package metadata and format dependency Add description, license, repository, readme, keywords, and categories to docs Cargo.toml. Align dependency formatting with workspace style. --- docs/Cargo.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/Cargo.toml b/docs/Cargo.toml index fa076fb..08f0a8f 100644 --- a/docs/Cargo.toml +++ b/docs/Cargo.toml @@ -2,9 +2,15 @@ name = "docs" version = "0.1.0" edition = "2024" +description = "Documentation site generator for librawssg" +license = "MIT" +repository = "https://github.com/mroczect/librawssg" +readme = "README.md" +keywords = ["ssg", "docs", "librawssg"] +categories = ["development-tools::build-utils"] [dependencies] -librawssg = {version = "1.0.0", path = "../librawssg" } +librawssg = { version = "1.0.0", path = "../librawssg" } [lints] workspace = true From 0568b1e039a9beab0e7468d06b56e1bdf6684d27 Mon Sep 17 00:00:00 2001 From: mroczect Date: Wed, 9 Sep 2026 01:44:32 +0700 Subject: [PATCH 2/2] fix(docs): use core::error::Error in main return type Replace `std::error::Error` with `core::error::Error` for better no_std compatibility and consistency with other crates. --- docs/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/main.rs b/docs/src/main.rs index e94213d..67c4901 100644 --- a/docs/src/main.rs +++ b/docs/src/main.rs @@ -62,7 +62,7 @@ impl Processor for RawFileProcessor { } } -fn main() -> Result<(), Box> { +fn main() -> Result<(), Box> { let base = Path::new(env!("CARGO_MANIFEST_DIR")); let content_dir = base.join("src/content"); let templates_dir = base.join("src/templates");