DIDI File Format
This is a learning project that demonstrates how to create a custom file format using Rust. The DIDI file format includes capabilities for encoding data to save on storage and metadata to indicate if a specific string is present in the file.
Features
- Encoding Data: Stores data by converting it into a specific format using Run-Length Encoding (RLE).
- Metadata: Indicates whether a specific string is present anywhere in the file.
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
Usage
Here’s a basic example of how to use the DIDI file format in your Rust project.
Writing to a DIDI File
use write_didi;
Reading from a DIDI File
use read_didi;
Using the Sniffer Function
use sniffer;
## License
This project is licensed under the MIT License. See the file for details.
## Contributing
Contributions are welcome! Please open an issue or submit a pull request.
## Contact
For any questions or feedback, feel free to reach out.
---
Enjoy using the DIDI file format!