aboutsummaryrefslogtreecommitdiffstats
path: root/src/sqlite.rs
diff options
context:
space:
mode:
authorTeddy Wing2022-03-19 20:41:31 +0100
committerTeddy Wing2022-03-19 20:41:31 +0100
commit78358c6f9e084b27a5fc513095a972c6b0e3361a (patch)
treec2d08284fec9978dff5c9376da52d95bafd61cac /src/sqlite.rs
parentc75a82361cb3566d196a1fb930ea4833f40b0ffd (diff)
downloadyaqlite-78358c6f9e084b27a5fc513095a972c6b0e3361a.tar.bz2
main: Write YAML to standard output
Create an adapter from `std::fmt::Write` to `std::io::Write` based on the following idea in the standard library: https://github.com/rust-lang/rust/blob/master/library/std/src/io/mod.rs#L1634-L1652 Since `yaml_rust::YamlEmitter::new()` requires a `std::fmt::Write`, adapt standard output so the emitter can write to it.
Diffstat (limited to 'src/sqlite.rs')
0 files changed, 0 insertions, 0 deletions