ETL Core
Core ETL (Extract, Transform, Load) library for Rust.
Overview
This library provides a framework for building ETL pipelines in Rust. It includes traits and implementations for extracting data from various sources, transforming it, and loading it into various destinations.
Features
- Extensible extractor framework with built-in REST API support
- Error handling with detailed error types
- Asynchronous operations using Tokio
- Support for various data formats (JSON, text, bytes)
Modules
extract: Traits and implementations for data extraction
Usage
Add this to your Cargo.toml:
[]
= "0.1"
Or if you want to use the latest version from the repository:
[]
= { = "https://github.com/your-username/anduflow", = "main" }
Examples
use ;
async
Testing
To run the tests:
Tests are organized in a separate tests directory for better maintainability:
- Unit tests for error handling in
tests/error_tests.rs - Integration tests for REST extractor in
tests/rest_extractor_tests.rs
Documentation
To generate and view the documentation:
For online documentation, visit docs.rs/etl-core.