| Crates.io | ngtq |
| lib.rs | ngtq |
| version | 0.1.0 |
| created_at | 2025-04-25 17:10:52.173309+00 |
| updated_at | 2025-04-25 17:10:52.173309+00 |
| description | A trait-based abstraction layer for task queues with ID and category support |
| homepage | |
| repository | https://github.com/NGDeveloper125/NGTQ |
| max_upload_size | |
| id | 1649249 |
| size | 9,618 |
NGTQ is a trait-based abstraction layer for task queues in Rust, enabling seamless switching between different task queue implementations without changing your application code.
Add NGTQ to your Cargo.toml:
[dependencies]
ngtq = "0.1.0"
NGTQ can be used in different architectural patterns:
NGTQ defines a trait that any task queue implementation must satisfy. This standardizes:
*Coming soon
NGTQ provides a standardized error type NGTQError with categorized error types:
Initialisation - Errors during queue setupIdQueue - Errors related to ID-based queue operationsCategoryQueue - Errors related to category-based queue operationsSerialisation - Errors during data serialization/deserializationServerError - Unexpected server or backend errorsContributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.