zung_parsers

Crates.iozung_parsers
lib.rszung_parsers
version0.1.1
sourcesrc
created_at2024-10-10 19:07:49.928389
updated_at2024-10-10 19:10:45.57811
descriptionData Format Parsing in Rust
homepage
repositoryhttps://github.com/ishaan26/zung
max_upload_size
id1404133
size78,879
Ishaan Goel (ishaan26)

documentation

README

Zung Parsers - Data Format Parsing in Rust

This Library consists of varouis feature-full (on going) data format parsers implemented in rust. Each project is separated out in different modules as listed out in Table of Contents below.

Zung Family

This library is part of the zung family. Install the zung binary with cargo install zung to try out some of the features of this library.

Disclaimer

This library is intended for learning purposes only. While I will do my best to write the most professional code I can (with my limited coding knowledge), it is not my intention for this library to be used in any production environment.

Ateast not yet...

Table of Contents

Bencode

Encode and decode data in the Bencode format.

Bencode is a simple binary encoding format used in various contexts, most notably in BitTorrent. This type provides functionality to encode Rust data structures into Bencode format and decode Bencode strings into Rust data structures or json or yaml. See the implemented methods for more information,

Features

  • Full serde support.
  • Good error reporting (I tried).
  • Value implementation to reprasent parsed bencode data in rust data types.

Usage

See the docs for how to use each module of this library.

Commit count: 113

cargo fmt