yaml-rust icon indicating copy to clipboard operation
yaml-rust copied to clipboard

Why does the emitter expect a std::fmt::Write instead of an std::io::Write?

Open carsonmyers opened this issue 9 years ago • 2 comments

It seems like it'd be useful to emit to an open file or socket, but it seems like fmt::Write is rather limited

carsonmyers avatar Sep 23 '16 20:09 carsonmyers

Thanks. The emitter is designed for debug purpose in the first place. Yes, I think we should add support for io::Write.

chyh1990 avatar Sep 26 '16 03:09 chyh1990

Is there any interest in a PR for this? I see that there is a lot of outstanding PRs, so I wonder how active this repo is.

mkindahl avatar Feb 26 '20 20:02 mkindahl