discortp

Crates.iodiscortp
lib.rsdiscortp
version0.6.0
sourcesrc
created_at2020-05-04 12:49:54.990507
updated_at2023-11-17 10:57:15.224632
descriptionLightweight, flexible Real-time Transport Protocol (RTP) parsing library.
homepagehttps://github.com/FelixMcFelix/discortp
repositoryhttps://github.com/FelixMcFelix/discortp.git
max_upload_size
id237386
size38,957
Kyle Simpson (FelixMcFelix)

documentation

https://docs.rs/discortp

README

docs-badge crates.io version crates.io downloads license rust version badge

DiscoRTP

DiscoRTP is a lightweight, flexible Real-time Transport Protocol parsing library designed for use in non-standards compliant environments, such as Discord.

DiscoRTP differs from other Rust RTP libraries in that packet construction should never fail, unless there are too few bytes. Not all implementations treat fields as they should (i.e., length), and so DiscoRTP's philosophy is that the user knows best. Packet parsers are building blocks to be manually assembled, and validation mechanisms exist but are manual.

DiscoRTP was originally developed for use in Serenity.

Installation

Add the following to your cargo.toml:

[dependencies]
discortp = "0.3"
Commit count: 38

cargo fmt