dtolnay / serde-yaml

Strongly typed YAML library for Rust
Apache License 2.0
964 stars 164 forks source link

Remove serde_yaml::to_vec #291

Closed dtolnay closed 2 years ago

dtolnay commented 2 years ago

I don't know of this being useful. Directly use to_writer instead if you need bytes for I/O, or use to_string + https://doc.rust-lang.org/std/string/struct.String.html#method.into_bytes if you really need the Vec<u8>.