#parser #serde #plugin

tnetstring

TNetString parser for Rust

2 unstable releases

0.2.0 Oct 2, 2019
0.1.0 Sep 2, 2019

#2022 in Encoding

AGPL-3.0

54KB
1.5K SLoC

tnetstring

A TNetString serde plugin and parser for Rust.

Install

cargo add tnetstring

Why?

While there exists a library for parsing TNetStrings in Rust, it doesn't compile on latest and isn't available through Cargo. It also lacks serde support.

Prior Art

Dev

cargo test

cargo fmt
cargo clippy -- -Dwarnings

cargo publish

TODO

  • serde support for f32 and f64

Dependencies

~0.4–1MB
~24K SLoC