| Crates.io | workspacer-crate |
| lib.rs | workspacer-crate |
| version | 0.5.2 |
| created_at | 2025-02-09 03:44:12.197205+00 |
| updated_at | 2025-07-13 00:21:07.760206+00 |
| description | Efficient management of Rust workspaces with asynchronous operations, offering functionalities for crate initialization, integrity validation, version management, and serialization. |
| homepage | |
| repository | https://github.com/klebs6/klebs-general |
| max_upload_size | |
| id | 1548633 |
| size | 205,188 |
workspacer-crate is a comprehensive utility for managing Rust workspaces with refined asynchronous handling and intricate management of workspace constructs. This crate is tailored for developers who require detailed control over crate initialization, integrity validation, version management, and more.
Crate Initialization: Efficiently initialize crates within a workspace, complete with optional README, source files, and test files.
Asynchronous Operations: Utilize asynchronous mechanisms to manage concurrent operations, ensuring thread-safe access and modification of the Cargo.toml and associated paths.
Version and Integrity Management: Safeguard version consistency and workspace integrity with automated checks for required files such as Cargo.toml and source files.
Serialize and Deserialize Support: Offers serialization for crate handles, facilitating network transmission or persistent storage.
Incorporate workspacer-crate into your Rust project to streamline workspace management:
use workspacer_crate::CrateHandle;
async fn main() {
// Example usage of CrateHandle
let crate_handle = CrateHandle::new("/path/to/crate").await.unwrap();
let version = crate_handle.version().unwrap();
println!("Crate version: {}", version);
}
Add to your Cargo.toml:
[dependencies]
workspacer-crate = "0.5.0"
Contributions are welcome! Please look at the issues on GitHub.
This project is licensed under the MIT OR Apache-2.0 licenses.