This is a fork of Wulf's dsync with some Pull Requests merged, see Difference with original
For a binary, use dsync-hasezoey crates.io or dsync-hasezoey github
Usage:
```rust use std::{collections::HashMap, path::PathBuf}; use dsync_hasezoey::{GenerationConfig, TableOptions};
pub fn main() { let dir = env!("CARGOMANIFESTDIR");
dsync_hasezoey::generate_files(
PathBuf::from_iter([dir, "src/schema.rs"]),
PathBuf::from_iter([dir, "src/models"]),
GenerationConfig { /* ... your generation options ... */ }
);
} ```