This crate provides a basic proc-macro for converting a Deb822Paragraph into a Rust struct and vice versa.
You probably want to use the deb822_lossless
crate instead,
with the derive
feature enabled.
Example
use Deb822;
let paragraph: Deb822Paragraph = "field1: value1\nfield2: value2".parse.unwrap;
let foo: Foo = paragraph.into;