ruxios 0.1.1

Ruxios is an HTTP library for Rust, inspired by Axios, with a simple yet robust interface
Documentation
# Ruxios 🚀


Ruxios is a lightweight yet powerful HTTP request library for Rust. Inspired by libraries like Axios, Ruxios provides a straightforward but mighty interface for your Rust applications.

<div align="center">
    <img src="./docs/assets/logo.webp" alt="Ruxios logo" width="300"/>
</div>

[![Build Status](https://img.shields.io/github/workflow/status/devzolo/ruxios/CI)](https://github.com/devzolo/ruxios/actions)
[![Crates.io Version](https://img.shields.io/crates/v/ruxios.svg)](https://crates.io/crates/ruxios)
[![Documentation](https://docs.rs/ruxios/badge.svg)](https://docs.rs/ruxios)
[![License](https://img.shields.io/crates/l/ruxios.svg)](https://github.com/devzolo/ruxios/blob/main/LICENSE)

## 📦 Installation


Add this to your `Cargo.toml`:

```toml
[dependencies]
ruxios = "0.1.0"
```

## 🚀 Quick Start


```rust
use ruxios::{Ruxios, RuxiosConfig};

let api = Ruxios::from(RuxiosConfig {
    base_url: String::from("https://api.mysite.com"),
    ..Default::default()
});

let res = api.get::<Value, Value>("/my-route").await;

match res {
    Ok(res) => println!("{:?}", res.data),
    Err(err) => println!("{:?}", err),
}
```

## 💡 Features


- Clear and concise HTTP methods.
- Support for custom types for requests and responses.
- Simplified error handling.
- `fetch!` macro for quick GET requests.

## 📖 Documentation


For a deeper dive, check out our [full documentation](https://docs.rs/ruxios).

## 🌱 Contributing


1. Fork the repository.
2. Create a new branch for your changes: `git checkout -b my-new-feature`.
3. Commit your changes: `git commit -am 'Add some feature'`.
4. Push to the branch: `git push origin my-new-feature`.
5. Submit a pull request.

## 📝 License


This library is licensed under the MIT License. See the [LICENSE](https://github.com/devzolo/ruxios/blob/main/LICENSE) file for details.