Skip to main content

Crate fluxforge

Crate fluxforge 

Source
Expand description

§FluxForge

A database schema converter and migration engine for MySQL and PostgreSQL.

FluxForge provides a unified interface for extracting, transforming, and replicating database schemas and data between MySQL and PostgreSQL databases. It supports:

  • Schema extraction and conversion
  • Type mapping and transformation
  • Data replication with verification
  • Dependency-aware table ordering

§Examples

use fluxforge::{drivers, core::ForgeConfig};

let config = ForgeConfig::default();
let driver = drivers::create_driver("mysql://user:pass@localhost/db", &config).await?;
let schema = driver.fetch_schema(&config).await?;
println!("Extracted {} tables", schema.tables.len());

Re-exports§

pub use crate::core::ForgeColumn;
pub use crate::core::ForgeSchema;
pub use crate::core::ForgeTable;

Modules§

config
Configuration loading and management.
core
Core data structures for schema representation and configuration.
drivers
Database driver implementations.
ops
Database operations for replication, verification, and dependency resolution.

Traits§

DatabaseDriver
Database driver trait for unified database operations.