v0.1.2
Changelog
[v0.1.2] - 2025-04-21
Added
- Introduced a new GitHub Action workflow for publishing Rust crates (
sustenet-publish-rust.yml). - Added
LazyLockandOnceLockfor better synchronization inrust/cluster/src/lib.rs. - Introduced a
Loggerstruct to centralize logging functionality in the Cluster Server. - Added new utility function
create_keys_dirinrust/shared/src/security.rsto handle key directory creation with error handling. - Implemented extensive unit tests for newly added functionality in
rust/shared/src/security.rs.
Changed
- Refactored logging to use the new
Loggerstruct across the Cluster Server for improved consistency. - Enhanced the
Plugintrait inrust/shared/src/lib.rsto include new methods:set_senderand an updatedreceivemethod with additional parameters. - Moved the key directory creation logic to a dedicated function for reusability and cleaner error handling in
rust/shared/src/security.rs.
Fixed
- Resolved issues with logging messages in the Cluster Server, ensuring proper categorization (e.g.,
info,debug,error). - Fixed path-related issues in unit tests that prevented the proper creation and loading of keys.
Removed
- Deprecated individual logging methods like
info,warning, anderrorin favor of the centralizedLoggerstruct.
For more details, view the comparison.