| Crates.io | etl-core |
| lib.rs | etl-core |
| version | 0.1.0 |
| created_at | 2025-12-30 23:32:32.959041+00 |
| updated_at | 2025-12-30 23:32:32.959041+00 |
| description | Core ELT (Extract, Load, Transform) library for Rust |
| homepage | https://github.com/tbar4/anduflow |
| repository | https://github.com/tbar4/anduflow |
| max_upload_size | |
| id | 2013619 |
| size | 427,053 |
Core ETL (Extract, Transform, Load) library for Rust.
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.
extract: Traits and implementations for data extractionAdd this to your Cargo.toml:
[dependencies]
etl-core = "0.1"
Or if you want to use the latest version from the repository:
[dependencies]
etl-core = { git = "https://github.com/your-username/anduflow", branch = "main" }
use etl_core::extract::{Extractor, ExtractorResult, rest_extractor::RestExtractor};
#[tokio::main]
async fn main() -> ExtractorResult<()> {
let extractor = RestExtractor::new("https://api.example.com", "data");
let data: serde_json::Value = extractor.extract().await?;
Ok(())
}
To run the tests:
cargo test
Tests are organized in a separate tests directory for better maintainability:
tests/error_tests.rstests/rest_extractor_tests.rsTo generate and view the documentation:
cargo doc --open
For online documentation, visit docs.rs/etl-core.