| Crates.io | openapi-sync |
| lib.rs | openapi-sync |
| version | 0.1.0 |
| created_at | 2025-03-09 10:14:57.457913+00 |
| updated_at | 2025-03-09 10:14:57.457913+00 |
| description | Rust implementation of a file synchronization tool for company SDK |
| homepage | |
| repository | https://github.com/Linyuqiz/openapi-sync |
| max_upload_size | |
| id | 1585325 |
| size | 65,767 |
A Rust implementation of a file synchronization tool for company SDK resources.
Add this to your Cargo.toml:
[dependencies]
openapi-sync = "0.1.0"
use openapi_sync::syncer::Syncer;
use openapi_sync::task::Task;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
// Create a new syncer instance
let syncer = Syncer::new();
// Create and configure a synchronization task
let task = Task::new();
// Add the task to the syncer
syncer.add_task(task);
// Start the synchronization process
syncer.start();
Ok(())
}
For more detailed documentation, please visit docs.rs/openapi-sync.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under either of
at your option.