feat(workspace): add config, error, fs crates - #26
Merged
mroczect merged 20 commits intoSep 7, 2026
Merged
Conversation
Add entries for librawssg_config, librawssg_error, librawssg_fs and adjust existing crate versions to 1.0.0. Include thiserror and its transitive dependencies.
Expand workspace members to include librawssg_config, librawssg_error, and librawssg_fs. Keep existing members.
Set version to 1.0.0 and add description, license, repository, readme, keywords, and categories.
Add a short description of the build pipeline orchestration role.
Create Cargo.toml for librawssg_config with description, license, repository, readme, keywords, and categories. Include workspace lints.
Describe the purpose of the config crate.
Add a simple placeholder lib.rs with add function and test to bootstrap the crate.
Create Cargo.toml for librawssg_error with thiserror dependency and metadata. Use workspace lints.
Describe the unified error type and Result alias.
Add a non-exhaustive Error enum with variants for common SSG failures. Export Result type using thiserror.
Create empty integration_tests.rs for future tests.
Create empty property_tests.rs for future tests.
Create empty unit_tests.rs for future tests.
Create Cargo.toml for librawssg_fs with description, license, repository, readme, keywords, and categories. Use workspace lints.
Describe the filesystem abstraction layer.
Add a simple placeholder lib.rs with add function and test.
Set version to 1.0.0 and add description, license, repository, readme, keywords, and categories.
Describe the content processing contracts.
Set version to 1.0.0 and add description, license, repository, readme, keywords, and categories.
Describe the template rendering contracts.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR expands the Cargo workspace by adding three new crates: librawssg_config, librawssg_error, and librawssg_fs. It also updates existing crates to version 1.0.0 and adds descriptive metadata and READMEs.
Motivation & Context
The workspace previously contained only compiler, handler, and templates crates. Adding dedicated config, error, and filesystem crates improves modularity and separation of concerns. Version bumps to 1.0.0 mark a stable API baseline. Metadata and READMEs document each crate's purpose.
Detailed Changes
Impact & Breaking Changes
No breaking changes identified. The new crates are additive and the version bumps do not alter existing APIs.
Testing Recommendations
Run
cargo testto verify the workspace builds and placeholder tests pass. No additional tests are required for the empty test files.Related Issues
None.