sqrtx-0.1.3 has been yanked.
SqrtCalculator
A Rust library for calculating square roots asynchronously and synchronously, optimized for high-performance workloads. Includes robust error handling and support for parallel processing.
Table of Contents
Installation
Add the following to your Cargo.toml file:
[]
= "0.1.2"
#### 5. **Usage**
**Example:**
```markdown
## Usage
### Synchronous Example
```rust
square_root;
{
= square_root(144.0).unwrap();
"The square root is {}", result);
}
### Asynchronous Example
```rust
square_root_async;
#[tokio::main]
{
= square_root_async(144.0).await.unwrap();
"The square root is {}", result);
}
#### 6. **Features**
## Features
## Examples
### Parallel Processing
```rust
square_roots_parallel;
#[tokio::main]
{
= vec![4.0, 16.0, 25.0];
= square_roots_parallel(numbers).await.unwrap();
"The square roots are: {:?}", results);
}
## License
LICENSE](LICENSE) file for details.