async-reciprocals
A utility library for asynchronous fallible conversion and reciprocals in Rust.
Overview
async-reciprocals provides tools for handling bidirectional asynchronous conversions between different types in Rust. It leverages Tokio for asynchronous operations, making it suitable for high-performance applications that need type conversions in non-blocking contexts.
Features
- Asynchronous type conversion utilities
- Built on Tokio runtime for efficient async operations
- Simple API for bidirectional conversions
- Designed for Rust's async/await ecosystem
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
Usage
Basic example:
use ;
use tokio;
use Error;
// Define a simple source type
// Define a target type
// Implement async conversion from UserInput to ProcessedData
async
Requirements
- Rust 2024 edition
- Tokio runtime
Development
To contribute to this project:
- Clone the repository
- Install dependencies with
cargo build - Run tests with
cargo test
License
This project is licensed under the GNU Lesser General Public License v2.1 (LGPL-2.1). See the LICENSE file for details.
Contributing
Contributions are welcome. Feel free to submit a Pull Request.