The repository contains a Rust project for file reserialization, with support for JSON, YAML, and TOML formats. It provides functionality for parsing command-line arguments, and converting data between different formats. The project includes source files for main functionality, argument parsing, format handling, and content reserialization.
The project's value proposition lies in its ability to process and manipulate data in different file formats, making it a valuable tool for developers working with diverse data sources.
rsr <INPUT_FILE> <OPTPUT_FORMAT> [OUTPUT_PATH]
The above will infer the format of the input file from its extension, and write a reserialized file to the output location. If output is not provided, the file will be saved as a sibling to the input file (with a proper extension).
You can always see the available formats by running rsr --help
.
└── rsr/
├── Cargo.lock
├── Cargo.toml
└── src/
├── args.rs
├── formats.rs
├── main.rs
└── reserializers.rs
Contributions are welcome! Feel free to fork the repo and submit a Pull Request or write an Issue.
- Fork the Repository: Start by forking the project repository to your GitHub account.
- Clone Locally: Clone the forked repository to your local machine using a Git client.
git clone <your-forked-repo-url>
- Create a New Branch: Always work on a new branch, giving it a descriptive name.
git checkout -b new-feature-x
- Make Your Changes: Develop and test your changes locally.
- Commit Your Changes: Commit with a clear and concise message describing your updates.
git commit -m 'Implemented new feature x.'
- Push to GitHub: Push the changes to your forked repository.
git push origin new-feature-x
- Submit a Pull Request: Create a PR against the original project repository. Clearly describe the changes and their motivations.
Once your PR is reviewed and approved, it will be merged into the main branch.
This project is protected under the AGPL-3.0 License. For more details, refer to the LICENSE file.