Expand description
mame-parser
is a Rust library that simplifies the management and processing of files containing MAME (Multiple Arcade Machine Emulator) information.
The library provides a suite of tools to automate the download, decompression, parsing, and exporting of MAME data,
making it easier to handle and manipulate this data in various formats.
§Features
- File Downloading: Download the latest MAME-related files and store them in a specified location.
- File Decompression: Decompress downloaded files, supporting multiple archive formats like ZIP and 7z.
- Data Parsing and Management: Parse MAME data files with utilities for reading and handling the information in-memory.
- Multi-format Exporting: Export parsed data to multiple formats, such as JSON, CSV, or SQLite.
- Progress Tracking: Monitor the progress of operations.
§Crate Contents
File handling
- Provides functions and utilities for downloading, unpacking, reading and writing MAME data files.Progress tracking
- Contains tools and types for tracking and managing progress updates during operations.Crate models
- Defines data types and models used for representing MAME data.Mame files readers
- Contains functions for reading and parsing different MAME data file formats.
§Examples
You can find examples of how to use the library in the examples
directory of the repository.
Also each function in the file_handling module has its own documentation with examples.
Modules§
- file_
handling - Management of MAME data files, including downloading, reading, and unpacking.
- models
- Data models and types used for MAME data processing.
- progress
- Module to handle the callback functions used for progress tracking.
- readers
- Module for reading and parsing MAME data files.